Created
April 26, 2015 21:43
-
-
Save andersx/4be04cc56b41dbb9cb34 to your computer and use it in GitHub Desktop.
TINKER script to minimize .pdb files
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
| #!/bin/bash | |
| # Input pdbfile, force field key, optimization convergence | |
| PDB=$1 | |
| FF=$2 | |
| CONV=$3 | |
| TINKERBIN=/home/andersx/programs/tinker/bin | |
| # Convert PDB to tinker XYZ using the keyfile | |
| ${TINKERBIN}/pdbxyz.x ${PDB} -k ${FF} | |
| # Minimize using the tinker XYZ, keyfile and convergence argument | |
| ${TINKERBIN}/minimize.x ${PDB%.*}.xyz -k ${FF} ${CONV} | |
| # Convert resulting tinker XYZ to pdb | |
| echo ${TINKERBIN}/xyzpdb.x ${PDB%.*}.xyz -k ${FF} to convert to pdb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment