Hi Experts,
I am trying to use samtools to remove duplicates and bad reads from a BAM file. I get the following IO error. Does this mean I don't have enough space for output generation?
Exception in thread "main" net.sf.samtools.util.RuntimeIOException: sync failed
at net.sf.samtools.util.BinaryCodec.close(BinaryCodec.java:594)
at net.sf.samtools.util.BlockCompressedOutputStream.close(BlockCompressedOutputStream.java:178)
at java.io.FilterOutputStream.close(FilterOutputStream.java:143)
at net.sf.samtools.util.BinaryCodec.close(BinaryCodec.java:590)
at net.sf.samtools.BAMFileWriter.finish(BAMFileWriter.java:77)
at net.sf.samtools.SAMFileWriterImpl.close(SAMFileWriterImpl.java:175)
at FilterBAMForSNPCalling.main(FilterBAMForSNPCalling.java:57)
Caused by: java.io.SyncFailedException: sync failed
at java.io.FileDescriptor.sync(Native Method)
at net.sf.samtools.util.BinaryCodec.close(BinaryCodec.java:588)
Thanks for your input.
Uma
I am trying to use samtools to remove duplicates and bad reads from a BAM file. I get the following IO error. Does this mean I don't have enough space for output generation?
Exception in thread "main" net.sf.samtools.util.RuntimeIOException: sync failed
at net.sf.samtools.util.BinaryCodec.close(BinaryCodec.java:594)
at net.sf.samtools.util.BlockCompressedOutputStream.close(BlockCompressedOutputStream.java:178)
at java.io.FilterOutputStream.close(FilterOutputStream.java:143)
at net.sf.samtools.util.BinaryCodec.close(BinaryCodec.java:590)
at net.sf.samtools.BAMFileWriter.finish(BAMFileWriter.java:77)
at net.sf.samtools.SAMFileWriterImpl.close(SAMFileWriterImpl.java:175)
at FilterBAMForSNPCalling.main(FilterBAMForSNPCalling.java:57)
Caused by: java.io.SyncFailedException: sync failed
at java.io.FileDescriptor.sync(Native Method)
at net.sf.samtools.util.BinaryCodec.close(BinaryCodec.java:588)
Thanks for your input.
Uma
Comment