Install MCCE
This source code is based on MCCE 2.3. I removed the library dependencies so all you need is a gfortran and gcc compiler.
To download:
mcce2.7: mcce source code.
getpdb: an updated command line tool to download pdb file from Protein Data Bank
preprocess.py: a script to pre-process PDB file to make it friendly to MCCE
mfe.py: a command line tool to analyze ionization free energy. documentation
To install
tar -zxvf mcce.tar.gz
cd mcce
make clean
make
On Mac OS X, an explicit memory free for tree is not supported. You may have to change this subroutine in file lib/db.c
/* release database memory */ void free_param() { tdestroy(param_root, free); return; }
to
/* release database memory */ void free_param() { return; }
A set of sample run.prm files are under top mcce directory.
To install through conda
You can install mcce through conda
conda install -c https://conda.anaconda.org/salahsalah mcce
Test run mcce program
Assume mcce was compiled under /home/jmao/mcce2.7, mcce and delphi executables are now located under /home/jmao/mcce2.7/bin directory. Your installation location may differ.
Download getpdb and save it under /home/jmao/mcce2.7/bin
chmod +x /home/jmao/mcce2.7/bin/getpdb
Append mcce bin to $PATH
export PATH=$PATH:$HOME/mcce2.7/bin
Prepare a working directory with pdb file.
cd mkdir 4pti cd 4pti getpdb 4pti
preprocess.py 4PTI.pdb > prot.pdb
copy run.prm.quick to "run.prm
cp /home/jmao/mcce2.7/run.prm.quick run.prm
Edit run.prm to point pdb file, parameter directory, and delphi to the correct path
Change these lines as
prot.pdb (INPDB) t step 1: pre-run, pdb-> mcce pdb (DO_PREMCCE) t step 2: make rotatmers (DO_ROTAMERS) t step 3: do energy calculations (DO_ENERGY) t step 4: monte carlo sampling (DO_MONTE) 8.0 Protein dielectric constant for DelPhi (EPSILON_PROT) /home/jmao/mcce2.7/extra.tpl (EXTRA) /home/jmao/mcce2.7/name.txt MCCE renaming rule. (RENAME_RULES) /home/jmao/mcce2.7 (MCCE_HOME) /home/jmao/mcce2.7/bin/delphi DelPhi executable (DELPHI_EXE)
Run mcce
mcce > run.log &
Check log file for progress
cat run.log