Entering edit mode
3.5 years ago
yaqinguo629
•
0
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!