How do I call all the variants with BCFTOOLS?
1
0
Entering edit mode
12 months ago

Hello

I am using bcftools to call variants with this command:

bcftools mpileup -B -q30 -Q30 -f reference.fasta -a FORMAT/DP,FORMAT/AD --threads 6 -R list_of_specific_position.txt file.bam | bcftools call -m  -f GQ -O v -o call_variant.vcf

For some specific variants that I am aware of (examining the bam files with Tablet), I do not get variant calls. The depth, for some, is 6 reads per site and yet they are not being called. How can I force bcftools to produce all possible variants, even if they have a low probability?

Thanks for the help

Stefania

bcftools variant-calling • 867 views
ADD COMMENT
0
Entering edit mode
12 months ago
GenoMax 141k

Start by looking at the parameters you are using for mpileup and then for call.

 -q, --min-MQ INT        Skip alignments with mapQ smaller than INT [0]
 -Q, --min-BQ INT        Skip bases with baseQ/BAQ smaller than INT [1]
ADD COMMENT
0
Entering edit mode

Thank you for your response I'm sorry but I hadn't seen this first comment of yours I went to loosen the filters but I get the same result and it leaves me a bit puzzled!

ADD REPLY

Login before adding your answer.

Traffic: 1752 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6