diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2014-03-03 14:34:30 -0500 |
---|---|---|
committer | Calvin Morrison <mutantturkey@gmail.com> | 2014-03-03 14:34:30 -0500 |
commit | 95a94b5c0f326866870f810c3dd8c5b0cc31174a (patch) | |
tree | 7a44efcba5b1da6cb12421ebb59c56bbe9ff0147 /src | |
parent | 86fdc850a7852d56a1402d16575fbc456400c2b6 (diff) |
check heterodimer dic first because it's likely to be the #1 cause of issues
Diffstat (limited to 'src')
-rwxr-xr-x | src/score_mers.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/score_mers.py b/src/score_mers.py index 46963df..0c9d52e 100755 --- a/src/score_mers.py +++ b/src/score_mers.py @@ -129,6 +129,10 @@ def score(combination): # input is a string of mers like # ['ACCAA', 'ACCCGA', 'ACGTATA'] + for combo in combinations(combination, 2): + if [combo] is True: + #return [combination, 'het'] + return None for mer in combination: for other_mer in combination: @@ -137,11 +141,6 @@ def score(combination): #return [combination, 'dup'] return None - for combo in combinations(combination, 2): - if heterodimer_dic[combo] is True: - #return [combination, 'het'] - return None - # fg points fg_pts = [] fg_dist = [] |