The current GATK version is 3.8-0
Examples: Monday, today, last week, Mar 26, 3/26/04

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Get notifications!

You can opt in to receive email notifications, for example when your questions get answered or when there are new announcements, by following the instructions given here.

Got a problem?

1. Search using the upper-right search box, e.g. using the error message.
2. Try the latest version of tools.
3. Include tool and Java versions.
4. Tell us whether you are following GATK Best Practices.
5. Include relevant details, e.g. platform, DNA- or RNA-Seq, WES (+capture kit) or WGS (PCR-free or PCR+), paired- or single-end, read length, expected average coverage, somatic data, etc.
6. For tool errors, include the error stacktrace as well as the exact command.
7. For format issues, include the result of running ValidateSamFile for BAMs or ValidateVariants for VCFs.
8. For weird results, include an illustrative example, e.g. attach IGV screenshots according to Article#5484.
9. For a seeming variant that is uncalled, include results of following Article#1235.

Did we ask for a bug report?

Then follow instructions in Article#1894.

Formatting tip!

Wrap blocks of code, error messages and BAM/VCF snippets--especially content with hashes (#)--with lines with three backticks ( ``` ) each to make a code block as demonstrated here.

Jump to another community
Download the latest Picard release at
GATK version 4.beta.3 (i.e. the third beta release) is out. See the GATK4 beta page for download and details.

ArrayIndexOutOfBoundsException in HaplotypeCaller

Command was:
java -Xmx4g -jar GenomeAnalysisTK.jar -T HaplotypeCaller -R ref.fasta -I sample1.cleaned.sorted.rmdup.realigned.bam -o sample1.haplo.vcf

UnifiedGenotyper works with the same input

pao205@bio-masago:~/tmp/indel$ gatk -T HaplotypeCaller -R ramorum1.fasta -I 12475.cleaned.sorted.rmdup.realigned.bam -o 12475.haplo.vcf
INFO 16:55:17,314 HelpFormatter - --------------------------------------------------------------------------------
INFO 16:55:17,317 HelpFormatter - The Genome Analysis Toolkit (GATK) v2.4-7-g5e89f01, Compiled 2013/03/06 01:01:28
INFO 16:55:17,318 HelpFormatter - Copyright (c) 2010 The Broad Institute
INFO 16:55:17,318 HelpFormatter - For support and documentation go to
INFO 16:55:17,323 HelpFormatter - Program Args: -T HaplotypeCaller -R ramorum1.fasta -I 12475.cleaned.sorted.rmdup.realigned.bam -o 12475.haplo.vcf
INFO 16:55:17,324 HelpFormatter - Date/Time: 2013/03/13 16:55:17
INFO 16:55:17,324 HelpFormatter - --------------------------------------------------------------------------------
INFO 16:55:17,324 HelpFormatter - --------------------------------------------------------------------------------
INFO 16:55:17,409 GenomeAnalysisEngine - Strictness is SILENT
INFO 16:55:17,935 GenomeAnalysisEngine - Downsampling Settings: Method: BY_SAMPLE, Target Coverage: 250
INFO 16:55:17,944 SAMDataSource$SAMReaders - Initializing SAMRecords in serial
INFO 16:55:18,041 SAMDataSource$SAMReaders - Done initializing BAM readers: total time 0.09
INFO 16:55:18,785 GenomeAnalysisEngine - Creating shard strategy for 1 BAM files
INFO 16:55:18,834 GenomeAnalysisEngine - Done creating shard strategy
INFO 16:55:18,834 ProgressMeter - Location regions runtime regions completed total.runtime remaining
INFO 16:55:48,838 ProgressMeter - scaffold_1:36910 1.64e+04 30.0 s 30.5 m 0.1% 15.0 h 15.0 h
INFO 16:56:48,839 ProgressMeter - scaffold_1:53293 4.92e+04 90.0 s 30.5 m 0.1% 31.3 h 31.2 h
INFO 21:54:49,518 ProgressMeter - scaffold_11:611973 9.37e+06 5.0 h 32.0 m 14.1% 35.5 h 30.5 h
INFO 21:55:49,636 ProgressMeter - scaffold_12:400 9.46e+06 5.0 h 31.8 m 14.2% 35.3 h 30.3 h
INFO 21:56:38,764 GATKRunReport - Uploaded run statistics report to AWS S3

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

java.lang.ArrayIndexOutOfBoundsException: -1
at org.broadinstitute.sting.gatk.walkers.haplotypecaller.GenotypingEngine.generateVCsFromAlignment(
at org.broadinstitute.sting.gatk.walkers.haplotypecaller.GenotypingEngine.assignGenotypeLikelihoods(
at org.broadinstitute.sting.gatk.traversals.TraverseActiveRegions.processActiveRegion(
at org.broadinstitute.sting.gatk.traversals.TraverseActiveRegions.processActiveRegions(
at org.broadinstitute.sting.gatk.traversals.TraverseActiveRegions.traverse(
at org.broadinstitute.sting.gatk.traversals.TraverseActiveRegions.traverse(
at org.broadinstitute.sting.gatk.executive.LinearMicroScheduler.execute(
at org.broadinstitute.sting.gatk.GenomeAnalysisEngine.execute(
at org.broadinstitute.sting.gatk.CommandLineExecutable.execute(
at org.broadinstitute.sting.commandline.CommandLineProgram.start(
at org.broadinstitute.sting.commandline.CommandLineProgram.start(
at org.broadinstitute.sting.gatk.CommandLineGATK.main(

ERROR ------------------------------------------------------------------------------------------
ERROR A GATK RUNTIME ERROR has occurred (version 2.4-7-g5e89f01):
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

Best Answer


Sign In or Register to comment.