Skip to content

Commit cc55e1b

Browse files
committed
fixed few errors
1 parent f16e98a commit cc55e1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snpmatch/core/infer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def __init__(self,
1818
num_markers,
1919
chromosome_size,
2020
avg_depth = 1.5,
21-
delta_het_parents = 0.99,
21+
fraction_homo_parents = 0.99,
2222
avg_sites_segregating = 0.01,
2323
base_error = 0.0001,
2424
recomb_rate = 3.3,
@@ -29,7 +29,7 @@ def __init__(self,
2929
self.params['num_markers'] = num_markers
3030
self.params['avg_depth'] = avg_depth
3131
### fraction of sites parental genomes are heterozygous
32-
self.params['delta_het_parents'] = delta_het_parents
32+
self.params['delta_het_parents'] = fraction_homo_parents
3333
### fraction of sites which are segregating between parents
3434
self.params['avg_sites_segregating'] = avg_sites_segregating
3535
### sequencing error rate

0 commit comments

Comments
 (0)