[Seqan-dev] SA interval from indices
- From: Yue Gan <gany.fml@gmail.com>
- To: seqan-dev@lists.fu-berlin.de
- Date: Tue, 23 Jun 2015 17:07:32 -0500
- Reply-to: SeqAn Development <seqan-dev@lists.fu-berlin.de>
- Subject: [Seqan-dev] SA interval from indices
Hi,
After created indices (I am using indexEsa), how do you search pattern by using them?
I only know you can create a finder based on the indices, and search pattern using finder based on the tutorial. But finder sometimes does not seems very convenient to me. Sometime I only need the occ value of the pattern, not their position, so I have to do:
int num_cout;
while (find(Finder, "TATAA"))
{
++num_cout;
}
And I do not think this is the right way to do it.... Is there any other way that I can get the SAInterval directly?
Thanks!
Yue Gan
-
seqan-dev - June 2015 - Archives indexes sorted by:
[ thread ] [ subject ] [ author ] [ date ] - Complete archive of the seqan-dev mailing list
- More info on this list...