File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed
Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -92,8 +92,12 @@ class ModelGenotype : virtual public ModelMarkov
9292 * compute the frequencies of A C G T for the base model with 4 states
9393 * @param freq_params
9494 */
95- virtual string compute_freq_params_base_model (string freq_params);
95+ virtual string computeFreqParamsOfBaseModel (string freq_params);
9696
97+ /* *
98+ * initialise the error model of the genotype models
99+ */
100+ double init_error_model ();
97101 /* *
98102 @return model name
99103 */
@@ -173,7 +177,25 @@ class ModelGenotype : virtual public ModelMarkov
173177 * @return TRUE if parameters are changed, FALSE otherwise (2015-10-20)
174178 */
175179 virtual bool getVariables (double *variables);
176-
180+
181+ // Error model parameters
182+ bool use_error_model; // whether the error model is enabled
183+ double ado_rate; // allelic dropout rate
184+ double error_rate; // amplification/sequencing error rate
185+ bool fix_error_params; // whether to fix error parameters (not optimise)
186+
187+ /*
188+ * Bounds for the optimisation
189+ * lower_ado: lower bound for ADO - 0.0
190+ * upper_ado: upper bound for ADO - 1.0
191+ * lower_error: lower bound for ERR - 10^-5
192+ * upper_error: upper bound for ERR - 10^-3
193+ */
194+ double lower_ado;
195+ double upper_ado;
196+ double lower_error;
197+ double upper_error;
198+
177199};
178200
179201#endif
You can’t perform that action at this time.
0 commit comments