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

Improve atom mapping between chiral centers #1111

Merged
merged 11 commits into from
Oct 22, 2024
Merged

Conversation

drroe
Copy link
Contributor

@drroe drroe commented Oct 22, 2024

Version 6.29.5.

Previously when mapping atoms bonded to chiral centers, atommap would use a simple cutoff scheme comparing the improper dihedral angle formed by (M-C-M-U), where M is a mapped atom, C is the chiral center, and U is an unmapped atom. This cutoff had been intentionally chosen to be tight (10 degrees) to prevent bad mapping, but if one structure was distorted with respect to the other this could cause the mapping to fail. Now in the most common chiral case (chiral center, 2 mapped atoms, 2 unmapped atoms) the sign of each angle is used instead of a delta, i.e. the negative angle in reference is mapped to the negative angle in target and vice versa. There is still a warning printed if the delta between the angles is outside the cutoff indicating the structures may be distorted.

Also added a keyword to atommap, chiralimpcut <cut> that can be used to increase the default cutoff to beyond 10 degrees. Update the manual.

@drroe drroe added enhancement New keywords New keywords for existing commands. labels Oct 22, 2024
@drroe drroe self-assigned this Oct 22, 2024
@drroe drroe merged commit cdf7e30 into Amber-MD:master Oct 22, 2024
13 checks passed
@drroe drroe deleted the atommap.chiral branch October 22, 2024 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New keywords New keywords for existing commands.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant