linux生信常用命令记录,持续更新中 fasta文件多行拼成一行给文件拆分时添加特定后缀 fasta文件多行拼成一行 awk '/^>/{print n $1; n="\n"} !/^>/{printf "%s",$0}' Solanum_lycopersicum.SL3.0.dna.toplevel.fa > tomato_format.txt 给文件拆分时添加特定后缀 split -l 2000 tomato_primer_info.tsv --additional-suffix=.tsv sp