samtools view -bS test.sam > test.bam samtools view -b -S test.sam -o test.bam # 自定义线程数 samtools view -@ 50 -bS test.sam >test.bam
来源:https://blog.csdn.net/qq_27390023/article/details/121164168