Example Program
Index Finder StringSet
File "index_find_stringset.cpp"
A tutorial about an index based finder for a StringSet.
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | 
First, we create a StringSet of 3 Strings.
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | 
| 14 | |
| 15 | |
| 16 | 
Finally we search for the string "be"  and output all occurences
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | 
Output
weese@tanne:~/seqan/demos$ make index_find_stringset
weese@tanne:~/seqan/demos$ ./index_find_stringset
hit at < 0 , 11 > < 1 , 3 > < 2 , 0 > < 0 , 2 >
weese@tanne:~/seqan/demos$
SeqAn - Sequence Analysis Library - www.seqan.de