Class
FaiIndex
Data type for storing FAI indices.
Include Headers
seqan/seq_io.h
Functions
Create FaiIndex from FASTA file. | |
Reset a FaiIndex object to the state after default construction. | |
Return id (numeric index in the file) of a sequence in a FAI file. | |
Return number of sequences known to an FaiIndex. | |
Read a FAI index. | |
Load the infix of a sequence from a FaiIndex. | |
Load a whole sequence from an FaiIndex. | |
Return length of the sequence with the given id in the FaiIndex. | |
Return the name of the sequence with the given id in the FaiIndex. | |
Write out an FaiIndex object. |
Examples
The following example demonstrate the usage of the FAIIndex class.
File "fai_index_example.cpp"
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 | |
28 | |
29 | |
30 | |
31 | |
32 | |
33 | |
34 | |
35 | |
36 | |
37 | |
38 | |
39 | |
40 | |
41 | |
42 | |
43 | |
44 | |
45 | |
46 | |
47 | |
48 | |
49 | |
50 | |
51 | |
52 | |
53 | |
54 | |
55 | |
56 | |
57 |
SeqAn - Sequence Analysis Library - www.seqan.de