Created
March 8, 2022 20:11
-
-
Save ISDementyev/a5c9ddf37a9d3e2b7f7c0eeb3dd178ed to your computer and use it in GitHub Desktop.
Command line pseudocode for finding COM distance in PyMOL - not directly executable in its current format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# assuming you already have com coordinates, com1 and com2, which can be generated using centerofmass and appropriate input | |
pseudoatom com1_particle, pos=com1 | |
pseudoatom com2_particle, pos=com2 | |
dist distance_com, com1_particle, com2_particle | |
save file.pse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment