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

Covalent Modifications to Protein Sequence Retain OXT Atoms #94

Open
benf549 opened this issue Dec 6, 2024 · 0 comments
Open

Covalent Modifications to Protein Sequence Retain OXT Atoms #94

benf549 opened this issue Dec 6, 2024 · 0 comments

Comments

@benf549
Copy link

benf549 commented Dec 6, 2024

Hey Boltz Team,

Thanks for taking on this project and for writing such clean code. I was playing around with covalently modified residues and I ran into a bug where the OXT leaving atom is not removed. I believe I was able to fix this by adding a flag to remove atoms named OXT when parsing a non-standard residue in the parse_ccd_residue function and I've made a PR to fix it (#93).

A more general approach which handles "leaving atoms" more generally might be appropriate, but this might be an easy fix for now.

This is a minimal input yaml file you can use to replicate the issue:

version: 1  # Optional, defaults to 1
sequences:
  - protein:
      id: [A]
      sequence: AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
      msa: empty
      modifications:
        - position: 8
          ccd: 'SEP'

And here is a sample output, the OXT atom should be removed.
image

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

1 participant