I have sequences in tab-delimited format as follows:
GGCGGATGTAGCCACGTGGATC 35 12
AGCTGCTGTAGGGTATGGCGAGCC 1 1
TGGATAATGGACGAGTACCGCCTG 14 5
......
I need a perl script that extracts the 1st column (i.e. sequence) and output as follows in the out file:
>seq_1
GGCGGATGTAGCCACGTGGATC
>seq_2
AGCTGCTGTAGGGTATGGCGAGCC
>seq_3
TGGATAATGGACGAGTACCGCCTG
......
Could anybody help me make that? Thanks a lot!
What have you tried? Also, try not to create tags simply by splitting sentences into words. "to" is not a useful tag.
Thanks for your suggestion.