Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • allnovels
    Junior Member
    • Jan 2013
    • 1

    #1

    VarScan early halt

    Hi,

    I'm new to VarScan. I was trying to call copynumber from my exome sequencing data.

    My script is
    samtools mpileup -q 1 -f ~/hg19.fa normal.rmdup.bam tumor.rmdup.bam | java -Xmx4g -jar ~/VarScan.v2.3.3.jar copynumber > output --mpileup 1

    It seems to run the first bit of the program and start to generate 2 files
    1. copynumber
    But it halted when it went to
    chrM 16066 16165 100 53.7 89.7 0.740 1.0

    The other file 30.copynumber only has the column name
    chrom chr_start chr_stop num_positions normal_depth tumor_depth log2_ratio gc_content

    Running message is as following:
    [mpileup] 1 samples in 2 input files
    <mpileup> Set max per-file depth to 8000
    Min coverage: 10
    Min avg qual: 15
    P-value thresh: 0.01
    Reading input from STDIN
    Reading mpileup input...
    Parsing Exception on line:
    chrM 16184 C 0 0
    8

    It seems that something happened at the site chrM 16184... But I used my bam files to call SNPs/coverage from gatk and they worked out fine... I didn't know what's wrong...

    Many thanks,
    John
  • dkoboldt
    Member
    • Mar 2009
    • 62

    #2
    John,

    I would restructure your command slightly so that redirecting the output is the last thing you do... VarScan might not be interpreting your "--mpileup 1" :
    samtools mpileup -q 1 -f ~/hg19.fa normal.rmdup.bam tumor.rmdup.bam | java -Xmx4g -jar ~/VarScan.v2.3.3.jar copynumber --mpileup 1 > output

    If this doesn't help, I believe the issue occurs at a position where you have 0x coverage... those usually aren't present in pileup files. Please send me the mpileup lines for chrM from positions 16180- 16190 and I'll take a look.

    Feel free to post here or e-mail to dkoboldt (at) genome [dot] wustl [dot] edu

    Comment

    • lovenlong
      Member
      • Jan 2013
      • 16

      #3
      Hi, all !

      Though this thread had been posted about one year ago, I'd like to share my recent experience in meeting the same error in using Varscan2.
      The causal thing would be the inconsistent of samtools version in generating BAMs and producing mpileup files.
      In my case, input BAMs were generated by samtools-0.1.18 in weeks ago, while now the samtools version in my PATH is 0.1.19, and the error arised if I don't specify to use the samtools-0.1.18 in generating pileup file.

      Thanks a bunch!

      Comment

      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
        ...
        07-31-2026, 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

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 08-06-2026, 07:41 AM
      0 responses
      16 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-03-2026, 10:13 AM
      0 responses
      33 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-31-2026, 02:55 AM
      0 responses
      42 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-24-2026, 12:17 PM
      0 responses
      26 views
      0 reactions
      Last Post SEQadmin2  
      Working...