Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • north_zeb
    Junior Member
    • Sep 2012
    • 9

    #1

    VCF file - 'X' bases in the ALT position and QUAL = 0 . Why ?

    I am completely new to samtools pileup and bcftools. I hope to stumble here on someone more knowledgeable than me !

    So i have two alignments and a reference genome and here is how i use the samtools command:

    samtools mpileup -d 200 -D -B -f ../hg19_bt2/hg19-bt2-index.fa -b bamlist.txt -u | bcftools view - -v -c -g > variants.vcf

    By doing this i would like to call variants only and call genotypes as well.

    The command is still running but when i am having a look at my result file i don't quite like what i see:

    Code:
    #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  gcancer.srtd.reh.ddup.bam       normal.srtd.reh.ddup.bam
    chr1    10001   .       T       C,X     0       .       DP=3;I16=2,0,0,1,75,2813,17,289,1,1,1,1,0,0,0,0 PL:DP   0,0,0,0,0,0:0   0,3,3,6,6,4:3
    chr1    10002   .       A       X       0       .       DP=4;I16=3,1,0,0,133,4657,0,0,2,2,0,0,3,3,0,0   PL:DP   0,0,0:0 0,12,13:4
    chr1    10003   .       A       X       0       .       DP=5;I16=4,0,0,0,151,5701,0,0,1,1,0,0,5,9,0,0   PL:DP   0,3,4:1 0,9,9:3
    chr1    10004   .       C       X       0       .       DP=5;I16=4,0,0,0,150,5626,0,0,1,1,0,0,9,23,0,0  PL:DP   0,3,4:1 0,9,9:3
    chr1    10005   .       C       X       0       .       DP=5;I16=4,1,0,0,180,6542,0,0,2,2,0,0,17,61,0,0 PL:DP   0,3,4:1 0,12,13:4
    -> First of all, i see that each base per chr is shown. Haven't i asked to get the potential variant sites only ? (-v)
    -> I don't get these 'X's at the ALT position. If there is no variant, why just not omit the position?
    -> Then, i'm absolutely lost why my QUAL is 0. All the time, everywhere in this vcf file. What am i missing ?
    -> Then, in the genotype fields, i get these comma separated PL which i read is (PL : the phred-scaled genotype likelihoods rounded to the closest integer (and otherwise defined precisely as the GL field) (Integers)) but why there are several and not just one for each of the two samples?
    -> And then why the DP in INFO does not equal to the DP in the genotypes ? For example, in the third row, DP=5 in INFO but it is 1 and 3 respectively for each of the 2 samples ?

    Thank you in advance guys !
  • danwiththeplan
    Member
    • Sep 2011
    • 72

    #2
    I am also getting an X in a variant position with QUAL=0, this also causes the VCF file to fail when loading into IGV... can anyone explain this?

    Comment

    • sunnycqcn
      Member
      • Apr 2013
      • 17

      #3
      Did you find why it is?
      I have same question.

      Comment

      • sunnycqcn
        Member
        • Apr 2013
        • 17

        #4
        Hi Sir,
        Did you find why it is now? I have same problem.
        Could you tell me how to do?
        Thanks,











        Originally posted by north_zeb View Post
        I am completely new to samtools pileup and bcftools. I hope to stumble here on someone more knowledgeable than me !

        So i have two alignments and a reference genome and here is how i use the samtools command:

        samtools mpileup -d 200 -D -B -f ../hg19_bt2/hg19-bt2-index.fa -b bamlist.txt -u | bcftools view - -v -c -g > variants.vcf

        By doing this i would like to call variants only and call genotypes as well.

        The command is still running but when i am having a look at my result file i don't quite like what i see:

        Code:
        #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  gcancer.srtd.reh.ddup.bam       normal.srtd.reh.ddup.bam
        chr1    10001   .       T       C,X     0       .       DP=3;I16=2,0,0,1,75,2813,17,289,1,1,1,1,0,0,0,0 PL:DP   0,0,0,0,0,0:0   0,3,3,6,6,4:3
        chr1    10002   .       A       X       0       .       DP=4;I16=3,1,0,0,133,4657,0,0,2,2,0,0,3,3,0,0   PL:DP   0,0,0:0 0,12,13:4
        chr1    10003   .       A       X       0       .       DP=5;I16=4,0,0,0,151,5701,0,0,1,1,0,0,5,9,0,0   PL:DP   0,3,4:1 0,9,9:3
        chr1    10004   .       C       X       0       .       DP=5;I16=4,0,0,0,150,5626,0,0,1,1,0,0,9,23,0,0  PL:DP   0,3,4:1 0,9,9:3
        chr1    10005   .       C       X       0       .       DP=5;I16=4,1,0,0,180,6542,0,0,2,2,0,0,17,61,0,0 PL:DP   0,3,4:1 0,12,13:4
        -> First of all, i see that each base per chr is shown. Haven't i asked to get the potential variant sites only ? (-v)
        -> I don't get these 'X's at the ALT position. If there is no variant, why just not omit the position?
        -> Then, i'm absolutely lost why my QUAL is 0. All the time, everywhere in this vcf file. What am i missing ?
        -> Then, in the genotype fields, i get these comma separated PL which i read is (PL : the phred-scaled genotype likelihoods rounded to the closest integer (and otherwise defined precisely as the GL field) (Integers)) but why there are several and not just one for each of the two samples?
        -> And then why the DP in INFO does not equal to the DP in the genotypes ? For example, in the third row, DP=5 in INFO but it is 1 and 3 respectively for each of the 2 samples ?

        Thank you in advance guys !

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
          by SEQadmin2



          Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

          Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
          ...
          10-14-2026, 09:55 AM
        • SEQadmin2
          New Genomics Technologies Take Aim at Long-Standing Limits
          by SEQadmin2


          Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

          We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
          ...
          09-28-2026, 10:25 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        25 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        31 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-13-2026, 09:56 AM
        0 responses
        27 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-09-2026, 11:14 AM
        0 responses
        28 views
        0 reactions
        Last Post SEQadmin2  
        Working...