Commit b6b66c8d authored by Mathieu Giraud's avatar Mathieu Giraud

core/fasta.{h,cpp}: .totalSize()

parent 8f64e3e1
......@@ -89,6 +89,8 @@ void Fasta::add(Sequence seq) {
}
int Fasta::size() const{ return (int)reads.size(); }
int Fasta::totalSize() const { return total_size ; }
list<Sequence> Fasta::getAll() const {
list<Sequence> reads;
......
......@@ -53,6 +53,8 @@ public:
bool verbose=true);
int size() const;
int totalSize() const;
/**
* Get all the sequences from the FASTA file
* @return a list of sequences in the same order as in the input file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment