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]: Double Runs #40

Open
sepandhaghighi opened this issue Jan 13, 2025 · 4 comments · May be fixed by #45
Open

[Feature]: Double Runs #40

sepandhaghighi opened this issue Jan 13, 2025 · 4 comments · May be fixed by #45
Assignees
Labels
enhancement New feature or request new feature
Milestone

Comments

@sepandhaghighi
Copy link
Member

Describe the feature you want to add

Double run length refers to how many times a dinucleotide base is repeated consecutively in a primer.

Describe your proposed solution

>>> from opr import Primer
>>> p1 = Primer("ATATCGAACACACACACA")
>>> p1.double_runs
{'GT': 0, 'CA': 5, 'AT': 2, 'TA': 0, 'GC': 0, 'GA': 0, 'AG': 0, 'TG': 0, 'CG': 0, 'TC': 0, 'AC': 5, 'CT': 0}

Describe alternatives you've considered, if relevant

No response

Additional context

References:

  1. https://www.bioinformatics.org/sms2/pcr_primer_stats.html
@AHReccese
Copy link
Member

AHReccese commented Jan 14, 2025

TA is 0 or 1?
@sepandhaghighi
I'm trying to understand the concept, it is 0 since it has overlap with "AT", right?

@AHReccese
Copy link
Member

I just see pass or warnings in the given link for the dinucleotide base.

@sepandhaghighi
Copy link
Member Author

TA is 0 or 1? @sepandhaghighi I'm trying to understand the concept, it is 0 since it has overlap with "AT", right?

In consecutive mode, we begin with 2 instead of 1. However, this is merely a convention and not a rule. We can talk about it in our next weekly session.

@sepandhaghighi
Copy link
Member Author

I just see pass or warnings in the given link for the dinucleotide base.

When a dinucleotide run length exceeds 5, this tool will alert you.

You can check it here:

https://www.bioinformatics.org/sms2/scripts/pcr_primer_stats.js

This was referenced Jan 15, 2025
Closed
@AHReccese AHReccese linked a pull request Jan 15, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants