Function
read2
reads an entire document from a StreamConcept, by the means of RecordReader
Include Headers
seqan/stream.h
Parameters
possibly multiple StringSets (e.g. of meta and sequences) | |
The reader object to read from Types: RecordReader | |
The file format tag |
Remarks
This is only supported for Double-Pass IO. If you cannot use Double-Pass IO (e.g. when you cannot seek on the stream), loop over readRecord instead.
If not noted otherwise an especially efficient version of the function is used if all StringSets are specialized as ConcatDirect -StringSets.
Status
Should be renamed to "read" once the old IO-Code is removed
Member of
See Also
SeqAn - Sequence Analysis Library - www.seqan.de