samtools icon indicating copy to clipboard operation
samtools copied to clipboard

Force standard 28 bytes empty BGZF GZIP block for no compression BAM

Open peterjc opened this issue 13 years ago • 2 comments

This avoids the following warning from uncompressed BAM files which don't end with the expected 28 byte empty BGZF block as an EOF marker:

[bam_header_read] EOF marker is absent. The input is probably truncated.

See mailing list discussion.

Thanks,

Peter

peterjc avatar Nov 17 '11 16:11 peterjc

Link to mailing list discussion: http://sourceforge.net/mailarchive/message.php?msg_id=28413844

peterjc avatar Feb 16 '12 13:02 peterjc

Hi Peter,

Thanks for posting the patch. Unfortunately the link to the patch you posted in the mailing list discussion does not lead to the patch and gives an error when I try to open it. I really need this patch to get Samtools to work correctly. Can you possibly post it again or tell me the correct location of where to find it?

Best wishes,

Tamara Miller

tamaram444 avatar Jun 05 '18 21:06 tamaram444