Skip to content

Instantly share code, notes, and snippets.

@orbeckst
Last active May 27, 2016 19:01
Show Gist options
  • Save orbeckst/5d1bf60a5b20f1cf14de4f631714c376 to your computer and use it in GitHub Desktop.
Save orbeckst/5d1bf60a5b20f1cf14de4f631714c376 to your computer and use it in GitHub Desktop.
manual test run for Becksteinlab/hop
#!/bin/bash
# get test data from https://www.dropbox.com/sh/jp1n4zc7q5nxvzf/AABrM8iEypZE-g2gOFfOgahRa?dl=0
# see https://github.com/Becksteinlab/hop/wiki/Testing#manual-tests
TESTDIR=analysis
PSF=ifabp_water.psf
DCD=rmsfit_ifabp_water_1.dcd
CUTOFF=1.3
DELTA=2.0
rm -rf $TESTDIR
hop-generate-densities.py -s ${PSF} -f ${DCD} -A "name OH2" -D ${TESTDIR} \
--delta=$DELTA --threshold=$CUTOFF || exit 1
hop-generate-hoptraj.py -s ${PSF} -f ${DCD} -o ${TESTDIR}/hoptraj \
${TESTDIR}/water.pickle || exit 1
hop-generate-hopgraph.py -s ${TESTDIR}/hoptraj.psf -f ${TESTDIR}/hoptraj.dcd \
-o ${TESTDIR}/hopgraph ${TESTDIR}/water.pickle || exit 1
@orbeckst
Copy link
Author

Script was used in Becksteinlab/hop#11

@orbeckst
Copy link
Author

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