error in UnifiedGenotyper

Dear GATK team, I am encountering the following error when running UnifiedGenotyper on the LSF cluster. This error is not consistent and occurs in ~5% of the jobs. When I pick the jobs that failed and re-run them with the same command and input files, they successfully go through. I will greatly appreciate your help.

java -Xmx10g -jar GenomeAnalysisTK.jar -T UnifiedGenotyper -R reference.fa -glm BOTH -o out.vcf -nct 2 -I input.bam

ERROR ------------------------------------------------------------------------------------------
ERROR stack trace

at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.(Unknown Source)
at net.sf.samtools.util.StringUtil.bytesToString(
at net.sf.samtools.BAMRecord.decodeReadName(
at net.sf.samtools.BAMRecord.getReadName(
at net.sf.samtools.BAMRecord.eagerDecode(
at net.sf.samtools.SAMRecord.hashCode(
at org.broadinstitute.sting.utils.sam.GATKSAMRecord.hashCode(
at java.util.HashMap.hash(Unknown Source)
at java.util.HashMap.getEntry(Unknown Source)
at java.util.HashMap.containsKey(Unknown Source)
at org.broadinstitute.sting.utils.genotyper.PerReadAlleleLikelihoodMap.containsPileupElement(
at org.broadinstitute.sting.gatk.walkers.indels.PairHMMIndelErrorModel.computeGeneralReadHaplotypeLikelihoods(
at org.broadinstitute.sting.gatk.walkers.indels.PairHMMIndelErrorModel.computeDiploidReadHaplotypeLikelihoods(
at org.broadinstitute.sting.gatk.walkers.genotyper.IndelGenotypeLikelihoodsCalculationModel.getLikelihoods(
at org.broadinstitute.sting.gatk.walkers.genotyper.UnifiedGenotyperEngine.calculateLikelihoods(
at org.broadinstitute.sting.gatk.walkers.genotyper.UnifiedGenotyperEngine.calculateLikelihoodsAndGenotypes(
at org.broadinstitute.sting.gatk.traversals.TraverseLociNano$TraverseLociMap.apply(
at org.broadinstitute.sting.gatk.traversals.TraverseLociNano$TraverseLociMap.apply(
at org.broadinstitute.sting.utils.nanoScheduler.NanoScheduler$
at java.util.concurrent.Executors$ Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)
at Source)

ERROR ------------------------------------------------------------------------------------------
ERROR A GATK RUNTIME ERROR has occurred (version 2.8-1-g932cd3a):
ERROR This might be a bug. Please check the documentation guide to see if this is a known problem.
ERROR If not, please post the error message, with stack trace, to the GATK forum.
ERROR Visit our website and forum for extensive documentation and answers to
ERROR commonly asked questions
ERROR MESSAGE: Code exception (see stack trace for error itself)


  • SheilaSheila Broad InstituteMember, Broadie, Moderator admin



    I see you are using an older version. Please upgrade to the latest version and try again, as this seems like a bug that has been fixed.

    If the latest version does not work, please try your command without the -nct argument.

    Also, you can use Queue to manage the jobs; it will retry failed jobs and save you time and tedious baby-sitting of the cluster jobs.


Sign In or Register to comment.