Premature end of file

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4

  • via Unknown by Unknown author,
  • via Unknown by Unknown author,
  • via GitHub by dwaggott
  • Stack trace

    • htsjdk.samtools.FileTruncatedException: Premature end of file at htsjdk.samtools.util.BlockCompressedInputStream.readBlock( at htsjdk.samtools.util.BlockCompressedInputStream.available( at at at htsjdk.samtools.util.BinaryCodec.readBytesOrFewer( at htsjdk.samtools.util.BinaryCodec.readBytes( at htsjdk.samtools.util.BinaryCodec.readBytes( at htsjdk.samtools.BAMRecordCodec.decode( at htsjdk.samtools.BAMFileReader$BAMFileIterator.getNextRecord( at htsjdk.samtools.BAMFileReader$BAMFileIterator.advance( at htsjdk.samtools.BAMFileReader$ at htsjdk.samtools.BAMFileReader$ at htsjdk.samtools.SamReader$ at htsjdk.samtools.SamReader$ at htsjdk.samtools.BAMIndexer.createIndex( at htsjdk.samtools.BAMIndexer.createIndex( at picard.sam.BuildBamIndex.doWork( at picard.cmdline.CommandLineProgram.instanceMain( at picard.cmdline.PicardCommandLine.instanceMain( at picard.cmdline.PicardCommandLine.main(

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,