Skip to content

Commit 7f3b28b

Browse files
committed
renamed function
1 parent aab3a4c commit 7f3b28b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

varvamp/scripts/qpcr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def hardfilter_amplicon(majority_consensus, left_primer, right_primer):
139139
)
140140

141141

142-
def forms_dimer_or_overhangs(right_primer, left_primer, probe, ambiguous_consensus):
142+
def dimer_in_combinations(right_primer, left_primer, probe, ambiguous_consensus):
143143
"""
144144
checks if primers cause dimers and if combinations of primers/probe including all permutations form dimers
145145
"""
@@ -210,7 +210,7 @@ def assess_amplicons(left_subset, right_subset, qpcr_probes, probe, majority_con
210210
[config.QPROBE_TEMP_DIFF[0] <= probe_temp - x <= config.QPROBE_TEMP_DIFF[1] for x in primer_temps]):
211211
continue
212212
# .... all combination of oligos do not form dimers or overhangs.
213-
if forms_dimer_or_overhangs(right_primer, left_primer, qpcr_probes[probe], ambiguous_consensus):
213+
if dimer_in_combinations(right_primer, left_primer, qpcr_probes[probe], ambiguous_consensus):
214214
continue
215215
# append to list and break as this is the primer combi
216216
# with the lowest penalty (primers are sorted by penalty)

0 commit comments

Comments
 (0)