Open tseemann opened 4 years ago
ins_thr and del_thr are the allele threshold for the detection of insertion and deletion, respectively. cov_thr is the threshold for the positional candidate being a variant. I observed that the column depth is normally lower than the neighboring depths when there is a deletion event, we use 0.35 to determine the threshold for deletion detection.
I use the literal instead of constant because they just appear once. But I'll change them to constant. Thank you for the suggestion.
I am worried there is no theoretical justification for those values. Have you optimized them from synthetic data with known variants?
To be honest, those values were set empirically based on the synthetic data. A better way is to use a machine learning model to find the optimal values.
What are these constants? They seem aribtrary? (And should be
const double
not hard-coded)