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

Revised amino acid similarity function. #267

Merged
merged 11 commits into from
Jun 3, 2023
Merged

Conversation

electronicsbyjulie
Copy link
Contributor

This PR revises AminoAcid::similarity_to() to use a per atom similarity algorithm with additional factors for matching hydrophilicity and charge. Amino acid similarities, like atom similarities, now fall in the range of zero to unity. The group classes have been updated to accommodate this new feature.

Additionally, the numerous amino tests have been replaced with one comprehensive test that compares all 21 aminos (selenocysteine being the extra member) in a grid format. The numerous one-at-a-time amino tests have been obviated and removed from the test folder, making it a little more tidy.

@electronicsbyjulie electronicsbyjulie linked an issue Jun 3, 2023 that may be closed by this pull request
@electronicsbyjulie
Copy link
Contributor Author

electronicsbyjulie commented Jun 3, 2023

🟩🟩🟩

@primaryodors primaryodors merged commit 8c15113 into stable Jun 3, 2023
@primaryodors primaryodors deleted the amino-similarity branch July 6, 2023 15:21
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

Successfully merging this pull request may close these issues.

Amino tests are failing.
2 participants