bpp-seq3
3.0.0
|
Index to retrieve Sequence in a file. More...
#include <Bpp/Seq/Io/SequenceFileIndex.h>
Public Member Functions | |
virtual | ~SequenceFileIndex () |
virtual void | build (const std::string &path)=0 |
Build the index given a path to the file. More... | |
virtual std::streampos | getSequencePosition (const std::string &id) const =0 |
Get the position of a Sequence given its ID. More... | |
virtual size_t | getNumberOfSequences () const =0 |
Get the number of sequences. More... | |
Index to retrieve Sequence in a file.
This class is designed to build an in-memory index of a Sequence file in order to retrieve Sequence given its ID.
Definition at line 22 of file SequenceFileIndex.h.
|
inlinevirtual |
Definition at line 25 of file SequenceFileIndex.h.
|
pure virtual |
Build the index given a path to the file.
Implemented in bpp::Fasta::FileIndex.
|
pure virtual |
Get the number of sequences.
Implemented in bpp::Fasta::FileIndex.
|
pure virtual |
Get the position of a Sequence given its ID.
Implemented in bpp::Fasta::FileIndex.