利用samtools软件将sam文件转换为bam文件

 

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

posted @ 2022-09-23 08:28  小鲨鱼2018  阅读(382)  评论(0编辑  收藏  举报