perl -pe ‘/^>/ ? print "\n" : chomp‘ in.fasta | tail -n +2 > out.fasta
参考来源:
http://biotrainee.com/thread-291-1-1.html
多行变单行
原文:https://www.cnblogs.com/bio-mary/p/11986281.html