Created
January 18, 2016 09:33
-
-
Save jaimergp/52e04a33603e067b1b07 to your computer and use it in GitHub Desktop.
Center MD protein in PBC box with VMD
This file contains hidden or 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
###################################################################### | |
### Center multi-unit protein in pbc box with VMD | |
### Make sure you are in first frame of MD | |
###################################################################### | |
# Join separate units for this first frame only | |
pbc join connected -now | |
pbc join residue -now | |
# Join the protein for all MD | |
pbc unwrap -sel "not waters" -all | |
# Place the protein in the center of the box | |
pbc wrap -centersel "not waters" -center com -compound residue -all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment