使用awk实现:二代测序文件fastq转换为fasta格式 2019-02-18 本文已影响0人 赵会成 awk '{if(NR%4 == 1){print ">" substr($0, 2)}}{if(NR%4 == 2){print}}' fastq > fasta