Requirements:
- Intel compiler
- Bash, linux environment
- Python 2
- catdcd https://www.ks.uiuc.edu/Development/MDTools/catdcd/
- Clone/copy the files into your location of choice/cluster
catdcd -o <dcdname> -xtc <xtcname> <optional>
Add the python2, intel, and gcc environment to the top of file "script"
./script "createmodule"
This file demonstates
- opening dcd file
- reading dcd header for #atoms, #frames information
- skips header when reading frames
- reading frames
- doing h-bond and first hydration shell calculation with distance and angle cutoff criteria
To verify, you should see stuff printed on your terminal as contained in file "output"
Make sure you set the python2, intel, and gcc environment
./script "createmodule"
python calculations.py
module load python/2.7.15
module load gcc
module load intel
git clone https://github.com/ankur9511/fortan_dcd_analysis.git
cd fortan_dcd_analysis/
chmod +x ./script
./script "createmodule"
python calculations.py