Hi Yue,
I am not sure, whether some one answered your question already?
Instead of using the finder interface you could directly use the VSTree Iterator.
Look at the docu here: http://docs.seqan.de/seqan/develop/specialization_VSTreeIterator.html#VSTreeIterator%23countOccurrences
It also has a little code example to show how to use the iterator to count occurrences.
IHTH,
René
---
René Rahn
Ph.D. Student
--------------------------------
Institute of Computer Science
Algorithmic Bioinformatics (ABI)
--------------------------------
Freie Universität Berlin
Takustraße 9
14195 Berlin
--------------------------------
|