how to convert a big fasta file into several smaller one
Hi, everyone. I have a big fasta file as below:
>OTU1
ATCGAATTCGATCGAATTCG
>OTU2
TTCGAATTCGCCATATCGAATTCG
...
>OTU800
ATCGAATTCGATCGAATTCGATCGAATTCG
I want to put each sequence into the fasta file, like this:
OTU1.fasta
OTU2.fasta
...
OTU800.fasta
Can anyone help me with this? I prefer to use AWK script. Thanks in advance!
• 375 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Hello yaqinguo629!
Questions similar to yours can already be found at:
We have closed your question to allow us to keep similar content in the same thread.
If you disagree with this please tell us why in a reply below. We'll be happy to talk about it.
Cheers!