Function
addSeed
Adds a seed to an existing SeedSet using different algorithms for local chaining.
Include Headers
seqan/seeds.h
Parameters
The set to add the seed to. Types: SeedSet | |
The seed to be added. Types: Seed | |
Database sequence (horizontal). Types: SequenceConcept Remarks: Only required for Chaos Chaining. | |
Query sequence (vertical). Types: SequenceConcept Remarks: Only required for Chaos Chaining. | |
The scoring scheme. Types: Simple Score Remarks: Note, only Chaos and SimpleChain require the score. | |
The maximal distance between the end point of the upper left and the begin point of the lower right Seed allowed for local chaining. Types: IntegerConcept Remarks: Note, only Chaos, SimpleChain and Merge require the distance information. | |
The window size to search for a chainable Seed. Types: IntegerConcept Remarks: Note, only Chaos requires the bandwidth information. | |
The algorithm that is used to add the new seed. Types: Local Chaining Remarks: Note that not every algorithm can be used with each type of Seed. See special signatures above. The seed is copied and then added. |
Return Values
Boolean if successfully added.
Remarks: Always true for Tag Single.
Member of
Examples
File "seeds_add_seed.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 | |
58 | |
59 | |
60 | |
61 | |
62 | |
63 |
The output is as follows:
Seed: Seed<Simple, TConfig>(4, 5, 8, 9, lower diag = -1, upper diag = -1)
Seed: Seed<Simple, TConfig>(10, 10, 15, 15, lower diag = 0, upper diag = 0)
Seed: Seed<Simple, TConfig>(14, 14, 18, 18, lower diag = 0, upper diag = 0)
Seed: Seed<Simple, TConfig>(21, 21, 24, 24, lower diag = 0, upper diag = 0)
Merge Method:
Seed: Seed<Simple, TConfig>(4, 5, 8, 9, lower diag = -1, upper diag = -1)
Seed: Seed<Simple, TConfig>(10, 10, 18, 18, lower diag = 0, upper diag = 0)
Seed: Seed<Simple, TConfig>(21, 21, 24, 24, lower diag = 0, upper diag = 0)
Chaos Method:
Seed: Seed<Simple, TConfig>(4, 5, 15, 15, lower diag = -1, upper diag = 0)
Seed: Seed<Simple, TConfig>(14, 14, 18, 18, lower diag = 0, upper diag = 0)
Seed: Seed<Simple, TConfig>(21, 21, 24, 24, lower diag = 0, upper diag = 0)
See Also
SeqAn - Sequence Analysis Library - www.seqan.de