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

Simulate enzyme methylation through lowercasing #390

Closed
Koeng101 opened this issue Oct 31, 2023 · 0 comments
Closed

Simulate enzyme methylation through lowercasing #390

Koeng101 opened this issue Oct 31, 2023 · 0 comments

Comments

@Koeng101
Copy link
Contributor

https://github.com/TimothyStiles/poly/blob/2d5d8c4551121fca4c394835efd89bffb0c3c5ca/clone/clone.go#L124

An idea came to me because of this line in our clone package:

"BsaI":  {"BsaI", regexp.MustCompile("GGTCTC"), regexp.MustCompile("GAGACC"), 1, 4, "GGTCTC"},

The regex only targets capitalized letters, which we enforce in the clone function. However, I need a way to simulate methylation of sequence - what if we used lowercase sequences in place of methylation? Instead of forcing capitalization, we could have flag for methylation.

This would be pretty easy to implement and would help me a bunch. Gonna reference in a new PR

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