On 1 Jul 2014, at 16:06, Marcel Martin <marcel.mar...@tu-dortmund.de> wrote: > Interestingly, at least in my samtools version (0.1.19-96b5f2294a, > Ubuntu 14.04), the EOF marker check is also done (and fails) when you > pipe in a BAM file from stdin: > > $ samtools view -b merged.bam | samtools view - > /dev/null > [bam_header_read] EOF marker is absent. The input is probably truncated.
This bug was refixed for htslib-based samtools a while back: https://github.com/samtools/samtools/issues/18 John -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Samtools-help mailing list Samtools-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/samtools-help