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

Added residue replacement to handle protein chemical modifications and NCAAs #128

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

Conversation

gfzhou
Copy link

@gfzhou gfzhou commented Jun 12, 2024

No description provided.

Copy link
Collaborator

@r-krishna r-krishna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs some clarification in the README

residue_index_to_replace: 57
input: examples/residue_replacement/SEP_ideal_trim.sdf
input_type: "sdf"
N_index_atom: 1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this 0 indexed or 1 indexed?

C_index_atom = int(residue_replacement[chain].C_index_atom)
residues_to_atomize.append(AtomizedResidue(
chain,
0,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this always 0?

@@ -263,6 +263,37 @@ becomes this so it can be parsed correctly:

We know this syntax is hard to work with and we are happy to review PRs if anyone in the community can figure out how to specify all the necessary requirements in a more user friendly way!

<a id="residue_replacement"></a>
### Predicting Proteins with Chemical Modifications or Non-Canonical Amino Acids
To predict proteins with chemically modified residues or non-canonical amino acids, you can use residue replacement. This involves replacing the chemically modified residue or NCAA with a small molecule file that defines the structure of the modified residue. Here is an example of predicting a phosphorylated protein structure. (from `rf2aa/config/inference/residue_replacement.yaml`)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are there any edge cases with running these with protein multimers or cases with small molecules? does order of inputs matter?

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.

2 participants