From cc55e1b33479aeb2b071e412286cb6f5f5117108 Mon Sep 17 00:00:00 2001 From: rbpisupati Date: Thu, 13 May 2021 19:57:01 +0200 Subject: [PATCH] fixed few errors --- snpmatch/core/infer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snpmatch/core/infer.py b/snpmatch/core/infer.py index 3577d53..11e89ff 100644 --- a/snpmatch/core/infer.py +++ b/snpmatch/core/infer.py @@ -18,7 +18,7 @@ def __init__(self, num_markers, chromosome_size, avg_depth = 1.5, - delta_het_parents = 0.99, + fraction_homo_parents = 0.99, avg_sites_segregating = 0.01, base_error = 0.0001, recomb_rate = 3.3, @@ -29,7 +29,7 @@ def __init__(self, self.params['num_markers'] = num_markers self.params['avg_depth'] = avg_depth ### fraction of sites parental genomes are heterozygous - self.params['delta_het_parents'] = delta_het_parents + self.params['delta_het_parents'] = fraction_homo_parents ### fraction of sites which are segregating between parents self.params['avg_sites_segregating'] = avg_sites_segregating ### sequencing error rate