Question: Out Of Disk Space with Picard's FastqtoSam Tools from Galaxy
gravatar for mainulhossain
10 months ago by
mainulhossain0 wrote:

Hi, I am trying to use FastqToSam tool from Picard toolshed. But I keep getting the following exception:

Fatal error: Exit code 1 () Picked up _JAVA_OPTIONS: -Xmx2048m -Xms256m Exception in thread "main" htsjdk.samtools.util.RuntimeIOException: No space left on device at htsjdk.samtools.util.SortingCollection.spillToDisk(SortingCollect

Though I have enough space on the disk. It seems some people have the same problem using Picard tools directly e.g.

The problem was that the temp directory was filled up. The suggested solution was to make a folder called tmp in the current directory (mkdir tmp) and then run picard like this:

java -Xmx2g -jar SortSam.jar SORT_ORDER=coordinate INPUT=input.bam OUTPUT=output.sort TMP_DIR=pwd/tmp

Now my question is how can I implement the same solution in galaxy.

Many thanks.

samtools galaxy picard • 478 views
ADD COMMENTlink modified 9 months ago by Bjoern Gruening5.1k • written 10 months ago by mainulhossain0

Try to find the tool xml file and add the setting manually, you don't need to create the tmp folder though. The tool xml file is located somewhere in the shed_tools folder.

ADD REPLYlink modified 10 months ago • written 10 months ago by oskar10
gravatar for Bjoern Gruening
9 months ago by
Bjoern Gruening5.1k
Bjoern Gruening5.1k wrote:

I think a better way is to set this as part of the job_conf and point it to a fast, local, big scratch space. For example you can export _JAVA_OPTIONS=" -XX:MaxPermSize=2G -Xmx8G -Xms1G" or set it as variable in your job_conf.xml file like here .

Hope that helps, Bjoern

ADD COMMENTlink modified 9 months ago • written 9 months ago by Bjoern Gruening5.1k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 127 users visited in the last hour