aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2014-03-31 13:27:06 -0400
committerCalvin Morrison <mutantturkey@gmail.com>2014-03-31 13:27:06 -0400
commit5a5d89d3881cb0d9014168845d96e5eebeb2bd42 (patch)
tree72ad2c1cb7aad7a9100c640b81741db96786fa48 /src
parent59ac62e890a7a1c11c6e316f12fd284b31c0c4ab (diff)
Add feature to have a top-scores file. closes issue #21
Diffstat (limited to 'src')
-rwxr-xr-xsrc/score_mers.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/score_mers.py b/src/score_mers.py
index e3d2c58..13050e7 100755
--- a/src/score_mers.py
+++ b/src/score_mers.py
@@ -169,7 +169,6 @@ def load_heterodimer_dic(selected_mers):
def check_feasible(selected):
total = 0
for mer in selected:
- print mer, len(fg_mers[mer]), len(selected)
total += len(fg_mers[mer])
if (fg_genome_length / (total + 1 )) > max_mer_distance:
print "even if we select all top ", max_select,
@@ -444,7 +443,6 @@ def main():
fg_mers[mer] = []
bg_mers[mer] = []
- print fg_mers.keys()
print "calculating heterodimer distances"
load_heterodimer_dic(fg_mers.keys())
@@ -454,14 +452,12 @@ def main():
print "Populating background locations"
populate_locations(fg_mers.keys(), bg_mers, args.background)
- print fg_mers
-
for mer in bg_mers:
bg_mers[mer] = len(bg_mers[mer])
score_all_combinations(fg_mers.keys())
- print "output_file:", output_file
+ print "output file:", output_file
if __name__ == "__main__":
sys.exit(main())