Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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


    • #3
      Graham, thanks for the link!

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Current Approaches to Protein Sequencing
        by seqadmin


        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
        04-04-2024, 04:25 PM
      • seqadmin
        Strategies for Sequencing Challenging Samples
        by seqadmin


        Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
        03-22-2024, 06:39 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      31 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      32 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      28 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      53 views
      0 likes
      Last Post seqadmin  
      Working...
      X