Entering edit mode
12.7 years ago
Torque_Cloud
•
0
I have a fasta file that contains sequences like so :
>PT_TAC_1
ATGCATGCATGC
>PT_TAC_2
ATGCATCGATCG
Following BLASTx, i obtained blast results in tabular format. The Sequence ID is in one column and the corresponding description is in the other, like so :
ID Description
PT_TAC_1 Some_unique_description
How do i merge the description so as to result in a fasta file containing :
>PT_TAC_1_some_unique_description
ATGCATGCATGC
had a look at BioPerl? It's much more safe to parse Blast output with it than using using your home-brewed scripts.
I think that this question would be more succesfull on http://stackoverflow.com/, as it is directly linked to programming.
As I keep saying...please preview questions as you type them, to help with correct formatting. This is especially important with FASTA format because the ">" does not display in the question unless formatted properly (with 4 leading spaces). Thanks.