Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bjchen
    Junior Member
    • Jan 2012
    • 9

    #1

    GATK: unable to write data to BAM schedule file

    Hi,

    I am trying to use UnifiedGenotyper in GATK, but encountered the following error message (below). Does anyone know how to deal with this? I check my quota on the directory of the bam file and I still have enough space.

    Thanks!

    ps. I do this with multiple jobs on a cluster and some jobs would get stuck with this error messages.


    INFO 17:12:16,425 HelpFormatter - ---------------------------------------------------------------------------------
    INFO 17:12:16,428 HelpFormatter - The Genome Analysis Toolkit (GATK) v1.4-25-g23e7f1b, Compiled 2012/02/08 04:59:00
    INFO 17:12:16,428 HelpFormatter - Copyright (c) 2010 The Broad Institute
    INFO 17:12:16,428 HelpFormatter - Please view our documentation at http://www.broadinstitute.org/gsa/wiki
    INFO 17:12:16,428 HelpFormatter - For support, please view our support site at http://getsatisfaction.com/gsa
    INFO 17:12:16,429 HelpFormatter - Program Args: -T UnifiedGenotyper -glm BOTH -stand_call_conf 30 -stand_emit_conf 30 -R reference/S288Cseq/S288C.fasta -o ./BWA/FP-973-5-4NQO-B.vcf -I ./BWA/FP-973-5-4NQO-B.mdup.realign.bam
    INFO 17:12:16,429 HelpFormatter - Date/Time: 2012/02/12 17:12:16
    INFO 17:12:16,429 HelpFormatter - ---------------------------------------------------------------------------------
    INFO 17:12:16,429 HelpFormatter - ---------------------------------------------------------------------------------
    INFO 17:12:16,458 GenomeAnalysisEngine - Strictness is SILENT
    INFO 17:12:31,572 SAMDataSource$SAMReaders - Initializing SAMRecords in serial
    INFO 17:12:31,588 SAMDataSource$SAMReaders - Done initializing BAM readers: total time 0.02
    ##### ERROR ------------------------------------------------------------------------------------------
    ##### ERROR stack trace
    org.broadinstitute.sting.utils.exceptions.ReviewedStingException: Unable to write data to BAM schedule file.
    at org.broadinstitute.sting.gatk.datasources.reads.BAMSchedule.write(BAMSchedule.java:311)
    at org.broadinstitute.sting.gatk.datasources.reads.BAMSchedule.<init>(BAMSchedule.java:150)
    at org.broadinstitute.sting.gatk.datasources.reads.BAMScheduler.getNextOverlappingBAMScheduleEntry(BAMScheduler.java:263)
    at org.broadinstitute.sting.gatk.datasources.reads.BAMScheduler.advance(BAMScheduler.java:170)
    at org.broadinstitute.sting.gatk.datasources.reads.BAMScheduler.populateFilteredIntervalList(BAMScheduler.java:99)
    at org.broadinstitute.sting.gatk.datasources.reads.BAMScheduler.createOverMappedReads(BAMScheduler.java:62)
    at org.broadinstitute.sting.gatk.datasources.reads.IntervalSharder.shardOverMappedReads(IntervalSharder.java:54)
    at org.broadinstitute.sting.gatk.datasources.reads.SAMDataSource.createShardIteratorOverMappedReads(SAMDataSource.java:1135)
    at org.broadinstitute.sting.gatk.GenomeAnalysisEngine.getShardStrategy(GenomeAnalysisEngine.java:450)
    at org.broadinstitute.sting.gatk.GenomeAnalysisEngine.execute(GenomeAnalysisEngine.java:230)
    at org.broadinstitute.sting.gatk.CommandLineExecutable.execute(CommandLineExecutable.java:122)
    at org.broadinstitute.sting.commandline.CommandLineProgram.start(CommandLineProgram.java:236)
    at org.broadinstitute.sting.commandline.CommandLineProgram.start(CommandLineProgram.java:146)
    at org.broadinstitute.sting.gatk.CommandLineGATK.main(CommandLineGATK.java:90)
    Caused by: java.io.IOException: No space left on device
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.FileDispatcher.write(FileDispatcher.java:57)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:122)
    at sun.nio.ch.IOUtil.write(IOUtil.java:93)
    at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:224)
    at org.broadinstitute.sting.gatk.datasources.reads.BAMSchedule.write(BAMSchedule.java:306)
    ... 13 more
    ##### ERROR ------------------------------------------------------------------------------------------
    ##### ERROR A GATK RUNTIME ERROR has occurred (version 1.4-25-g23e7f1b):
    ##### ERROR
    ##### 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 wiki for extensive documentation http://www.broadinstitute.org/gsa/wiki
    ##### ERROR Visit our forum to view answers to commonly asked questions http://getsatisfaction.com/gsa
    ##### ERROR
    ##### ERROR MESSAGE: Unable to write data to BAM schedule file.
    ##### ERROR ------------------------------------------------------------------------------------------
  • swbarnes2
    Senior Member
    • May 2008
    • 910

    #2
    Doesn't "No space left on device" means pretty much like what it looks like?

    Comment

    • bjchen
      Junior Member
      • Jan 2012
      • 9

      #3
      Uh... I have about 500G on the drive where I have GATK and my bam files. Each of my bam file is only about 1G. So I don't think that drive does not have enough space (please correct me if I am wrong). But I suspect the program utilizes some other drive for temporary files. So I am wondering if there is any way I can get around this.

      Thanks.

      Comment

      • adaptivegenome
        Super Moderator
        • Nov 2009
        • 436

        #4
        This is actually an issue with JVM (if it is true your temp space is located in a spot where there is no free space). Try this:

        java -Djava.io.tmpdir=/temp/ [and then the resets of the command] where /temp is whatever spot you want to write temp files.

        Comment

        • bjchen
          Junior Member
          • Jan 2012
          • 9

          #5
          Setting -Djava.io.tmpdir seems to work! Thanks a lot!!

          Comment

          • Bukowski
            Senior Member
            • Jan 2010
            • 388

            #6
            Originally posted by swbarnes2 View Post
            Doesn't "No space left on device" means pretty much like what it looks like?
            I've also hit this when ulimit is exhausted with GATK, so not always

            Comment

            Latest Articles

            Collapse

            • SEQadmin2
              Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
              by SEQadmin2



              Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

              Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
              ...
              10-14-2026, 09:55 AM
            • SEQadmin2
              New Genomics Technologies Take Aim at Long-Standing Limits
              by SEQadmin2


              Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

              We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
              ...
              09-28-2026, 10:25 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Yesterday, 11:13 AM
            0 responses
            19 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, Yesterday, 10:48 AM
            0 responses
            18 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-15-2026, 10:52 AM
            0 responses
            36 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-14-2026, 05:39 AM
            0 responses
            42 views
            0 reactions
            Last Post SEQadmin2  
            Working...