Hi everyone,
I have BAM files and want to know the base distribution at a given reference position. Samtools view can give my all reads that overlap with the reference position but then I have to parse the cigar strings to get the corresponding base from the read. I tried to get the information from VCF/BCF generated by samtools mpileup but they doesn't contain what I am looking for.
Any suggestions?
Cheers,
Mathias
I have BAM files and want to know the base distribution at a given reference position. Samtools view can give my all reads that overlap with the reference position but then I have to parse the cigar strings to get the corresponding base from the read. I tried to get the information from VCF/BCF generated by samtools mpileup but they doesn't contain what I am looking for.
Any suggestions?
Cheers,
Mathias
Comment