Wire post by BioStar

By BioStar 1735 days ago
Split the #multifasta to #singlefasta awk '$0 ~ "^>" { match($1, /^>([^:]+)/, id); filename=id[1]} {print >> filename".fa"}' input.fa