-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRulePatch.patch
22 lines (22 loc) · 1.29 KB
/
RulePatch.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/norec4dna/rules/FastDNARules.py b/norec4dna/rules/FastDNARules.py
index 6148ff0..757429f 100644
--- a/norec4dna/rules/FastDNARules.py
+++ b/norec4dna/rules/FastDNARules.py
@@ -117,12 +117,12 @@ class FastDNARules:
# FastDNARules.g_permutation,
# FastDNARules.dinucleotid_runs,
# FastDNARules.homopolymers,
- partial(FastDNARules.homopolymers, probs=four_strict_homopolymers()),
- # FastDNARules.overall_gc_content,
+ partial(FastDNARules.homopolymers, probs=strict_homopolymers()),
+ FastDNARules.overall_gc_content,
# To change the GC error function:
- partial(FastDNARules.overall_gc_content, calc_func=ts_gc_error_calculation),
- # FastDNARules.windowed_gc_content,
- partial(FastDNARules.windowed_gc_content, calc_func=ts_gc_error_calculation),
+ partial(FastDNARules.overall_gc_content, calc_func=fs_gc_error_calculation),
+ FastDNARules.windowed_gc_content,
+ # partial(FastDNARules.windowed_gc_content, calc_func=ts_gc_error_calculation),
# FastDNARules.long_strands,
# FastDNARules.illegal_symbols,
# FastDNARules.trinucleotid_runs,