Hi Pierre,
Thanks for the fast reply. The command you gave worked well, however, it extracting the wrong sequence (I changed the $4 to $7 because I want seq from that column but didn't work, it extracts the seqs from different column. I tried other $column number but still not working.
In .tab file, a few entries in columns before $7 is empty, may be thats causing the problem in extracting the sequences from the column I want? Any suggestion how to solve this (I also tried to upload picture of the data file here but don't know how it works)
Thanks!
If the proposed solution is not working, post the actual lines from your data file, and format as
code.You could also do a simple python script. Something like (untested):