多行变单行

 

 

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

 

参考来源:

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

猜你喜欢

转载自www.cnblogs.com/bio-mary/p/11986281.html