Module analyze_trajectories
analyze_trajectories.py -- analyze a set of Desmond trajectories
This script will generate data for a series of analyses performed on
set of Desmond trajectories. It needs to be provided with the output cms
file, an input st2 (ark keyword) file, and an output filename.
This script has been rewritten mostly from scratch for the purpose of
processing ark keyword files, and a more readable format.
Copyright Schrodinger, LLC. All rights reserved.
|
|
_KeywordProcessor
This class processes ARK keywords coming from a .st2 input file, it
turns the keywords into Analysis objects to be used by the backend.
|
|
|
read_trj_idx_file(trjfn)
Obtain the trajectory directory from the trj idx file |
|
|
|
|
write_log(msg)
Write to log file |
|
|
|
|
write_error(msg)
Write an error message, cleanup, and exit |
|
|
|
|
|
|
|
| assemble_energy_results(energy_type,
component_type,
frame_results) |
|
|
|
|
unique(seq,
idfun=None)
An funtion to return unique element of a sequence with order
preserved. |
|
|
|
|
| main(cmsfn,
st2fn,
outfn,
trjfn=None,
cfgfn=None) |
|
|
|
|
|
|
|
__doc__ = """analyze_trajectories.py -- analyze a set of Desmo...
|
|
|
_version = '$Revision: 0.0 $'
|
|
|
logger = log.get_output_logger("analyze_trajectories")
|
|
|
default_cfg_fn = None
hash(x)
|
|
|
default_trj_fn = None
hash(x)
|
|
|
_energy_attr_dict = {'ANGLE': 'angle', 'BOND': 'stretch', 'COU...
|
|
|
_component_list = ['SELF', 'OTHER', 'SOLUTE', 'MEMBRANE', 'SOL...
|
|
|
__package__ = 'schrodinger.trajectory'
|
|
Write an error message, cleanup, and exit
An error is output when the program encounters an issue which causes
the program to exit. Also see write_warning.
|
write_warning(msg,
incl_time=True)
|
|
Write a warning message
A warning is output only for information and does not cause the
program to exit. It is written to the error stream. Also see
write_err.
|
__doc__
- Value:
"""analyze_trajectories.py -- analyze a set of Desmond trajectories
This script will generate data for a series of analyses performed on
set of Desmond trajectories. It needs to be provided with the output
cms file, an input st2 (ark keyword) file, and an output filename.
This script has been rewritten mostly from scratch for the purpose of
processing
...
|
|
_energy_attr_dict
- Value:
{'ANGLE': 'angle',
'BOND': 'stretch',
'COULOMB': 'elec',
'TORSION': 'dihedral',
'TOTAL': 'Total',
'VDW': 'vdw'}
|
|
_component_list
- Value:
['SELF', 'OTHER', 'SOLUTE', 'MEMBRANE', 'SOLVENT']
|
|