Code Exception when running UG with multiple threads

vasyavasya Posts: 5Member
edited October 2012 in Ask the GATK team

Hi --

I'm running the UG on a subset of 1000G data (100 samples subset to chr20), and I would love to throw some more threads at the problem. However, using the -nt flag throws the following code exception:

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

java.lang.InternalError at sun.misc.URLClassPath$JarLoader.getResource( at sun.misc.URLClassPath.getResource( at sun.misc.URLClassPath.getResource( at java.lang.ClassLoader.getBootstrapResource( at java.lang.ClassLoader.getResource( at java.lang.ClassLoader.getResource( at java.lang.ClassLoader.getSystemResource( at java.lang.ClassLoader.getSystemResourceAsStream( at java.lang.Class.getResourceAsStream( at$ at Method) at at at at at at at org.simpleframework.xml.core.Persister.write( at org.simpleframework.xml.core.Persister.write( at org.simpleframework.xml.core.Persister.write( at org.broadinstitute.sting.gatk.phonehome.GATKRunReport.postReportToStream( at org.broadinstitute.sting.gatk.phonehome.GATKRunReport.postReportToAWSS3( at org.broadinstitute.sting.gatk.phonehome.GATKRunReport.postReport( at org.broadinstitute.sting.gatk.CommandLineExecutable.generateGATKRunReport( 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( Caused by: /usr/java/jdk1.7.0_03/jre/lib/resources.jar (Too many open files) at Method) at at at java.util.jar.JarFile.( at java.util.jar.JarFile.( at sun.misc.URLClassPath$JarLoader.getJarFile( at sun.misc.URLClassPath$JarLoader.access$600( at sun.misc.URLClassPath$JarLoader$ at sun.misc.URLClassPath$JarLoader$ at Method) at sun.misc.URLClassPath$JarLoader.ensureOpen( at sun.misc.URLClassPath$JarLoader.getResource( ... 27 more

ERROR ------------------------------------------------------------------------------------------
ERROR A GATK RUNTIME ERROR has occurred (version 2.1-13-g1706365):
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
ERROR MESSAGE: Code exception (see stack trace for error itself)
ERROR ------------------------------------------------------------------------------------------

The code is called with the following code. Without the -nt flag it executes normally.

java -jar /userhome/vasya/apps/GenomeAnalysisTK-2.1-13/GenomeAnalysisTK.jar \
    -T UnifiedGenotyper \
    $(echo $bamFiles) \
    -R ${fasta} \
    -nt 2 \
    -o ${ug_vcf_root}

Are there any known issues with the threading options in the UG for GATK2?

Any suggestions for where to look next would be much appreciated! Its hard to know where to start with this.

Post edited by Geraldine_VdAuwera on

Best Answers


Sign In or Register to comment.