More posts like this
-
How to get the ratio of allele counts from GATK derived VCF file?
written by anikcropscience •Hello, I need some suggestions on how to get the allelic counts of the reference and alternate alleles from a GATK derived vcf file. This …
-
Force PLINK2 to neglect chrX as the sex chromosome
written by 8armed •I'd like to run PLINK2 on a vcf file to do linkage pruning, followed by a PCA. The input vcf file is from a non-human …
-
Building reference dbSNP file using WGS samples
written by Bushra BibiDear scientific community, I have to call variants from **WGS samples** of citrus. I used **GATK pipeline for post processing** of aligned reads but reference …
-
bcftools add AD column
written by martina.gallinaro •Hi everyone. I would like to add to the vcf file that I obtained with samtools mpileup the field AD. I did the following command: …
-
Alternative Depth (AD) field in VCF created with samtools mpileup and bcftools call
written by dutoit.ludovic •Hi, we created a VCF file for multiple samples "using samtools mpileup and bcftools call". Those VCF files only have GT and PL field while …
-
Extracting the reads counts (coverage) a specific variant allele from a Fastq file
written by a.jamesHi All, Say, I have a paired-end `fastq` reads from 2 lanes, and `vcf` file with variant allele. These I have generated using the `varsim` …
-
how to genotype given SNP alleles from NGS data using freebayes
written by J.F.JiangHi all, Since GATK HaplotypeCaller takes long time to genotype given SNPs using GGA mode (--alleles), I want to switch to freebayes to get the …
-
Vcf files fields: AD vs DP4
written by RobIn Vcf file, generate by samtools mpileup, there is an AD field (Allelic depth). This field is suppose to replace the previous DP4 field (Number …
-
Problem to index .vcf file to IGV viewer
written by lmmartin •Hello, I'm trying to detect SNPs and Indels in my RNAseq reads. I have mapped the reads to reference (BAM) and I have used Freebayes …
-
Vdb Field In Samtools
written by learnerforever<p>samtools VCF files has a field "VDB" which I believe is "Variant Distance Bias".</p> <p>Does someone know exactly what this is and how to interpret …
Who says you need that field?
Your question needs a lot of context. Please give us that context so we can help you better.
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
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?
yes, you can get it using the new version of bcftools ,
Not sure if this helps, but bcftools documentation says that
FORMAT/DP4has been deprecated in favor ofFORMAT/ADFandFORMAT/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.