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

Polyclonal dependency #101

Open
jgallowa07 opened this issue Jul 19, 2023 · 4 comments
Open

Polyclonal dependency #101

jgallowa07 opened this issue Jul 19, 2023 · 4 comments

Comments

@jgallowa07
Copy link
Member

We have a pretty weak dependency on polyclonal - we could remove this by simply adding our own alphabets, and mutation parser. Although, I wonder if these could be part of binarymap 🤔 @jbloom

@jbloom
Copy link
Collaborator

jbloom commented Jul 20, 2023

binarymap already defines alphabets: https://github.com/jbloomlab/binarymap/blob/main/binarymap/binarymap.py#L33-L64

Can you let me know more precisely what mutation parser you are using from polyclonal by pointing me to specific function / method?

@jgallowa07
Copy link
Member Author

RE alphabets - amazing!

I was referring to the mut parser in polyclonal utils https://github.com/jbloomlab/polyclonal/blob/3e51bee35993f6e425c779171a0202d2f5008dfb/polyclonal/utils.py#L18

That we use here, in multidms ->

self._mutparser = MutationParser(alphabet, letter_suffixed_sites)

@jbloom
Copy link
Collaborator

jbloom commented Aug 3, 2023

@jgallowa07, sorry for taking so long to reply to this. I think this is a reasonable idea, but will not have time to do it myself for a while.

If you want, you should feel free to open a pull request adding this feature to binarymap (or multidms) as well.

@jgallowa07
Copy link
Member Author

Great, yes will do. I'll keep this open as a reminder to do that when I get a chance - but it's pretty low priority AFAICT.

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