Created
March 2, 2016 23:23
-
-
Save avishekrk/146f13fb2f1d64827015 to your computer and use it in GitHub Desktop.
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 | |
##run cpptraj for cases where | |
##there are not covariance matrics | |
module load amber/14 | |
for f in *.cpptraj; | |
do | |
echo ${f} | |
prefix=$(echo $f | cut -d. -f1); | |
echo $prefix | |
if [ -f ${prefix}_mwcovarmat.dat ] | |
then | |
echo "Found ${prefix}_mwcovarmat.dat"; | |
continue; | |
fi | |
cpptraj -i ${f}; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment