1. sam => bam 2. sam <= bam 1. fasta => bam 2. fasta <= bam
1. sam => bam# -@:线程 # -b:输出格式为BAM # -S:自动检测输入格式 # -o:输出文件 samtools view -@ 16 -b -S final.sam -o final.bam 2. sam <= bamsamtools view *.bam -O SAM > *.sam 三、fasta <=> bam1. fasta => bam# bam -> fq -> fa bam2fastq --aligned *.bam ...