Multi-line change a single line

 

 

perl -pe '/^>/ ? print "\n" : chomp' in.fasta | tail -n +2 > out.fasta

 

Reference Source:

http://biotrainee.com/thread-291-1-1.html

Guess you like

Origin www.cnblogs.com/bio-mary/p/11986281.html