icolos.core.workflow_steps package#
Subpackages#
- icolos.core.workflow_steps.autodockvina package
- icolos.core.workflow_steps.calculation package
- Submodules
- icolos.core.workflow_steps.calculation.base module
- icolos.core.workflow_steps.calculation.boltzmann_weighting module
- icolos.core.workflow_steps.calculation.clustering module
- icolos.core.workflow_steps.calculation.cosmo module
- icolos.core.workflow_steps.calculation.cresset_ec module
- icolos.core.workflow_steps.calculation.esp_sim module
- icolos.core.workflow_steps.calculation.feature_counter module
- icolos.core.workflow_steps.calculation.jazzy module
- icolos.core.workflow_steps.calculation.kallisto module
- icolos.core.workflow_steps.calculation.lomap module
- icolos.core.workflow_steps.calculation.panther module
- icolos.core.workflow_steps.calculation.rms_filter module
- icolos.core.workflow_steps.calculation.rmsd module
- icolos.core.workflow_steps.calculation.shaep module
- icolos.core.workflow_steps.calculation.turbomole module
- Module contents
- icolos.core.workflow_steps.ccdc package
- icolos.core.workflow_steps.confgen package
- icolos.core.workflow_steps.fpocket package
- icolos.core.workflow_steps.gromacs package
- Submodules
- icolos.core.workflow_steps.gromacs.base module
- icolos.core.workflow_steps.gromacs.cluster module
- icolos.core.workflow_steps.gromacs.clusters_ts module
- icolos.core.workflow_steps.gromacs.do_dssp module
- icolos.core.workflow_steps.gromacs.editconf module
- icolos.core.workflow_steps.gromacs.genion module
- icolos.core.workflow_steps.gromacs.grompp module
- icolos.core.workflow_steps.gromacs.mdrun module
- icolos.core.workflow_steps.gromacs.mmpbsa module
- icolos.core.workflow_steps.gromacs.pdb2gmx module
- icolos.core.workflow_steps.gromacs.rsmd module
- icolos.core.workflow_steps.gromacs.select module
- icolos.core.workflow_steps.gromacs.solvate module
- icolos.core.workflow_steps.gromacs.trajcat module
- icolos.core.workflow_steps.gromacs.trjconv module
- Module contents
- icolos.core.workflow_steps.io package
- icolos.core.workflow_steps.openff package
- icolos.core.workflow_steps.pmx package
- Submodules
- icolos.core.workflow_steps.pmx.abfe module
- icolos.core.workflow_steps.pmx.assemble_systems module
- icolos.core.workflow_steps.pmx.atomMapping module
- icolos.core.workflow_steps.pmx.base module
- icolos.core.workflow_steps.pmx.box_water_ions module
- icolos.core.workflow_steps.pmx.doublebox module
- icolos.core.workflow_steps.pmx.genlib module
- icolos.core.workflow_steps.pmx.gentop module
- icolos.core.workflow_steps.pmx.ligandHybrid module
- icolos.core.workflow_steps.pmx.mutate module
- icolos.core.workflow_steps.pmx.prepare_simulations module
- icolos.core.workflow_steps.pmx.prepare_transitions module
- icolos.core.workflow_steps.pmx.run_analysis module
- icolos.core.workflow_steps.pmx.run_simulations module
- icolos.core.workflow_steps.pmx.setup_workpath module
- Module contents
- icolos.core.workflow_steps.prediction package
- icolos.core.workflow_steps.schrodinger package
- Submodules
- icolos.core.workflow_steps.schrodinger.base module
- icolos.core.workflow_steps.schrodinger.desmond_exec module
- icolos.core.workflow_steps.schrodinger.desmond_preprocessor module
- icolos.core.workflow_steps.schrodinger.fep_absolute module
- icolos.core.workflow_steps.schrodinger.fep_analysis module
- icolos.core.workflow_steps.schrodinger.fep_base module
- icolos.core.workflow_steps.schrodinger.fep_plus_execution module
- icolos.core.workflow_steps.schrodinger.fep_plus_setup module
- icolos.core.workflow_steps.schrodinger.glide module
- icolos.core.workflow_steps.schrodinger.ligprep module
- icolos.core.workflow_steps.schrodinger.macromodel module
- icolos.core.workflow_steps.schrodinger.prepwizard module
- icolos.core.workflow_steps.schrodinger.prime module
- icolos.core.workflow_steps.schrodinger.protein_interaction module
- icolos.core.workflow_steps.schrodinger.residue_scanning module
- Module contents
- icolos.core.workflow_steps.structure_prediction package
- Submodules
- icolos.core.workflow_steps.structure_prediction.disicl module
- icolos.core.workflow_steps.structure_prediction.dssp module
- icolos.core.workflow_steps.structure_prediction.pdb_fixer module
- icolos.core.workflow_steps.structure_prediction.peptide_embedder module
- icolos.core.workflow_steps.structure_prediction.rosetta_abinitio module
- Module contents
Submodules#
icolos.core.workflow_steps.step module#
- class icolos.core.workflow_steps.step.StepBase(*, step_id: str, work_dir: str = None, type: str = None, data: ~icolos.core.step_utils.input_preparator.StepData = StepData(compounds=[], generic=<icolos.core.containers.generic.GenericContainer object>, gmx_state=Gromacs Topology object: System: [] | Molecules: [] | FF: amber03 | itp files: [] | posre files []), input: ~icolos.core.step_utils.input_preparator.StepInputParameters = StepInputParameters(compounds=[], generic=[], gmx_state={}, perturbation_map=None, merge=StepMerge(compounds=True, enumerations=False, merge_compounds_by=<StepBaseEnum.INPUT_MERGE_BY_NAME: 'name'>, merge_enumerations_by=<StepBaseEnum.INPUT_MERGE_BY_ID: 'id'>), work_dir=None), writeout: ~typing.List[~icolos.core.step_utils.step_writeout.StepWriteoutParameters] = [], execution: ~icolos.core.workflow_steps.step.StepExecutionParameters = StepExecutionParameters(prefix_execution=None, binary_location=None, pipe_input=None, parallelization=StepExecutionParallelizationParameters(jobs=1, max_length_sublists=None), failure_policy=StepFailurePolicyParameters(n_tries=1, retry_wait_seconds=10), check_backend_availability=False, resources=StepExecutionResourceParameters(partition=<ExecutionPlatformEnum.CORE: 'core'>, time='12:00:00', gres=None, tasks=None, mem=None, cores=None, modules=[], other_args={}, additional_lines=[]), platform=<ExecutionPlatformEnum.LOCAL: 'local'>), settings: ~icolos.core.workflow_steps.step.StepSettingsParameters = StepSettingsParameters(arguments=StepSettingsArgsParameters(flags=[], parameters={}), additional={}))[source]#
Bases:
BaseModel
- clone_compounds() List[Compound] [source]#
Deepcopy each compound in self.data.compounds
- Return List[Compound]:
cloned list of Compounds
- execution: StepExecutionParameters#
- get_arguments(defaults: Optional[dict] = None) List[str] [source]#
Construct pmx-specific arguments from the step defaults, overridden by arguments specified in the config file
- Parameters:
defaults (dict) – optional set of key-value pairs for default arguments, defaults to None
- Return List[str]:
formatted list of strings
- get_generic() GenericContainer [source]#
- get_perturbation_map() PerturbationMap [source]#
return the perturbation map attached to the workflow
- Return PerturbationMap:
the perturbation map in its current state
- get_step_id() str [source]#
Get the step’s unique string identifier
- Return str:
self.step_id, as specified in the step’s config
- get_topol() GromacsState [source]#
Get the gromacs state attached to the step
- Return GromacsState:
Current state of the GromacsState object
- input: StepInputParameters#
- set_step_id(step_id: str)[source]#
Set the step’s unique ID
- Parameters:
step_id (str) – unique identifier for the step
- settings: StepSettingsParameters#
- step_id: str#
- type: str#
- work_dir: str#
- write_conformers(path: str)[source]#
Convenience function for frequent conformer coordinate write-out. Better to use the WriteOutHandler class.
- write_generic_by_extension(path: str, ext: str, join=True)[source]#
Write all generic data objects with a given extension
- Parameters:
path (str) – path to write object to, by default just a directory
ext (str) – extension
join (bool) – controls join behaviour, if True, joins existing filename to path, defaults to True
- write_generic_by_name(path: str, name: str)[source]#
Write a generic file by name
- Parameters:
path (str) – directory to write to
name (str) – name of file to be written out
- writeout: List[StepWriteoutParameters]#
- class icolos.core.workflow_steps.step.StepExecutionParameters(*, prefix_execution: str = None, binary_location: str = None, pipe_input: str = None, parallelization: ~icolos.core.workflow_steps.step.StepExecutionParameters.StepExecutionParallelizationParameters = StepExecutionParallelizationParameters(jobs=1, max_length_sublists=None), failure_policy: ~icolos.core.workflow_steps.step.StepFailurePolicyParameters = StepFailurePolicyParameters(n_tries=1, retry_wait_seconds=10), check_backend_availability: bool = False, resources: ~icolos.core.workflow_steps.step.StepExecutionResourceParameters = StepExecutionResourceParameters(partition=<ExecutionPlatformEnum.CORE: 'core'>, time='12:00:00', gres=None, tasks=None, mem=None, cores=None, modules=[], other_args={}, additional_lines=[]), platform: ~icolos.utils.enums.execution_enums.ExecutionPlatformEnum = ExecutionPlatformEnum.LOCAL)[source]#
Bases:
BaseModel
- class StepExecutionParallelizationParameters(*, jobs: int = 1, max_length_sublists: int = None)[source]#
Bases:
BaseModel
- jobs: int#
- max_length_sublists: int#
- binary_location: str#
- check_backend_availability: bool#
- failure_policy: StepFailurePolicyParameters#
- parallelization: StepExecutionParallelizationParameters#
- pipe_input: str#
- platform: ExecutionPlatformEnum#
- prefix_execution: str#
- resources: StepExecutionResourceParameters#
- class icolos.core.workflow_steps.step.StepExecutionResourceParameters(*, partition: str = ExecutionPlatformEnum.CORE, time: str = '12:00:00', gres: str = None, tasks: str = None, mem: str = None, cores: int = None, modules: List = [], other_args: dict = {}, additional_lines: List = [])[source]#
Bases:
BaseModel
- additional_lines: List#
- cores: int#
- gres: str#
- mem: str#
- modules: List#
- other_args: dict#
- partition: str#
- tasks: str#
- time: str#
- class icolos.core.workflow_steps.step.StepFailurePolicyParameters(*, n_tries: int = 1, retry_wait_seconds: int = 10)[source]#
Bases:
BaseModel
- n_tries: int#
- retry_wait_seconds: int#
- class icolos.core.workflow_steps.step.StepSettingsArgsParameters(*, flags: List = [], parameters: Dict = {})[source]#
Bases:
BaseModel
- flags: List#
- parameters: Dict#
- class icolos.core.workflow_steps.step.StepSettingsParameters(*, arguments: StepSettingsArgsParameters = StepSettingsArgsParameters(flags=[], parameters={}), additional: Dict = {})[source]#
Bases:
BaseModel
- additional: Dict#
- arguments: StepSettingsArgsParameters#