Last updated 5 years ago
Was this helpful?
samtools view -bq 1 file.bam > unique.bam
#比对上的reads数 samtools view -b -F 4 file.bam > mapped.bam # 减去唯一比对上的就是比对多个位置的
samtools view -b -f 4 file.bam > unmapped.sam
官方文档
SAM文件格式
SAM 文件格式