Skip to content

Introduce Axes for Branched Residues - #502

Open
ioanaapapa wants to merge 32 commits into
mainfrom
425-branched-resids-all-atom-MOI-update
Open

ioanaapapa wants to merge 32 commits into
mainfrom
425-branched-resids-all-atom-MOI-update

Conversation

@ioanaapapa

@ioanaapapa ioanaapapa commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Treatment for branched residues (i.e. non-terminal residues with three or more neighbouring residues) was introduced. This closes #425.

Changes

  • A new case for residues with three or more edge atoms is introduced. The three edges (A 1-3) are used to define axes and find the centre of rotation. This is consistent with the method for defining axes for linear residues in a polymer: the third edge (A3) now takes the place of the centre of the backbone.
image
  • Edge atoms and neighbour residues definition is no longer dependent on residue index. The data_container used for calculating vibrational entropy at the UA level now consists of residue of interest + heavy atoms bonded to residue of interest in neighbour residues. The res_position argument is no longer used and get_UA_axes now has the resindex argument, which corresponds to the residue index of the residue of interest.

  • Science section of docs was updated to reflect changed and match labels and terminology used in upcoming paper about axes.

Testing

Impact

  • Residues which are tethered to more than two other residues are now more rigorously treated.

Checklist

  • [ X] Tests added or updated
  • [ X] Documentation updated
  • [ X] If dependencies in pyproject.toml changed, the lower bounds were reviewed deliberately

…bour atom), removed res_position, removed redundant test for 2 point terminal residue case, was the same as test_get_ua_axes_bonded_terminal_2_points

This branch has not been deployed

No deployments
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.

[Feature]: Branched Residues

1 participant