Multi-Alignment Assembly Graph - basic class for representing all possible generation scenarios of a nucleotide or amino acid sequence of an immune receptor.
More...
|
| MAAG () |
| Default constructor.
|
|
| MAAG (const MAAG &other) |
|
| MAAG (MAAG &&other) |
|
virtual | ~MAAG () |
| Special swap constructor for MAAGs that will be used only for computation of the full probability. More...
|
|
MAAG & | operator= (const MAAG &other) |
|
MAAG & | operator= (MAAG &&other) |
|
seq_len_t | position (seq_len_t i) const |
|
bool | has_events () const |
|
bool | has_errors () const |
|
prob_t | error_prob () const |
|
const std::string & | sequence () const |
|
seq_len_t | n_poses () const |
|
SequenceType | sequence_type () const |
|
dim_t | rows (node_ind_t node_i) const |
|
dim_t | cols (node_ind_t node_i) const |
|
|
prob_t | fullProbability (event_ind_t v_index, event_ind_t j_index) const |
| Compute and return the full assembling probability of this sequence (i.e., with all gene segments alignments). More...
|
|
prob_t | fullProbability (event_ind_t v_index, event_ind_t d_index, event_ind_t j_index) const |
|
prob_t | fullProbability (MAAGComputeProbAction action=SUM_PROBABILITY) const |
|
|
event_ind_t | nVar () const |
| Get the number of aligned gene segments. More...
|
|
event_ind_t | nJoi () const |
|
event_ind_t | nDiv () const |
|
|
prob_t | event_probability (node_ind_t node_i, matrix_ind_t mat_i, dim_t row, dim_t col) const |
| Access to event indices, event probabilities and mismatches in the underlying matrices of the MAAG. More...
|
|
event_ind_t | event_index (node_ind_t node_i, matrix_ind_t mat_i, dim_t row, dim_t col) const |
|
error_num_t | errors (node_ind_t node_i, matrix_ind_t mat_i, dim_t row, dim_t col) const |
|
|
bool | save (const std::string &filepath) const |
| Save the graph to the harddrive and load a previously saved graph. More...
|
|
bool | save (std::ostream &stream) const |
|
bool | load (const std::string &filepath) |
|
bool | load (std::istream &stream) |
|
|
Recombination | recombination () const |
|
bool | is_vj () const |
|
bool | is_vdj () const |
|
|
typedef uint8_t | node_ind_t |
| Node index type.
|
|
typedef uint8_t | matrix_ind_t |
| Matrix index type.
|
|
typedef seq_len_t | dim_t |
| Type of dimensions of matrices (rows and columns).
|
|
typedef Matrix< _Scalar, dim_t > | matrix_t |
| Type of matrices in the chain.
|
|
void | resize (node_ind_t n_nodes) |
|
node_ind_t | chainSize () const |
|
void | initNode (node_ind_t node_i, matrix_ind_t n_matrices, dim_t rows, dim_t cols) |
|
void | swap (MultiMatrixChain &other) |
|
void | finish () |
|
void | fill (node_ind_t node, matrix_ind_t mat, _Scalar val=0) |
|
matrix_t | matrix (node_ind_t node, matrix_ind_t mat) const |
|
_Scalar | operator[] (size_t index) const |
|
size_t | values_size () const |
|
matrix_ind_t | nodeSize (node_ind_t node_i) const |
|
dim_t | nodeRows (node_ind_t node_i) const |
|
dim_t | nodeColumns (node_ind_t node_i) const |
|
_Scalar & | operator() (node_ind_t node_i, matrix_ind_t mat_i, dim_t row, dim_t col) |
| Access element with specified indices at specified matrix. More...
|
|
_Scalar | operator() (node_ind_t node_i, matrix_ind_t mat_i, dim_t row, dim_t col) const |
|
_Scalar & | at (node_ind_t node_i, matrix_ind_t mat_i, dim_t row, dim_t col) |
|
_Scalar | at (node_ind_t node_i, matrix_ind_t mat_i, dim_t row, dim_t col) const |
|
node_ind_t | addNode () |
| Add new node with pattern matrix.
|
|
node_ind_t | addNode (matrix_ind_t n_matrices, dim_t rows, dim_t cols) |
|
Multi-Alignment Assembly Graph - basic class for representing all possible generation scenarios of a nucleotide or amino acid sequence of an immune receptor.