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]: Single Runs #29

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

[Feature]: Single Runs #29

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

Run length refers to how many times a single base is repeated consecutively in a primer.

Describe your proposed solution

>>> from opr import Primer
>>> p1 = Primer("ATCGATCG")
>>> p1.single_runs
{"A":0, "T":0, "C":0, "G":0}
>>> p2 = Primer("ATTCGATCCCCG")
>>> p2.single_runs
{"A":0, "T":2, "C":4, "G":0}

Describe alternatives you've considered, if relevant

No response

Additional context

Test cases:

  1. https://www.oligoevaluator.com/OligoCalcServlet
  2. https://www.bioinformatics.org/sms2/pcr_primer_stats.html
@sepandhaghighi sepandhaghighi added this to the opr v0.2 milestone Nov 27, 2024
@sepandhaghighi sepandhaghighi changed the title [Feature]: Run Length [Feature]: Single Runs Dec 24, 2024
@AHReccese AHReccese mentioned this issue Dec 28, 2024
@sepandhaghighi sepandhaghighi linked a pull request Jan 7, 2025 that will close this issue
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