Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: GC Clamp #28

Open
sepandhaghighi opened this issue Nov 27, 2024 · 0 comments · Fixed by #39
Open

[Feature]: GC Clamp #28

sepandhaghighi opened this issue Nov 27, 2024 · 0 comments · Fixed by #39
Assignees
Milestone

Comments

@sepandhaghighi
Copy link
Member

sepandhaghighi commented Nov 27, 2024

Describe the feature you want to add

GC clamp is the presence of a guanine (G) or cytosine (C) base in the last 5 bases of a primer.

Describe your proposed solution

>>> from opr import Primer
>>> p1 = Primer("ATCG")
>>> print(p1.gc_clamp)
0
>>> p2 = Primer("ATCGG")
>>> print(p2.gc_clamp)
3

ℹ️ The GC clamp is only applicable to primers that are longer than 4 nucleotides.

Describe alternatives you've considered, if relevant

No response

Additional context

Test case: https://www.oligoevaluator.com/ShowToolServlet?TYPE=ANALYSIS
More info: https://toptipbio.com/gc-clamp-pcr/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants