vg
tools for working with variation graphs
|
#include <mapper.hpp>
Public Member Functions | |
void | record_fragment_configuration (const Alignment &aln1, const Alignment &aln2, Mapper *mapper) |
string | fragment_model_str (void) |
void | save_frag_lens_to_alns (Alignment &aln1, Alignment &aln2, const unordered_map< path_handle_t, int64_t > &approx_frag_lengths, PathPositionHandleGraph *xindex, bool is_consistent) |
double | fragment_length_stdev (void) |
double | fragment_length_mean (void) |
double | fragment_length_pdf (double length) |
double | fragment_length_pval (double length) |
bool | fragment_orientation (void) |
bool | fragment_direction (void) |
Public Attributes | |
double | cached_fragment_length_mean = 0 |
double | cached_fragment_length_stdev = 0 |
bool | cached_fragment_orientation_same = 0 |
bool | cached_fragment_direction = 1 |
int64_t | since_last_fragment_length_estimate = 0 |
int64_t | fragment_model_update_interval = 100 |
deque< double > | fragment_lengths |
deque< bool > | fragment_orientations |
deque< bool > | fragment_directions |
int64_t | fragment_max = 10000 |
int64_t | fragment_size = 0 |
double | fragment_sigma = 10 |
int64_t | fragment_length_cache_size = 10000 |
float | perfect_pair_identity_threshold = 0.9 |
bool | fixed_fragment_model = true |
Keeps track of statistics about fragment length within the Mapper class. Belongs to a single thread.
bool vg::FragmentLengthStatistics::fragment_direction | ( | void | ) |
double vg::FragmentLengthStatistics::fragment_length_mean | ( | void | ) |
double vg::FragmentLengthStatistics::fragment_length_pdf | ( | double | length | ) |
double vg::FragmentLengthStatistics::fragment_length_pval | ( | double | length | ) |
double vg::FragmentLengthStatistics::fragment_length_stdev | ( | void | ) |
string vg::FragmentLengthStatistics::fragment_model_str | ( | void | ) |
bool vg::FragmentLengthStatistics::fragment_orientation | ( | void | ) |
void vg::FragmentLengthStatistics::record_fragment_configuration | ( | const Alignment & | aln1, |
const Alignment & | aln2, | ||
Mapper * | mapper | ||
) |
void vg::FragmentLengthStatistics::save_frag_lens_to_alns | ( | Alignment & | aln1, |
Alignment & | aln2, | ||
const unordered_map< path_handle_t, int64_t > & | approx_frag_lengths, | ||
PathPositionHandleGraph * | xindex, | ||
bool | is_consistent | ||
) |
bool vg::FragmentLengthStatistics::cached_fragment_direction = 1 |
double vg::FragmentLengthStatistics::cached_fragment_length_mean = 0 |
double vg::FragmentLengthStatistics::cached_fragment_length_stdev = 0 |
bool vg::FragmentLengthStatistics::cached_fragment_orientation_same = 0 |
bool vg::FragmentLengthStatistics::fixed_fragment_model = true |
deque<bool> vg::FragmentLengthStatistics::fragment_directions |
int64_t vg::FragmentLengthStatistics::fragment_length_cache_size = 10000 |
deque<double> vg::FragmentLengthStatistics::fragment_lengths |
int64_t vg::FragmentLengthStatistics::fragment_max = 10000 |
int64_t vg::FragmentLengthStatistics::fragment_model_update_interval = 100 |
deque<bool> vg::FragmentLengthStatistics::fragment_orientations |
double vg::FragmentLengthStatistics::fragment_sigma = 10 |
int64_t vg::FragmentLengthStatistics::fragment_size = 0 |
float vg::FragmentLengthStatistics::perfect_pair_identity_threshold = 0.9 |
int64_t vg::FragmentLengthStatistics::since_last_fragment_length_estimate = 0 |