aboutsummaryrefslogtreecommitdiff
path: root/src/score_mers.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/score_mers.py')
-rwxr-xr-xsrc/score_mers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/score_mers.py b/src/score_mers.py
index 1cb4bbb..267d7ff 100755
--- a/src/score_mers.py
+++ b/src/score_mers.py
@@ -198,8 +198,9 @@ def percentage(part, whole, precision=2):
def write_header(fh):
fh.write("# variables used: max_select=" + str(max_select) + " max_check=" + str(max_check) + " max_mer_distance=" + str(max_mer_distance) + " max_consecutive_binding=" + str(max_consecutive_binding) + " primer_weight=" + str(primer_weight) + "\n")
- fh.write("# scoring function:" + str(score_str) + "\n")
+ fh.write("# scoring function: " + str(score_str) + "\n")
fh.write("nb_primers\tCombination\tScore\tFG_mean_dist\tFG_stdev_dist\tBG_ratio\n")
+
def write_result(fh, score_res):
combination, score_val, fg_mean_dist, fg_stddev_dist, bg_ratio = score_res
fh.write(str(len(combination)) + "\t")