Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • elfuser
    Member
    • Dec 2009
    • 16

    #1

    Understanding coverage in VCF

    Hello and sorry if this question has been asked before or it is super obvious.
    I'm having a bit of a hard time finding out what the numbers mean in the vcf pileup.
    I created an alignment BAM file of my illumina paired-end reads to a bacterial genome using the following:

    Code:
    bwa aln ref.fa r1.fq > r1.sai
    bwa aln ref.fa r2.fq > r2.sai
    bwa sampe ref.fa r1.sai r2.sai r1.fq r2.fq > aln.sam
    samtools view -bS aln.sam > aln.bam
    Then I create the pileup with
    Code:
    samtools mpileup -uf aln.bam > pile.bcf
    bcftools view pile.bcf > pile.vcf
    I also create a depth file with
    Code:
    samtools depth aln.bam > depth.txt
    Let's take position 214 in the reference genome
    In the vcf
    Code:
    gi|218888746|ref|NC_011770.1|	214	.	G	C	202	.	DP=45;AF1=1;AC1=2;DP4=0,0,25,13;MQ=55;FQ=-141	GT:PL:GQ	1/1:235,114,0:99
    In the depth
    Code:
    gi|218888746|ref|NC_011770.1|	214	53
    I understand that the DP(45) value in the vcf file refers to the raw coverage of the given position with high quality(q13?). An that the coverage number in the depth file (53) refers to the number of bases called at that given position regardless of quality and/or conflict. I also understand that the DP4 values (0,0,25,13) reflect if the reads that cover that position match the reference or an alternative variant. In this case 38 (25+13) high quality reads match the alternative variant and 0 the reference. If this is right what happened to the other 7 (45-38) high quality reads that cover that position.

    Another doubt I have is when I find multiple genotypes at a position. For example:
    In the VCF
    Code:
    gi|218888746|ref|NC_011770.1|	3081	.	C	T,G	213	.	DP=70;AF1=1;AC1=2;DP4=0,0,31,32;MQ=50;FQ=-214	GT:PL:GQ	1/1:246,187,0,247,170,244:99
    My understanding is that in this case that 63 reads support either a T or a G at this position. So what I am trying to understand is how I can tell the support for each genotype. I tried looking at the GT:PL:GQ, but I dont quite understand it.
    Thanks!

Latest Articles

Collapse

  • SEQadmin2
    Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
    by SEQadmin2



    CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

    Despite this, “CRISPR helped turn genome editing from a specialized technique into
    ...
    Yesterday, 11:01 AM
  • SEQadmin2
    Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
    by SEQadmin2


    Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

    The systematic characterization of the human proteome has
    ...
    07-20-2026, 11:48 AM
  • SEQadmin2
    Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
    by SEQadmin2



    Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
    ...
    07-09-2026, 11:10 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, Yesterday, 02:55 AM
0 responses
9 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 07-24-2026, 12:17 PM
0 responses
12 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 07-23-2026, 11:41 AM
0 responses
12 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 07-20-2026, 11:10 AM
0 responses
24 views
0 reactions
Last Post SEQadmin2  
Working...