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