global multiple sequence alignment in (standard) string representation
More...
#include <alignment.hh>
|
vector< string > | rows |
|
size_t | k |
|
size_t | len |
|
global multiple sequence alignment in (standard) string representation
- Author
- Mario Stanke
◆ computeLen()
void StringAlignment::computeLen |
( |
| ) |
|
|
inline |
Ensure all rows have the same length and compute and set this length.
◆ insert()
void StringAlignment::insert |
( |
std::list< MsaInsertion > & |
insList, |
|
|
int |
maxInsertLen = INT_MAX |
|
) |
| |
Insert unaligned sequences into an alignment. The insertion positions all refer to the MSA before insertions. Example:
a-tt-g insert((0, 0, "ggg"), (2, 4, "gaga"), ggga-tt--—g –ctgg (1, 4, "ttt")) --—ctttt-gg a-ttgc ===================================> —a-ttgagagc
- Parameters
-
[in] | insList | a list of inserts at certain positions |
◆ removeGapOnlyCols()
size_t StringAlignment::removeGapOnlyCols |
( |
| ) |
|
Remove all columns which in which each row that is present has a gap. Example
ggga-tt--—g gggatt--—g --—ctttt-gg ====> -—ctttt-gg —a-ttgagagc —attgagagc
- Parameters
-
[in] | insList | a list of inserts at certain positions |
The documentation for this class was generated from the following files: