Entering edit mode
8.1 years ago
fongsiongshawn
•
0
Pls help, anyone know how to extract multiple header from a fasta file using perl?
Pls help, anyone know how to extract multiple header from a fasta file using perl?
If you want all of the header lines, you can just use linux:
grep '^>' sequences.fasta > headers.txt
Not perl, but maybe a much simpler way: Create a blast db of your fasta file and use blastdbcmd.
Explained here
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Dear fongsiongshawn, Hi
Is there any help here for you?
~ Best
what have you tried ? show us the code
It's good that you've to this forum to ask, but in many cases, try upgrade your googling skill. Your exact question has been answered in the thread mentioned by Farbod