How to customize run.prm, the run configuration file?¶
Page last updated on: 2020-05-19
The mcce program reads file run.prm from the working directory and runs according to its instructions.
The two ways that run mcce are:
- customize run.prm and call mcce directly
- run step1.py, step2.py, step3.py, are step4.py as wrappers of mcce.
run.prm format¶
The valid parameters are defined as a key-value pair, defined by a line.
At the end of the line, the key string word is enclosed in a pair of parenthesis. The key string must be one word.
If a key is detected from a line, the first word of the line is its value.
For example:
f step 1: pre-run, pdb-> mcce pdb (DO_PREMCCE)
Lines other than parameter lines are considered as comment lines, therefore ignored.
Most commonly edited entries¶
Input and output¶
prot.pdb (INPDB)
Major mcce steps¶
MCCE can be divided into four steps.
The steps have keys:
- DO_PREMCCE
- DO_ROTAMERS
- DO_ENERGY
- DO_MONTE
The value 't' is for true (do), and 'f' is for false (not do).
Steps:
f step 1: pre-run, pdb-> mcce pdb (DO_PREMCCE)
f step 2: make rotatmers (DO_ROTAMERS)
f step 3: do energy calculations (DO_ENERGY)
f step 4: monte carlo sampling (DO_MONTE)
The later step depends on the out put of previous step.
Less edited entries¶
Step 2 and step 4 have more flexibility and are customized more often than others.
General¶
4.0 Protein dielectric constant for DelPhi (EPSILON_PROT)
/home/mcce/Stable-MCCE/extra.tpl (EXTRA)
- offset energy of ionizable residues. These energy corrects the residue solution pKa values based on previous benchmarks.
- The scaling factor of van der Walls energy term. The recommended values are the inverse of dielectric constant defined by EPSILON_PROT.
/home/mcce/Stable-MCCE/name.txt MCCE renaming rule. (RENAME_RULES)
- divide a big group into separate ionizable groups.
- put ligands and cofactor as one group.
This is done by renaming the atom and residue.
Step 2, Rotamer making¶
f Use control file "head1.lst" for rotamer making (ROT_SPECIF)
t Do swap (stereo isotope) (ROT_SWAP)
t Do rotate? (PACK)
6 number of rotamers in a bond rotation (ROTATIONS)
Step 4, Monte Carlo sampling¶
ph "ph" for pH titration, "eh" for eh titration (TITR_TYPE)
0.0 Initial pH (TITR_PH0)
1.0 pH interval (TITR_PHD)
0.0 Initial Eh (TITR_EH0)
30.0 Eh interval (in mV) (TITR_EHD)
15 Number of titration points (TITR_STEPS)
f Output Microstate from standard monte carlo (MS_OUT)
f Output readable micristate file from standard monte carlo (RE_MS_OUT)
System specific entries¶
These entries are tailored to the system and installation.
System and installation location¶
/home/mcce/Stable-MCCE (MCCE_HOME)
/home/mcce/Stable-MCCE/bin/delphi DelPhi executable (DELPHI_EXE)
/tmp delphi temporary file folder, "/tmp" uses node (PBE_FOLDER)
new.tpl local parameter file for unrecognized res (NEWTPL)
debug.log (DEBUG_LOG)
Detail levels of program output¶
t Minimize output files (MINIMIZE_SIZE)
t Print trace file (DO_TRACE)
t clean up delphi focusing directory? (DELPHI_CLEAN)
Other entries¶
Step 1¶
t Label terminal residues? (TERMINALS)
0.1 cut off water if % SAS exceeds this number (H2O_SASCUTOFF)
2.0 distance limit of reporting clashes (CLASH_DISTANCE)
t ignore hydrogens in input structure (IGNORE_INPUT_H)
Step 2:¶
t Rebuild sidechain based on torsion minima (REBUILD_SC)
f Do swing? (SWING)
10.0 phi in degrees of swing (PHI_SWING)
1.00 SAS cuttoff of making fewer rotamers (SAS_CUTOFF)
10.0 Cutoff of self vdw in kcal/mol (VDW_CUTOFF)
5000 number of repacks (REPACKS)
0.03 occupancy cutoff of repacks (REPACK_CUTOFF)
t h-bond directed rotamer making (HDIRECTED)
1.0 threshold for two conformers being different (HDIRDIFF)
36 Limit number of the H bond conformers (HDIRLIMT)
f Do relaxation on water (RELAX_WAT)
3.2 if distance between water and heavy atom is smaller than this, move water away (WATER_RELAX_THR)
10 number of cycles to relax rotamer clash (HV_RELAX_NCYCLE)
10 time (in fs) for each relaxation iteration (HV_RELAX_DT)
10 number of iterations (HV_RELAX_NITER)
2. relax rotamer if vdw interaction is bigger than this (HV_RELAX_VDW_THR)
5. not relax rotamer if heavy atom vdw is bigger than this (HV_RELAX_HV_VDW_THR)
-1.0 relax if electrostatic interaction is more favorable than this, and the charged groups are close (HV_RELAX_ELEC_THR)
0.1 threshold used to define a charged atom, see hv_relax_elec_dist_thr (HV_RELAX_ELEC_CRG_THR)
3.0 only relax electrostatically favorable pairs that has charged atom distance shorter than this (HV_RELAX_ELEC_DIST_THR)
20. scaling factor for torsion during relaxation (HV_TORS_SCALE)
10000 maximun n steps of shake (HV_RELAX_N_SHAKE)
0.001 maximun allowance for bond length to deviate (HV_RELAX_SHAKE_TOL)
1.0 constraint distance (HV_RELAX_CONSTRAINT)
20. constraint force for atom stay in original position (HV_RELAX_CONSTRAINT_FRC)
f include neighbors when doing relaxation (expensive) (HV_RELAX_INCLUDE_NGH)
4.0 threshold for include as a neighbor during relaxation (HV_RELAX_NGH_THR)
t Do relaxation on hydrogens (RELAX_H)
-5.0 Energy threshold for keeping the conformer (RELAX_E_THR)
200 Loop over N local microstates (RELAX_NSTATES)
6 default number of hydroxyl positions (RELAX_N_HYD)
5. do not relax hydrogen if vdw bwt two sidechain conformer bigger than this (RELAX_CLASH_THR)
1.0 phi for each step of relaxation (RELAX_PHI)
300 Maximum number of steps of relaxation (RELAX_NITER)
0.5 Torque threshold for keep relaxing (RELAX_TORQ_THR)
0.02 Last pruning threshold for conformers (PRUNE_THR)
0.5 Pruning cutoff of RMSD (PRUNE_RMSD)
1.0 Pruning cutoff of eletrostatic pairwise (PRUNE_ELE)
8.0 Pruning cutoff of vdw pairwise (PRUNE_VDW)
0 maximum number of conformer per residue ( 0=unlimited ) (NCONF_LIMIT)
step 3:¶
f Use SAS + Coulomb's law for ele interaction (QUICK_ENERGIES)
80.0 Solvent dielectric constant for DelPhi (EPSILON_SOLV)
65 Grids in each DelPhi (GRIDS_DELPHI)
2.0 The target grids per angstrom for DelPhi (GRIDS_PER_ANG)
1.4 Radius of the probe (RADIUS_PROBE)
2.0 Ion radius (IONRAD)
0.15 Salt (SALT)
f skip delphi in step3 (DEBUG option) (SKIP_ELE)
f Reassign charge and radii before delphi(if not true then use value in PDB file) (REASSIGN)
f Recalculate torsions energy when write out head3.lst (RECALC_TORS)
1.7 defalut van der Waals radius, for SAS (DEFAULT_RADIUS)
0.5 factor to 1-4 LJ potontial (1.0 is full) (FACTOR_14LJ)
6.0 dielectric constant for Coulomb's law (EPSILON_COULOMB)
1 delphi start conformer number, 0 based (PBE_START)
99999 delphi end conformer number, self included (PBE_END)
step 4:¶
f Average the pairwise, "f" uses the smaller (AVERAGE_PAIRWISE)
20. Warning Threshold of difference in pairwise (WARN_PAIRWISE)
5.0 Big pairwise threshold to make big list (BIG_PAIRWISE)
-1 Random seed, -1 uses time as random seed (MONTE_SEED)
298.15 Temperature (MONTE_T)
3 Number of flips (MONTE_FLIPS)
100 Annealing = n_start * confs (MONTE_NSTART)
500 Equalibration = n_eq * confs (MONTE_NEQ)
0.001 Cut-off occupancy of the reduction (MONTE_REDUCE)
### Only for Junjun's monte carlo
2 Number of independent monte carlo sampling (MONTE_RUNS)
2000 Sampling = n_iter * confs (MONTE_NITER)
20000 Trace energy each MONTE_TRACE steps, 0 no trace (MONTE_TRACE)
1000000 Maximum microstates for analytical solution (NSTATE_MAX)
f Specify mfe point, f=pKa/Em (MFE_POINT)
-1.0 MFE cutoff(Kcal), default 0.5 (MFE_CUTOFF)
### Only for Yifan's monte carlo
t Using Yifan's monte carlo (MONTE_ADV_OPT)
f Using format from old version (MONTE_OLD_INPUT)
5000 Min Sampling = n_iter * confs (MONTE_NITER_MIN)
-1 Max Sampling = n_iter * confs(-1 stop @ converge) (MONTE_NITER_MAX)
10000 Number of iterations each cycle (MONTE_NITER_CYCLE)
1000 niter * n_conf check convergence (MONTE_NITER_CHK)
-1 Number of the reduce steps(-1 stop @ converge) (MONTE_N_REDUCE)
0.01 Threshhold for convergence (MONTE_CONVERGE)
f Calculate free energy (MONTE_DO_ENERGY)
298.15 Starting temperature for annealling (ANNEAL_TEMP_START)
0 Number of steps of annealling (ANNEAL_NSTEP)
1000 Number of iterations for each annealling step (ANNEAL_NITER_STEP)
IPECE parameters¶
f add neutral atoms to simulate a membrane slab (IPECE_ADD_ME)
33. the thichness of the membrane to be add (IPECE_MEM_THICKNESS)
M the chain ID of the add atoms (IPECE_MEM_CHAINID)