Home | Trees | Indices | Help |
|
---|
|
Run many AmberEntropist calculations on many nodes. The Master has a standard set of 13 protocols to run on rec, lig, and com trajectories, as well as on every single member trajectory - in total 113. It accepts one variable parameter, e.g. s(tart). Each protocol is then run for all values of the variable parameter. A protocol is simply a set of options that are passed on to the AmberEntropist (which is run from within AmberEntropySlave). Comparing the different protocols allows to more or less separate random from real correlations, rigid body from intermolecular vibrations, etc.
Results are put into a tree-shaped dictionary of dictionaries. The first dimension/key is the member index -- None for the complete ensemble trajectory, 0 for the first member, etc. The second dimension/key is the name of the protocol, e.g. 'com_split' for the complex trajectory with seperately fitted receptor and ligand. The last dimension contains the different values obtained from the ptraj run, e.g. 'S_total' points to the total entropy in cal/mol/K, 'contributions' to the entropy contribution of each mode, 'T' to the assumed temperature, 'vibes' gives the number of vibrations with too low frequencies (according to ptraj). All these are lists of values - one for each value of the variable option.
Example:* r[None]['fcom']['S_vibes'][0] -> float first vibr. Entropy of free fake complex for complete ensemble * r[0]['com']['S_total'] -> [ float, float, .. ] the total entropies of the complex calculated for the first ensemble member and the different values of the variable option
|
|||
| __init__(self, rec=None, lig=None, com=None, out=None, cr=None, var='s', vrange=[0], jack=0, zfilter=None, clean=0, all=1, exrec=[], exlig=[], excom=[], hosts=cpus_all, niceness=nice_dic, w=0, a=1, debug=0, restart=0, **kw) | ||
[int] OR [float]
|
__vrange(self,
v) Interprete the vrange option -> [ int ] or [ float ] |
||
int OR float
|
__float_int(self,
v) Convert v to int or, if necessary, float |
||
trajectoty, [int], [int]
|
loadTraj(self,
fname,
outliers=[],
refname=None) Load trajectory from file. |
||
|
processTrajs(self) Extract reference model and member trajectories from rec, lig, and com trajectories. |
||
|
equalizeMemberCount(self,
n_rec,
n_lig,
n_com) Ensure we keep equal number of members trajectories from frec, flig, and com. |
||
|
prepareJackknife(self) Prepare leave-one-trajectory-out jackknife test. |
||
| nameRef(self, fname) | ||
| nameRefCom(self, fname) | ||
str
|
dumpMissing(self,
o,
fname) Pickle *o* to path *fname*, if it is not already there. |
||
[int]
|
getOutliers(self,
traj,
outlaws=[]) Identify member trajectories that haved moved much further than normal. |
||
[str]
|
dumpMembers(self,
traj,
fname) Dump ensemble member trajectories |
||
{param:value}
|
getInitParameters(self,
slave_tid) hand over parameters to slave once. |
||
|
cleanup(self) Tidy up |
||
|
cleanCache(self) Remove left-over cache files |
||
|
saveProtocols(self) Save protocol to file. |
||
|
done(self) Write result to file. |
||
|
__cpupdate(self,
d1,
d2) Merge 2 dictionaries *d1* and *d2* and return a copy |
||
dict of dict
|
protocols_standard(self,
trec,
tlig,
tcom,
ex_frec=None,
ex_flig=None,
ex_com=None,
doshift=1,
**options) Create 13 parameter sets for AmberEntropist that cover the calculation of rec, lig, com and fcom entropies with and without splitting of the complex, with and without shifting and shuffling of frames. |
||
dict of dict
|
protocols_single_all(self,
**options) Set of protocols for all-member trajectories AND single-member traj. |
||
|
protocols_var_range(self,
**options) Complete set of protocols also considering different values of the variable option. |
||
dict of dict of dict of dict
|
dictionate(self,
d) Take dict with tuple keys (value, int_member, str_protocol) and build a tree-like dict of dicts in which the values of d can be accessed like: |
||
dict of dict of dict of lists
|
getResult(self,
**arg) Collapse the results for different values of the variable parameter into lists and put the results into a tree ala: |
||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|
Interprete the vrange option -> [ int ] or [ float ]
|
Convert v to int or, if necessary, float
|
Load trajectory from file.
|
Extract reference model and member trajectories from rec, lig, and com trajectories. Identify outlier member trajectories, if requested. |
Ensure we keep equal number of members trajectories from frec, flig, and com.
|
Prepare leave-one-trajectory-out jackknife test. |
|
|
Pickle *o* to path *fname*, if it is not already there.
|
Identify member trajectories that haved moved much further than normal.
|
Dump ensemble member trajectories
|
hand over parameters to slave once.
|
Tidy up |
Remove left-over cache files |
Save protocol to file. |
Write result to file.
|
Merge 2 dictionaries *d1* and *d2* and return a copy |
Create 13 parameter sets for AmberEntropist that cover the calculation of rec, lig, com and fcom entropies with and without splitting of the complex, with and without shifting and shuffling of frames.
|
Set of protocols for all-member trajectories AND single-member traj. with the different shuffle, shift, split settings. Usually 11 x 13 protocols for AmberEntropist (10 members and 1 for all)
|
Complete set of protocols also considering different values of the variable option. |
Take dict with tuple keys (value, int_member, str_protocol) and build a tree-like dict of dicts in which the values of d can be accessed like: d[value][int_member][str_protocol]
|
Collapse the results for different values of the variable parameter into lists and put the results into a tree ala: r[ member_index ][ protocol_name ][ result_field ] -> [ values ]
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Tue May 1 22:34:51 2007 | http://epydoc.sourceforge.net |