US Holiday notice: this Thursday and Friday (Nov 25-26) the forum will be unattended. Normal service will resume Monday Nov 29. Happy Thanksgiving!

How do I filter the reads that result in this type of error in some of my intervals?

severinseverin Posts: 5Member
edited December 2012 in Ask the GATK team
org.broadinstitute.sting.utils.exceptions.ReviewedStingException: Only one of refStart or refStop must be < 0, not both (-1, -8)

Here is some information

INFO  20:22:19,446 HelpFormatter - The Genome Analysis Toolkit (GATK) v2.2-16-g9f648cb, Compiled 2012/12/04 03:48:10 
INFO  20:22:19,452 HelpFormatter - Program Args: -T HaplotypeCaller

Thanks

Post edited by Geraldine_VdAuwera on

Best Answer

Answers

  • Geraldine_VdAuweraGeraldine_VdAuwera Posts: 6,682Administrator, GATK Developer admin

    Hi Severin, can you please post the entire stack trace including your commandline?

    Geraldine Van der Auwera, PhD

  • severinseverin Posts: 5Member
    edited December 2012

    Here is everything I have from the output and Error file. I know it occurs in the first interval of the first chromosome.

    Here is my command java -Xmx3072m -XX:+UseParallelOldGC -XX:ParallelGCThreads=4 -XX:GCTimeLimit=50 -XX:GCHeapFreeLimit=10 -Djava.io.tmpdir=/scratch/rcsshoe -cp /data004/software/GIF/GIF/programs/Queue-2.2-16-g9f648cb/Queue.jar org.broadinstitute.sting.gatk.CommandLineGATK -T HaplotypeCaller -I /data006/GIF_2/Client/GATK-64/$3.realign.bam -L /data006/GIF_2/Client/GATK-64/.queue/scatterGather/script-1-sg/temp_01_of_64/scatter.intervals -R /data006/GIF_2/Client/GATK-64/Species.fasta -o /data006/GIF_2/Client/GATK-64/.queue/scatterGather/script-1-sg/temp_01_of_64/$3.realign.queue.vcf -stand_emit_conf 10.0

    In case you are wondering I couldn't get Queue to finish but it did create the split commands and the intervals and output the commands it was trying to run. 63/64 of those commands ran without a problem this one I believe is complaining about some of the reads in the BAM file but I don't know which as I don't understand the error. I saw there was another post on this but its resolution was not clear.

    ERROR stack trace

    org.broadinstitute.sting.utils.exceptions.ReviewedStingException: Only one of refStart or refStop must be < 0, not both (-1, -8) at org.broadinstitute.sting.utils.clipping.ReadClipper.hardClipByReferenceCoordinates(ReadClipper.java:497) at org.broadinstitute.sting.utils.clipping.ReadClipper.hardClipByReferenceCoordinatesLeftTail(ReadClipper.java:154) at org.broadinstitute.sting.utils.clipping.ReadClipper.hardClipToRegion(ReadClipper.java:332) at org.broadinstitute.sting.utils.clipping.ReadClipper.hardClipToRegion(ReadClipper.java:343) at org.broadinstitute.sting.utils.activeregion.ActiveRegion.hardClipToActiveRegion(ActiveRegion.java:50) at org.broadinstitute.sting.gatk.walkers.haplotypecaller.HaplotypeCaller.map(HaplotypeCaller.java:407) at org.broadinstitute.sting.gatk.walkers.haplotypecaller.HaplotypeCaller.map(HaplotypeCaller.java:104) at org.broadinstitute.sting.gatk.traversals.TraverseActiveRegions.processActiveRegion(TraverseActiveRegions.java:249) at org.broadinstitute.sting.gatk.traversals.TraverseActiveRegions.callWalkerMapOnActiveRegions(TraverseActiveRegions.java:204) at org.broadinstitute.sting.gatk.traversals.TraverseActiveRegions.processActiveRegions(TraverseActiveRegions.java:179) at org.broadinstitute.sting.gatk.traversals.TraverseActiveRegions.traverse(TraverseActiveRegions.java:136) at org.broadinstitute.sting.gatk.traversals.TraverseActiveRegions.traverse(TraverseActiveRegions.java:29) at org.broadinstitute.sting.gatk.executive.LinearMicroScheduler.execute(LinearMicroScheduler.java:74) at org.broadinstitute.sting.gatk.GenomeAnalysisEngine.execute(GenomeAnalysisEngine.java:281) at org.broadinstitute.sting.gatk.CommandLineExecutable.execute(CommandLineExecutable.java:113) at org.broadinstitute.sting.commandline.CommandLineProgram.start(CommandLineProgram.java:237) at org.broadinstitute.sting.commandline.CommandLineProgram.start(CommandLineProgram.java:147) at org.broadinstitute.sting.gatk.CommandLineGATK.main(CommandLineGATK.java:94)

    ERROR ------------------------------------------------------------------------------------------
    ERROR A GATK RUNTIME ERROR has occurred (version 2.2-16-g9f648cb):
    ERROR
    ERROR Please visit the wiki to see if this is a known problem
    ERROR If not, please post the error, with stack trace, to the GATK forum
    ERROR Visit our website and forum for extensive documentation and answers to
    ERROR commonly asked questions http://www.broadinstitute.org/gatk
    ERROR
    ERROR MESSAGE: Only one of refStart or refStop must be < 0, not both (-1, -8)
    ERROR ------------------------------------------------------------------------------------------

    :::::::::::::: BATCH_OUTPUT.GATKtest2 :::::::::::::: Warning: no access to tty (Bad file descriptor). Thus no job control in this shell. INFO 20:24:17,417 HelpFormatter - --------------------------------------------------------------------------------- INFO 20:24:17,419 HelpFormatter - The Genome Analysis Toolkit (GATK) v2.2-16-g9f648cb, Compiled 2012/12/04 03:48:10 INFO 20:24:17,420 HelpFormatter - Copyright (c) 2010 The Broad Institute INFO 20:24:17,420 HelpFormatter - For support and documentation go to http://www.broadinstitute.org/gatk INFO 20:24:17,425 HelpFormatter - Program Args: -T HaplotypeCaller -I /data006/GIF_2/Client/GATK-64/lane3alluniq.realign.bam -L /data006/GIF_2/Client/GATK-64/.queue/ scatterGather/script-1-sg/temp_01_of_64/scatter.intervals -R /data006/GIF_2/Client/GATK-64/Species.fasta -o /data006/GIF_2/Client/GATK-64/.queue/scatterGather/script-1-s g/temp_01_of_64/lane3alluniq.realign.queue.vcf -stand_emit_conf 10.0 INFO 20:24:17,425 HelpFormatter - Date/Time: 2012/12/14 20:24:17 INFO 20:24:17,425 HelpFormatter - --------------------------------------------------------------------------------- INFO 20:24:17,425 HelpFormatter - --------------------------------------------------------------------------------- INFO 20:24:17,462 GenomeAnalysisEngine - Strictness is SILENT INFO 20:24:17,903 GenomeAnalysisEngine - Downsampling Settings: Method: BY_SAMPLE Target Coverage: 1000
    INFO 20:24:17,911 SAMDataSource$SAMReaders - Initializing SAMRecords in serial INFO 20:24:17,978 SAMDataSource$SAMReaders - Done initializing BAM readers: total time 0.07 INFO 20:24:18,149 GenomeAnalysisEngine - Processing 15208505 bp from intervals INFO 20:24:18,159 ProgressMeter - [INITIALIZATION COMPLETE; STARTING PROCESSING] INFO 20:24:18,159 ProgressMeter - Location processed.active regions runtime per.1M.active regions completed total.runtime remaining INFO 20:24:32,692 GATKRunReport - Uploaded run statistics report to AWS S3

    Post edited by severin on
  • severinseverin Posts: 5Member

    I have done some follow up and can reproduce the error with -L Chr1:1-1000 but not -L Chr1:2-1000 or any other interval between 2 and 1000 such as Chr 1-100, 900-1000 and others. Is it possible that this has something to do with the Haplotype caller or assembly during the Haplotypecaller?

Sign In or Register to comment.