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.

Error with ClipReads

PrindleMPrindleM University of WashingtonMember

I am trying to perform a -5 clip of bases at the beginning and end of my reads. Here is my command line and error stack. If it matters, I'm on a MacOS 10.7.5. I'd appreciate any help on what could have gone wrong.

$ java -jar -Xmx8g ~/Desktop/bioinformatics/DCS_1.22/programs/GenomeAnalysisTK.jar -T ClipReads -I seq_both_sscs_readgroups.bam -o seq_both_sscs_readgroups_clipped.bam -R /Users/mjpri/Desktop/bioinformatics/DCS_1.22/reference/human_g1k_v37.fasta --cyclesToTrim "1-5,71-75" --clipRepresentation HARDCLIP_BASES --fix_misencoded_quality_scores

INFO 13:02:48,642 HelpFormatter - --------------------------------------------------------------------------------
INFO 13:02:48,645 HelpFormatter - The Genome Analysis Toolkit (GATK) v2.7-4-g6f46d11, Compiled 2013/10/10 17:27:51
INFO 13:02:48,645 HelpFormatter - Copyright (c) 2010 The Broad Institute
INFO 13:02:48,645 HelpFormatter - For support and documentation go to
INFO 13:02:48,651 HelpFormatter - Program Args: -T ClipReads -I seq_both_sscs_readgroups.bam -o seq_both_sscs_readgroups_clipped.bam -R /Users/mjpri/Desktop/bioinformatics/DCS_1.22/reference/human_g1k_v37.fasta --cyclesToTrim 1-5,71-75 --clipRepresentation HARDCLIP_BASES --fix_misencoded_quality_scores
INFO 13:02:48,651 HelpFormatter - Date/Time: 2013/10/31 13:02:48
INFO 13:02:48,651 HelpFormatter - --------------------------------------------------------------------------------
INFO 13:02:48,652 HelpFormatter - --------------------------------------------------------------------------------
INFO 13:02:49,828 GenomeAnalysisEngine - Strictness is SILENT
INFO 13:02:50,012 GenomeAnalysisEngine - Downsampling Settings: No downsampling
INFO 13:02:50,022 SAMDataSource$SAMReaders - Initializing SAMRecords in serial
INFO 13:02:50,042 SAMDataSource$SAMReaders - Done initializing BAM readers: total time 0.02
INFO 13:02:50,137 GenomeAnalysisEngine - Preparing for traversal over 1 BAM files
INFO 13:02:50,143 GenomeAnalysisEngine - Done preparing for traversal
INFO 13:02:50,143 ProgressMeter - Location processed.reads runtime per.1M.reads completed total.runtime remaining
INFO 13:02:50,145 ClipReads - Creating cycle clipper 0-4
INFO 13:02:50,146 ClipReads - Creating cycle clipper 70-74
INFO 13:02:50,147 ReadShardBalancer$1 - Loading BAM index data
INFO 13:02:50,149 ReadShardBalancer$1 - Done loading BAM index data
INFO 13:03:20,319 ProgressMeter - 19:50921238 3.09e+05 30.0 s 97.0 s 87.4% 34.0 s 4.0 s
INFO 13:03:52,261 ProgressMeter - GL000192.1:73364 3.85e+05 61.0 s 2.7 m 100.0% 61.0 s 0.0 s
INFO 13:04:31,643 ProgressMeter - GL000192.1:73364 3.85e+05 101.0 s 4.4 m 100.0% 101.0 s 0.0 s
INFO 13:04:36,623 GATKRunReport - Uploaded run statistics report to AWS S3

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

at java.util.TimSort.countRunAndMakeAscending(
at java.util.TimSort.sort(
at java.util.Arrays.sort(
at net.sf.samtools.util.SortingCollection$InMemoryIterator.(
at net.sf.samtools.util.SortingCollection.iterator(
at net.sf.samtools.util.SortingCollection.iterator(
at net.sf.samtools.SAMFileWriterImpl.close(
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.7-4-g6f46d11):
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)
ERROR ------------------------------------------------------------------------------------------


Sign In or Register to comment.