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
        Non-Coding RNA Research and Technologies
        by seqadmin




        Non-coding RNAs (ncRNAs) do not code for proteins but play important roles in numerous cellular processes including gene silencing, developmental pathways, and more. There are numerous types including microRNA (miRNA), long ncRNA (lncRNA), circular RNA (circRNA), and more. In this article, we discuss innovative ncRNA research and explore recent technological advancements that improve the study of ncRNAs.

        Nobel Prize for MicroRNA Discovery
        This week,...
        10-07-2024, 08:07 AM
      • seqadmin
        Recent Developments in Metagenomics
        by seqadmin





        Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
        09-23-2024, 06:35 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 10-11-2024, 06:55 AM
      0 responses
      11 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 10-02-2024, 04:51 AM
      0 responses
      109 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 10-01-2024, 07:10 AM
      0 responses
      114 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 09-30-2024, 08:33 AM
      1 response
      119 views
      0 likes
      Last Post EmiTom
      by EmiTom
       
      Working...
      X