Ymir  .9
Fast\C++toolforcomputationofassemblingprobabilities,statisticalinferenceofassemblingstatisticalmodelandgenerationofartificialsequencesofT-cellreceptorsdata.
Public Member Functions | List of all members
ymir::MonoNucInsertionModel Class Reference
Inheritance diagram for ymir::MonoNucInsertionModel:
ymir::AbstractInsertionModel

Public Member Functions

 MonoNucInsertionModel (prob_t err_prob)
 
 MonoNucInsertionModel (std::vector< prob_t >::const_iterator start, prob_t err_prob=0)
 
 MonoNucInsertionModel (const MonoNucInsertionModel &other)
 
MonoNucInsertionModeloperator= (const MonoNucInsertionModel &other)
 
prob_t nucProbability (const std::string &sequence, char first_char=NULL_CHAR, bool with_errors=false) const
 Probability of the given nucleotide sequence.
 
prob_t nucProbability (std::string::const_iterator start, seq_len_t sequence_len, char first_char=NULL_CHAR, bool with_errors=false) const
 
prob_t nucProbability (std::string::const_reverse_iterator start, seq_len_t sequence_len, char first_char=NULL_CHAR, bool with_errors=false) const
 
sequence_t generate (seq_len_t len, std::default_random_engine &rg, char first_char=NULL_CHAR, bool reverse=false) const
 
prob_t aaProbability (const std::string &sequence, char first_char=NULL_CHAR) const
 
prob_t aaProbability (std::string::const_iterator start, seq_len_t sequence_len, char first_char=NULL_CHAR) const
 
prob_t aaProbability (std::string::const_reverse_iterator start, seq_len_t sequence_len, char first_char=NULL_CHAR) const
 
- Public Member Functions inherited from ymir::AbstractInsertionModel
 AbstractInsertionModel (uint8_t size, prob_t err_prob=0)
 
 AbstractInsertionModel (uint8_t size, std::vector< prob_t >::const_iterator start, prob_t err_prob=0)
 
 AbstractInsertionModel (const AbstractInsertionModel &other)
 
AbstractInsertionModeloperator= (const AbstractInsertionModel &other)
 
prob_t err_prob () const
 
virtual prob_t aaProbability (const std::string &sequence, seq_len_t first_nuc_pos, seq_len_t last_nuc_pos, char first_char=NULL_CHAR) const =0
 
virtual prob_t aaProbability (std::string::const_iterator start, seq_len_t first_nuc_pos, seq_len_t last_nuc_pos, char first_char=NULL_CHAR) const =0
 
virtual prob_t aaProbability (std::string::const_reverse_iterator start, seq_len_t first_nuc_pos, seq_len_t last_nuc_pos, char first_char=NULL_CHAR) const =0
 
prob_t operator[] (uint8_t index) const
 

Additional Inherited Members

- Public Types inherited from ymir::AbstractInsertionModel
typedef unique_ptr< prob_t[]> prob_array_t
 
- Protected Member Functions inherited from ymir::AbstractInsertionModel
void updateProbabilities (std::vector< prob_t >::const_iterator start)
 
void updateProbabilities (prob_t *start)
 
void updateProbabilities (std::vector< prob_t >::const_iterator start, prob_t err_prob)
 
void updateProbabilities (prob_t *start, prob_t err_prob)
 
- Protected Attributes inherited from ymir::AbstractInsertionModel
prob_array_t _arr
 
prob_t _err_prob
 
uint8_t _size
 

The documentation for this class was generated from the following file: