BAM->SAM
samtools view -h -o out.sam out.bam
SAM->BAM
samtools view -bS out.sam >out.bam
如果没有@SQ
samtools faidx ref.fa
samtools view -bt ref.fa.fai out.sam > out.bam
BAM->SAM
samtools view -h -o out.sam out.bam
SAM->BAM
samtools view -bS out.sam >out.bam
如果没有@SQ
samtools faidx ref.fa
samtools view -bt ref.fa.fai out.sam > out.bam
本文标题:bam转sam
本文链接:https://www.haomeiwen.com/subject/qltldrtx.html
网友评论