Hi there!

Can anyone help in answering how to split single .txt file with multiple fasta sequences into multiple files containing each of the fasta sequence?

Thank you for your time and help!
using awk

    awk '/^>/ {if(x>0) close(outname); x++; outname=sprintf("_%d.fa",x); print > outname;next;} {if(x>0) print >> outname;}' *.fasta