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

Calculation of amino acid probabilities #15

Open
diamondspark opened this issue Dec 30, 2023 · 3 comments
Open

Calculation of amino acid probabilities #15

diamondspark opened this issue Dec 30, 2023 · 3 comments

Comments

@diamondspark
Copy link

How were the probabilities for amino acids in the class BaseSequence() calculated? Particularly, how was prob_ACPhel computed?
Thank You!

@alexarnimueller
Copy link
Owner

the AA probabilities are pre-computed based on a literature analysis of anticancer peptides. They are dependent on the sequence position and are defined here:
https://github.com/alexarnimueller/modlAMP/blob/60039e8a02f55d0797a6f0e25eeb046ff59eaadb/modlamp/core.py#L125C15-L125C15

The publication from which they originated is the following one, with a visualisation in Fig.3:
DOI https://doi.org/10.1039/C6MD00376A

Hope this helps

@diamondspark
Copy link
Author

Thank you. I understand this. I meant how were these probs. precomputed. Do you have the code for it? I want to recompute with updated literature on anticancer peptides.

@alexarnimueller
Copy link
Owner

Great to hear you want to update the AA probabilities.
This was done by @ggabernet outside of modlamp.
Briefly: ACPs were aligned and then for every position up to the first 18AAs, AAs were counted and returned as a fraction. That resulted in the numbers provided in https://github.com/alexarnimueller/modlAMP/blob/60039e8a02f55d0797a6f0e25eeb046ff59eaadb/modlamp/core.py#L125C15-L125C15
@ggabernet correct me if I'm wrong

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