Skip to content

Instantly share code, notes, and snippets.

@ISDementyev
Created March 8, 2022 20:11
Show Gist options
  • Save ISDementyev/a5c9ddf37a9d3e2b7f7c0eeb3dd178ed to your computer and use it in GitHub Desktop.
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
# 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