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

Ambiguous bases in primer design? #7

Open
ammaraziz opened this issue Feb 20, 2024 · 4 comments
Open

Ambiguous bases in primer design? #7

ammaraziz opened this issue Feb 20, 2024 · 4 comments

Comments

@ammaraziz
Copy link

Hi @treangen

Olivar is very interesting in it's approach to primer design. I'm testing it out for a few different organisms. I noticed that while reference can not contain an ambiguous bases, the variation file can have ambiguous bases. However, even if they are included in the variation file, it seems Olivar ignore them in the primers. Interestingly, the graphical output does include the SNP.

It would be super helpful if when Olivar decides on a primer in a particular location where an ambig base exists, the primer would also contain such a base.

Thanks!

Ammar

@mxwang66
Copy link
Member

Hi @ammaraziz,

Thanks for your comment! Ambiguous bases will make energy calculation and primer dimer optimization more difficult, so they are not supported right now. For the variation file, currently only column START, STOP and FREQ is used. In a future update we will include column REF and ALT into the output graphics if provided.

For now, you may replace a ambiguous base with a regular base as input. If a primer overlaps with that base, the ambiguous base can be placed back.

Thank you,
Michael

@ammaraziz
Copy link
Author

Thanks Michael. Do you think an option to include the ambig base if it overlaps with a primer is possible (with no calculations done on the ambiguous base to simplify things)?

This would simplify things for me. Of course the caveat is that the ambig bases aren't factored into the design step.

@mxwang66
Copy link
Member

Yeah what we can do is converting the ambig base to a regular base (e.g., W to A), run the design and put it back if it sits on a primer. Addtional risk can also be added to that position so the ambig base could be avoided if possible.

@ammaraziz
Copy link
Author

Awesome thanks Michael, that'd be a fantastic option to have.

Looking at developing of a few amplicon schemes with Olivar. Looking out for the publication to cite and share around :)

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

No branches or pull requests

2 participants