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

Add script (CLI) / package to calculate atom pairwise energies in a protein complex interface #12

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

joaomcteixeira
Copy link
Collaborator

Add script (CLI) to calculate atom pairwise energies in a protein complex interface.

This Python file can also be added as a package in a library, and its function calculate_interface_atom_pairwise_energies can be imported and used within other workflows.

The algorithm uses OpenMM API to calculate energies. @JoaoRodrigues designed the OpenMM strategy to calculate atom pairwise energies, and I adapted it to fit specifically protein complexes and wrapped it around a CLI and useful function.

The calculate_interface_atom_pairwise_energies function returns a list of tuples where each tuple contains the information of each pair evaluated. Further description in the docstring. When using the CLI, this is ignored.

Using the function (by import) or the CLI, an energy.log file is saved to disk by default but can be disabled.

Updated the README file.

@joaomcteixeira joaomcteixeira added the enhancement New feature or request label Oct 18, 2023
@joaomcteixeira joaomcteixeira self-assigned this Oct 18, 2023
@joaomcteixeira
Copy link
Collaborator Author

Addresses DeepRank/deeprank2#501

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant