Notice:
If you happen to see a question you know the answer to, please do chime in and help your fellow community members. We encourage our fourm members to be more involved, jump in and help out your fellow researchers with their questions. GATK forum is a community forum and helping each other with using GATK tools and research is the cornerstone of our success as a genomics research community.We appreciate your help!

Test-drive the GATK tools and Best Practices pipelines on Terra


Check out this blog post to learn how you can get started with GATK and try out the pipelines in preconfigured workspaces (with a user-friendly interface!) without having to install anything.

DepthOfCoverage fails with java.lang.ArithmeticException: / by zero

AsmaAsma Member, Broadie

I get the following error while executing DepthOfCoverage:

Arguments: -T DepthOfCoverage -R /seq/regev_genome_portal/RESOURCES/human/Hg19/Hg19.fa -I /broad/hptmp/bankapur/RNASEQC_STAR/Aligned.sortedByCoord.out.bam.wrg.bam.resorted.bam.dups_marked.bam -o /broad/hptmp/bankapur/RNASEQC_STAR/sample/highexpr//perBaseDoC.out -L /broad/hptmp/bankapur/RNASEQC_STAR/sample/highexpr/intervals.list -l ERROR
Arguments Array: [-T, DepthOfCoverage, -R, /seq/regev_genome_portal/RESOURCES/human/Hg19/Hg19.fa, -I, /broad/hptmp/bankapur/RNASEQC_STAR/Aligned.sortedByCoord.out.bam.wrg.bam.resorted.bam.dups_marked.bam, -o, /broad/hptmp/bankapur/RNASEQC_STAR/sample/highexpr//perBaseDoC.out, -L, /broad/hptmp/bankapur/RNASEQC_STAR/sample/highexpr/intervals.list, -l, ERROR]
GATK command result code: 0
Depth of Coverage run time: 0 min
... GATK Depth of Coverage Analysis DONE
Loading transcripts
Splitting intervals into transcript-oriented DoC files
Indexing DoC result file: /broad/hptmp/bankapur/RNASEQC_STAR/sample/lowexpr//perBaseDoC.out: 0 s
Finding DoC results per transcript
DoC Results by interval have been mapped back to the transcripts: /broad/hptmp/bankapur/RNASEQC_STAR/sample/lowexpr//perBaseDoC.out: 0 s
Mapped intervals back to transcripts: 0 s
java.lang.ArithmeticException: / by zero
at org.broadinstitute.cga.rnaseq.PerBaseDoC.scale(PerBaseDoC.java:236)
at org.broadinstitute.cga.rnaseq.PerBaseDoC.calculateAverageCoverageByNormalizedPosition(PerBaseDoC.java:191)
at org.broadinstitute.cga.rnaseq.PerBaseDoC.interpretAndOutputDoCResults(PerBaseDoC.java:956)
at org.broadinstitute.cga.rnaseq.PerBaseDoC.createReports(PerBaseDoC.java:913)
at org.broadinstitute.cga.rnaseq.PerBaseDoC.createReports(PerBaseDoC.java:905)
at org.broadinstitute.cga.rnaseq.RNASeqMetrics.runMetrics(RNASeqMetrics.java:267)
at org.broadinstitute.cga.rnaseq.RNASeqMetrics.execute(RNASeqMetrics.java:166)
at org.broadinstitute.cga.rnaseq.RNASeqMetrics.main(RNASeqMetrics.java:135)
RNA-SeQC Total Runtime: 2 min

Note, the perBaseDoC.out is empty. What do you think is going wrong here?
Thank you,
Asma

Answers

Sign In or Register to comment.