-
Notifications
You must be signed in to change notification settings - Fork 9
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
dynamic generation of SMILES for PTMs #199
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
I would suggest to integrate the data with the modification.tsv and the amino_acids.yaml: So we don't have to add a new constants folder and need to have double book keeping of modification names. I think we can add two keys for each entry: In the modifications.tsv you can just add a |
@boopthesnoot Have a look at #200. |
@GeorgWa But the smiles in the modifications.tsv will be a mess, some of them will be AA's with PTMs, some of them will be terminal modifications only, without the AA, and we would still have to store which is which somewhere. |
We could resolve this by looking up the localizer In alphabase the modification names like |
Yes, I think we should use only one PTM and AA defination file to avoid ambiguity in the future. |
We should use aa.tsv instead of aa.yaml for AAs, similar to modification.tsv |
Making sure modifications.tsv is up to date
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think with numpy style docstrings and without import level actions we are good to merge 👍🏻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I just catched that the dtype of unimod column in the modification.tsv changed to float. Can we move back? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! this PR definitely puts smiles in peoples faces ;-)
You can find the description and examples in
docs/nbs/tutorial_smiles.ipynb