5 #ifndef BPP_SEQ_IO_SEQUENCEFILEINDEX_H 6 #define BPP_SEQ_IO_SEQUENCEFILEINDEX_H 8 #include <Bpp/Exceptions.h> 29 virtual void build(
const std::string& path) = 0;
42 #endif // BPP_SEQ_IO_SEQUENCEFILEINDEX_H virtual ~SequenceFileIndex()
virtual std::streampos getSequencePosition(const std::string &id) const =0
Get the position of a Sequence given its ID.
This alphabet is used to deal NumericAlphabet.
virtual void build(const std::string &path)=0
Build the index given a path to the file.
virtual size_t getNumberOfSequences() const =0
Get the number of sequences.
Index to retrieve Sequence in a file.