Unconfigured Ad

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

    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
              Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
              by SEQadmin2



              Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
              ...
              07-09-2026, 11:10 AM
            • SEQadmin2
              Cancer Drug Resistance: The Lingering Barrier to Rising Survival
              by SEQadmin2



              Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

              There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
              07-08-2026, 05:17 AM
            • GATTACAT
              Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
              by GATTACAT
              Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
              07-01-2026, 11:43 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 07-09-2026, 10:04 AM
            0 responses
            24 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-08-2026, 10:08 AM
            0 responses
            15 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-07-2026, 11:05 AM
            0 responses
            33 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-02-2026, 11:08 AM
            0 responses
            31 views
            0 reactions
            Last Post SEQadmin2  
            Working...