Yes, this should work.
From: Bernd Jagla [bernd.jagla@pasteur.fr]
Sent: Tuesday, April 10, 2012 1:58 PM To: seqan-dev@lists.fu-berlin.de Subject: [Seqan-dev] resetting a stream 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 |