I'm trying to get consensus sequence from sam file according to the instruction from samtools website as below.
samtools pileup -cf ref.fa aln.bam | samtools.pl pileup2fq -D100 > cns.fastq
However, there is actually no samtools.pl. Is there any way I could get the consensus sequence from sam file?
Thanks
samtools pileup -cf ref.fa aln.bam | samtools.pl pileup2fq -D100 > cns.fastq
However, there is actually no samtools.pl. Is there any way I could get the consensus sequence from sam file?
Thanks
Comment