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

fuse fails when attaching C-terminal NMe residue #430

Open
mtessmer opened this issue Feb 6, 2025 · 1 comment
Open

fuse fails when attaching C-terminal NMe residue #430

mtessmer opened this issue Feb 6, 2025 · 1 comment

Comments

@mtessmer
Copy link

mtessmer commented Feb 6, 2025

Describe the bug

PyMol fails to attach amino acids to preexisting structures using builder or editor cmd interfaces.

To Reproduce

Steps to reproduce the behavior:

  1. fetch 1ubq
  2. editor.attach_amino_acid('last name C', 'nme')

returns:
Error: no coordinate for source anchor atom

Expected behavior

The NMe or other residue should be attached to the structure

Environment

Additional context

Attaching amino acids seems to work fine when using a peptide built entirely from the builder interface but breaks when using PDB or CIF files from the PDB.

@JarrettSJohnson
Copy link
Member

Thanks for the report; there's unfortunately a couple of issues underlying here from what I see. One of them involves keeping around invalid fragments when a function has failed. I'll open an issue for awareness about this one. The specific reason though why this fails seems to be that builder fragments have their terminal oxygens removed to provide an open valence for amino acid attachments.

Thus,

fetch 1ubq
remove last name OXT
editor.attach_amino_acid('last name C', 'nme')

might be able to get you what you need here (assuming the final oxygen name is OXT).

Since we provide the spherical indicators that valid attachments should occur at that location, PyMOL should allow connections there. I'll see if I can just automatically replace these oxygens with the new fragment.

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