FreeBayes :the tag "DP4" is not defined in the VCF header
0
0
Entering edit mode
3.7 years ago
sami ▴ 40

Using FreeBayes i get vcf file without DP4 field!

How can i force DP4 to be present in my vcf.

FreeBayes • 1.3k views
ADD COMMENT
0
Entering edit mode

Who says you need that field?

ADD REPLY
0
Entering edit mode

ADD REPLY
1
Entering edit mode

i ask question , please if you don't have answer , don't write !

Your question needs a lot of context. Please give us that context so we can help you better.

ADD REPLY
0
Entering edit mode

DP4 gives depth of coverage in reverse and foward strain. if there is mutation in fowards but not in reverse , we can't take it. normally , if mutation exist in foward , it must be present also in reverse. We use Depth because we can't filter variant using mapp quality . MAPQ is not a good filter. height value of MAPQ can eliminate some variants implicitly! if you think i can use MAPQ, so how ? if you have annoter filter , so give it to me ! so i would like also to know the main difference between bcftools and FreeBayes. thank you

ADD REPLY
1
Entering edit mode

Most references to DP4 that I can find online are from 4-5 years ago. Are you sure this attribute is still maintained in current VCF spec?

ADD REPLY
0
Entering edit mode

yes, you can get it using the new version of bcftools ,

ADD REPLY
3
Entering edit mode

Not sure if this helps, but bcftools documentation says that FORMAT/DP4 has been deprecated in favor of FORMAT/ADF and FORMAT/ADR.

You may also want to take a look at this thread that discusses this issue - the thread has input from Heng Li (who developed samtoolls) as well as Erik Garrison (developer of Freebayes). You may get some leads from there.

ADD REPLY

Login before adding your answer.

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