This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Calling chrMT only from BAM

Hi,

Is there a straight forward way to call variants from aligned BAM file only for the mitochondrial chromosome?

Thanks

mt variant calling assembly

Sure, tell the variant caller to only consider that chromosome. For more information, please read the manual of the variant caller. Most variant callers have suh options.

2 answers

I ended up using samtools and bcftools like so:

samtools mpileup -uf human_g1k_v37.fasta sample.bam --region MT | bcftools call -m --ploidy 1  > sample_mt_only.vcf

This puts the entire MT in vcf. If I would supply "-v" parameter to bcftools, it would only store the variants.

samtools --version
samtools 1.7

bcftools --version
bcftools 1.7

We published a caller for mitochondrial ancient DNA but it is suitable for mitochondrial modern DNA as well. For mitochondrial modern DNA the problem is even simpler. The name of the program is endoCaller part of the (schmutzi package)

You can call it as such:

endoCaller    -seq consensus.fa -log consensus.log -name [name sample here] chrMT.fa inputMT.bam

You might want to use the option -qual, this will filter bases according to a PHRED scale. e.g. -qual 50 means the confidence will be 1/100,000.

I guess you have some autocorrect running that changes mitochondrial into modern?

I have editted my post with "mitochondrial modern" and "mitochondrial ancient" to make it clear that I mean mitochondrial. Apologies for the confusion!

Log in to answer this question.