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

      • kinpict.com
        Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by kinpict.com
        The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
        Today, 06:37 PM
      • 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-12-2026, 07:59 AM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-05-2026, 09:25 AM
      0 responses
      35 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-03-2026, 11:54 AM
      2 responses
      56 views
      0 reactions
      Last Post kinpict.com  
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      175 views
      0 reactions
      Last Post SEQadmin2  
      Working...