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

Implementation of eRMSD (AA), eRMSD (CG) and RMSD (Kabsch) [all unweighted] #321

Merged
merged 45 commits into from
Jun 19, 2024

Conversation

yihengwuKP
Copy link
Collaborator

@yihengwuKP yihengwuKP commented May 24, 2024

Hi, I've implemented eRMSD in AA or CG mappings. I've also incorporated Yezhi's implementation of Kabsch RMSD into the code @yzjin . I've implemented tests for all of them.

The eRMSD requires knowing the C2/C4/C6 of the six-membered ring in the base. The implementation of eRMSDCG is for the situation when we only know the other three sites in the base, and we need to first infer the position of C2/C4/C6 before we calculate the eRMSD.

The testing of eRMSD (AA) was done by comparing with the calculation exactly done by barnaba. The testing of eRMSDCG was done by comparing with the eRMSD so it's not exact but very close. The testing for RMSD is done by precalculated examples as in test kabsch as mentioned in #305

Please let me know if there are any suggestions/comments!

Copy link

trunk-io bot commented May 24, 2024

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

@yihengwuKP yihengwuKP changed the title Implementation of eRMSD (AA), eRMSD (CG) and unweighted RMSD (Kabsch) Implementation of eRMSD (AA), eRMSD (CG) and RMSD (Kabsch) [all unweighted] May 26, 2024
@yihengwuKP yihengwuKP requested a review from pabloferz May 27, 2024 18:31
pre-commit-ci bot and others added 2 commits May 28, 2024 03:16
<!--pre-commit.ci start-->
updates:
- [github.com/mwouts/jupytext: v1.15.2 → v1.16.2](mwouts/jupytext@v1.15.2...v1.16.2)
<!--pre-commit.ci end-->
pysages/colvars/orientation.py Outdated Show resolved Hide resolved
@yihengwuKP
Copy link
Collaborator Author

not sure why the Docker build test is failing...

@pabloferz
Copy link
Member

Can you rebase into the latest main?

@yihengwuKP yihengwuKP added stale Not being worked on right now. Evaluate for closing. collective variables and removed stale Not being worked on right now. Evaluate for closing. labels Jun 10, 2024
@yihengwuKP
Copy link
Collaborator Author

@pabloferz can we merge this now?

@pabloferz pabloferz merged commit a3b3098 into SSAGESLabs:main Jun 19, 2024
29 checks passed
@pabloferz
Copy link
Member

Yes, sorry about the delay. Thank you for adding these!

@yihengwuKP
Copy link
Collaborator Author

no problem, glad to help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants