Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Graham Etherington
    Member
    • Apr 2010
    • 22

    #1

    VarScan mpileup2snp --p-value affects genotype call

    Hi,
    I'm using VarScan.v2.3.2 to analyse genotypes of susceptible and resistant plants. Sample1 is susceptible and Sample2 is resistant to a given pathogen.
    I've noticed that when using mpileup2snp, changing the --p-value can change both the genotype call and the genotype quality.
    I've included the command line and output of one of many positions where this happens VCF output followed by non-VCF output.
    Command line 1 using --p-value 0.01:
    Code:
    java -jar VarScan.v2.3.2.jar mpileup2snp in.pileup --min-coverage 8 --min-reads2 2 --min-var-freq 0.01 --min-avg-qual 15 [B]--p-value 0.01[/B] --strand-filter 0 --output-vcf --variants 0 > out_p0.01.vcf
    VCF Output:
    chr01 2827 . A G . PASS ADP=57;WT=1;HET=1;HOM=0;NC=0 GT:GQ:SDPP:RD:AD:FREQ:PVAL:RBQ:ABQ:RDF:RDR:ADF:ADR 0/0:4:57:48:43:5:10.42%:2.8014E-2:37:24:20:23:5:0 0/1:4:85:67:53:14:20.9%:2.8637E-5:37:19:29:24:12:2

    Tab-delim output
    chr01 2827 A G R:115:96:19:16.52%:8.4889E-7 Pass:29:24:12:2:1E0 1 1 0 0 A:48:43:5:10.42%:2.8014E-2 R:67:53:14:20.9%:2.8637E-5

    Command line 2 using --p-value 0.05:
    Code:
    java -jar VarScan.v2.3.2.jar mpileup2snp in.pileup --min-coverage 8 --min-reads2 2 --min-var-freq 0.01 --min-avg-qual 15 [B]--p-value 0.05[/B] --strand-filter 0 --output-vcf --variants 0 > out_p0.05.vcf
    VCF Output:
    chr01 2827 . A G . PASS ADP=57;WT=0;HET=2;HOM=0;NC=0 GT:GQ:SDPP:RD:AD:FREQ:PVAL:RBQ:ABQ:RDF:RDR:ADF:ADR 0/1:1:57:48:43:5:10.42%:2.8014E-2:37:24:20:23:5:0 0/1:4:85:67:53:14:20.9%:2.8637E-5:37:19:29:24:12:2

    Tab-delim output
    chr01 2827 A G R:115:96:19:16.52%:8.4889E-7 Pass:49:47:17:2:1E0 0 2 0 0 R:48:43:5:10.42%:2.8014E-2 R:67:53:14:20.9%:2.8637E-5

    Here is the MPileup for that position:
    chr01 2827 a 57 ,.,g,.,,,,.,,,,,......,,,,,,,,.GGGGGGGGGGGGG,,,.......... BD<!IIGHIIIIIIIAIGHHBFEHIIBCHHI9+&&*>-&9'<2-G=IHF8IIBI@IH 85 ,,GG,,,,,,,,,g,.,,.,,g,,,,,.,.........gGGGGGGGGGGGGG..........GGGGGGG......ggggg.,,,^2, IH9:IIGHIIG=I!IIDIGGG7IGF;II>GIIHBBGHH0#13427+/&(&41HIIEEDIIIH'*4*<*3HHGID@/'%%&DF#G#


    So, the key differences in the VCF outputs are that the genotype and genotype quality differ with different p-values.
    In the native VarScan tab-delimited output the differences are that StrandFilter, samplesHet/samplesRef, and the consensus genotypes are different.

    So, I guess my question is this - I presumed that the --p-value option was just a filter, filtering out sites that have a FET lower than that provided.
    It appears that the p-value does a lot more than that and influences which bases are included in the genotype calling.
    Could anyone explain what's happening here? Also, how is Genotype Quality (FORMAT=<ID=GQ>) calculated in the VCF file?

    Many thanks,
    Graham
  • Graham Etherington
    Member
    • Apr 2010
    • 22

    #2
    Dan Koboldt has kindly given a full explanation of how the supplied p-value can affect genotype calls and genotype quality calculation at the VarScan Help forum at:

    Comment

    • dkoboldt
      Member
      • Mar 2009
      • 62

      #3
      Graham, thanks for the link!

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        The Factors Reshaping Genome Assembly
        by SEQadmin2



        When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...
        11-24-2026, 07:04 AM
      • SEQadmin2
        16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by SEQadmin2





        NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
        10-30-2026, 06:46 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 11-23-2026, 11:11 AM
      0 responses
      39 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-17-2026, 06:27 AM
      0 responses
      47 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-12-2026, 07:59 AM
      0 responses
      68 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-05-2026, 09:25 AM
      0 responses
      68 views
      0 reactions
      Last Post SEQadmin2  
      Working...