Hi, Is it correct to reset a stream (bam file) using the following command: TStreamOrReader & reader streamSeek(reader, 0, SEEK_SET); Thanks for clarifying... I would like to reset a reader (TStreamOrReader, from bam_stats.cpp) and re-read a bam/sam file... Thanks, Bernd |