|
| QualAdjAligner (const int8_t *_score_matrix=default_score_matrix, int8_t _gap_open=default_gap_open, int8_t _gap_extension=default_gap_extension, int8_t _full_length_bonus=default_full_length_bonus, double _gc_content=default_gc_content) |
|
| ~QualAdjAligner (void) |
|
void | align (Alignment &alignment, const HandleGraph &g, bool traceback_aln) const |
|
void | align_global_banded (Alignment &alignment, const HandleGraph &g, int32_t band_padding=0, bool permissive_banding=true) const |
|
void | align_pinned (Alignment &alignment, const HandleGraph &g, bool pin_left, bool xdrop=false, uint16_t xdrop_max_gap_length=default_xdrop_max_gap_length) const |
|
void | align_global_banded_multi (Alignment &alignment, vector< Alignment > &alt_alignments, const HandleGraph &g, int32_t max_alt_alns, int32_t band_padding=0, bool permissive_banding=true) const |
|
void | align_pinned_multi (Alignment &alignment, vector< Alignment > &alt_alignments, const HandleGraph &g, bool pin_left, int32_t max_alt_alns) const |
|
void | align_xdrop (Alignment &alignment, const HandleGraph &g, const vector< MaximalExactMatch > &mems, bool reverse_complemented, uint16_t max_gap_length=default_xdrop_max_gap_length) const |
| xdrop aligner More...
|
|
void | align_xdrop (Alignment &alignment, const HandleGraph &g, const vector< handle_t > &order, const vector< MaximalExactMatch > &mems, bool reverse_complemented, uint16_t max_gap_length=default_xdrop_max_gap_length) const |
|
int32_t | score_exact_match (const Alignment &aln, size_t read_offset, size_t length) const |
|
int32_t | score_exact_match (const string &sequence, const string &base_quality) const |
|
int32_t | score_exact_match (string::const_iterator seq_begin, string::const_iterator seq_end, string::const_iterator base_qual_begin) const |
|
int32_t | score_mismatch (string::const_iterator seq_begin, string::const_iterator seq_end, string::const_iterator base_qual_begin) const |
|
int32_t | score_full_length_bonus (bool left_side, string::const_iterator seq_begin, string::const_iterator seq_end, string::const_iterator base_qual_begin) const |
|
int32_t | score_full_length_bonus (bool left_side, const Alignment &alignment) const |
|
int32_t | score_partial_alignment (const Alignment &alignment, const HandleGraph &graph, const path_t &path, string::const_iterator seq_begin, bool no_read_end_scoring=false) const |
| Compute the score of a path against the given range of subsequence with the given qualities. More...
|
|
double | max_possible_mapping_quality (int length) const |
|
double | estimate_max_possible_mapping_quality (int length, double min_diffs, double next_min_diffs) const |
|
int32_t | score_gap (size_t gap_length) const |
| Returns the score of an insert or deletion of the given length. More...
|
|
void | compute_mapping_quality (vector< Alignment > &alignments, int max_mapping_quality, bool fast_approximation, double cluster_mq, bool use_cluster_mq, int overlap_count, double mq_estimate, double maybe_mq_threshold, double identity_weight) const |
|
void | compute_paired_mapping_quality (pair< vector< Alignment >, vector< Alignment >> &alignment_pairs, const vector< double > &frag_weights, int max_mapping_quality1, int max_mapping_quality2, bool fast_approximation, double cluster_mq, bool use_cluster_mq, int overlap_count1, int overlap_count2, double mq_estimate1, double mq_estimate2, double maybe_mq_threshold, double identity_weight) const |
| same function for paired reads, mapping qualities are stored in both alignments in the pair More...
|
|
int32_t | compute_first_mapping_quality (const vector< double > &scores, bool fast_approximation, const vector< double > *multiplicities=nullptr) const |
|
int32_t | compute_max_mapping_quality (const vector< double > &scores, bool fast_approximation, const vector< double > *multiplicities=nullptr) const |
|
int32_t | compute_group_mapping_quality (const vector< double > &scores, const vector< size_t > &group, const vector< double > *multiplicities=nullptr) const |
|
vector< int32_t > | compute_all_mapping_qualities (const vector< double > &scores, const vector< double > *multiplicities=nullptr) const |
|
double | mapping_quality_score_diff (double mapping_quality) const |
|
double | score_to_unnormalized_likelihood_ln (double score) const |
|
size_t | longest_detectable_gap (const Alignment &alignment, const string::const_iterator &read_pos) const |
| The longest gap detectable from a read position without soft-clipping. More...
|
|
size_t | longest_detectable_gap (size_t read_length, size_t read_pos) const |
| The longest gap detectable from a read position without soft-clipping, for a generic read. More...
|
|
size_t | longest_detectable_gap (const Alignment &alignment) const |
| The longest gap detectable from any read position without soft-clipping. More...
|
|
size_t | longest_detectable_gap (size_t read_length) const |
| The longest gap detectable from any read position without soft-clipping, for a generic read. More...
|
|
virtual int32_t | score_discontiguous_alignment (const Alignment &aln, const function< size_t(pos_t, pos_t, size_t)> &estimate_distance, bool strip_bonuses=false) const |
|
virtual int32_t | score_contiguous_alignment (const Alignment &aln, bool strip_bonuses=false) const |
|
virtual int32_t | remove_bonuses (const Alignment &aln, bool pinned=false, bool pin_left=false) const |
|
|
int8_t * | qual_adjusted_matrix (const int8_t *score_matrix, double gc_content, uint32_t max_qual) const |
|
int8_t * | qual_adjusted_bonuses (int8_t _full_length_bonus, uint32_t max_qual) const |
|
void | align_internal (Alignment &alignment, vector< Alignment > *multi_alignments, const HandleGraph &g, bool pinned, bool pin_left, int32_t max_alt_alns, bool traceback_aln) const |
|
| GSSWAligner ()=default |
|
| GSSWAligner (const int8_t *_score_matrix, int8_t _gap_open, int8_t _gap_extension, int8_t _full_length_bonus, double _gc_content) |
|
| ~GSSWAligner () |
|
gssw_graph * | create_gssw_graph (const HandleGraph &g) const |
|
unordered_set< id_t > | identify_pinning_points (const HandleGraph &graph) const |
|
void | unreverse_graph_mapping (gssw_graph_mapping *gm) const |
|
void | unreverse_graph (gssw_graph *graph) const |
|
void | gssw_mapping_to_alignment (gssw_graph *graph, gssw_graph_mapping *gm, Alignment &alignment, bool pinned, bool pin_left) const |
|
string | graph_cigar (gssw_graph_mapping *gm) const |
|
double | group_mapping_quality_exact (const vector< double > &scaled_scores, const vector< size_t > &group, const vector< double > *multiplicities=nullptr) const |
|
double | estimate_next_best_score (int length, double min_diffs) const |
|
double | recover_log_base (const int8_t *score_matrix, double gc_content, double tol) const |
|
bool | verify_valid_log_odds_score_matrix (const int8_t *score_matrix, const double *nt_freqs) const |
|
double | alignment_score_partition_function (double lambda, const int8_t *score_matrix, const double *nt_freqs) const |
|
vector< double > | all_mapping_qualities_exact (const vector< double > &scaled_scores, const vector< double > *multiplicities=nullptr) const |
|
An aligner that uses read base qualities to adjust its scores and alignments.