bcftools variant calling query
1
1
Entering edit mode
5.3 years ago
f1978hp ▴ 30

"During variant calling bcftools compares the average mapping quality of reads supporting a variant with those they don't. If there is a significant difference it will skip this variant. " Are there someone that can explain me how to create a BAM file with the reads that didn't supported the variant calling process in this case?

next-gen sequencing alignment bcftools • 1.1k views
ADD COMMENT
0
Entering edit mode
5.3 years ago

Can you provide the source of the statement?

Anyway, not a direct answer but you can negate this filtering by just filtering out all reads below a certain MAPQ threshold, e.g., MAPQ 60:

samtools view -bq 60 Aligned.bam > Aligned_FiltMAPQ.bam

Then, there cannot be a statistically significant difference (based on MAPQ) between those reads that support a call versus those that don't.

Kevin

ADD COMMENT
0
Entering edit mode

Hi Kevin!

Thanks for your interesting!

The source of the statement is another answer to my query that I was propose later. See the link Command line explain There you will undertand the problem better.

ADD REPLY

Login before adding your answer.

Traffic: 1603 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