Function
length
The number of characters in the underlying text of the index is returned.
Include Headers
seqan/index.h
Parameters
The index to return the number of characters of. Types: Index |
Remarks
If the underlying text is a StringSet then the sum of all characters of the sequneces in the string
set is returned.
Return Values
The number of characters in the raw underlying text of the index is returned.
Metafunctions: Size
Member of
Examples
The following code shows how length can be used on an index in order to determine the number of characters in the underlying text.
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 |
Hit at position: < 0 , 0 >
SeqAn - Sequence Analysis Library - www.seqan.de