icolos.utils.execute_external package#
Submodules#
icolos.utils.execute_external.autodockvina module#
- class icolos.utils.execute_external.autodockvina.AutoDockVinaExecutor(prefix_execution=None, binary_location=None)[source]#
Bases:
ExecutorBaseFor the execution of AutoDock Vina 1.2.0.
icolos.utils.execute_external.cresset_executor module#
- class icolos.utils.execute_external.cresset_executor.CressetExecutor(prefix_execution=None, binary_location=None)[source]#
Bases:
ExecutorBaseFor the execution of Cresset binaries binary.
icolos.utils.execute_external.crest module#
icolos.utils.execute_external.execute module#
- class icolos.utils.execute_external.execute.Executor(prefix_execution=None, binary_location=None)[source]#
Bases:
ExecutorBaseFor execution of command-line programs that do not have any specific executor themselves.
icolos.utils.execute_external.fep_plus module#
icolos.utils.execute_external.glide module#
icolos.utils.execute_external.gold module#
icolos.utils.execute_external.gromacs module#
icolos.utils.execute_external.ifd_executor module#
icolos.utils.execute_external.jazzy module#
icolos.utils.execute_external.kallisto module#
- class icolos.utils.execute_external.kallisto.KallistoExecutor(prefix_execution=None, binary_location=None)[source]#
Bases:
ExecutorBaseFor the execution of the “kallisto” featurizer binary.
icolos.utils.execute_external.license_token_guard module#
- class icolos.utils.execute_external.license_token_guard.SchrodingerLicenseTokenGuard(*, token_guard: TokenGuardParameters)[source]#
Bases:
BaseModelClass that checks, whether enough tokens to execute Schrodinger binaries are available.
- token_guard: TokenGuardParameters#
- class icolos.utils.execute_external.license_token_guard.TokenGuardParameters(*, prefix_execution: str = None, binary_location: str = None, token_pools: Dict, wait_interval_seconds: int = 30, wait_limit_seconds: int = 0)[source]#
Bases:
BaseModel- binary_location: str#
- prefix_execution: str#
- token_pools: Dict#
- wait_interval_seconds: int#
- wait_limit_seconds: int#
icolos.utils.execute_external.ligprep module#
icolos.utils.execute_external.macromodel module#
- class icolos.utils.execute_external.macromodel.MacromodelExecutor(prefix_execution=None, binary_location=None)[source]#
Bases:
ExecutorBaseFor the execution of the “macromodel” binary.
icolos.utils.execute_external.omega module#
icolos.utils.execute_external.openbabel module#
icolos.utils.execute_external.pmx module#
icolos.utils.execute_external.prime module#
icolos.utils.execute_external.schrodinger module#
- class icolos.utils.execute_external.schrodinger.SchrodingerExecutor(prefix_execution=None, binary_location=None)[source]#
Bases:
ExecutorBaseFor the execution of Schrodinger’s support entry points
icolos.utils.execute_external.sdconvert module#
icolos.utils.execute_external.slurm_executor module#
- class icolos.utils.execute_external.slurm_executor.SlurmExecutor(cores: int, partition: str, time: str, mem: str, tasks: str, modules: List, other_args: dict, gres: str, additional_lines: List, prefix_execution=None, binary_location=None)[source]#
Bases:
ExecutorBaseFor execution of batch jobs to a Slurm cluster.
- execute(command: Optional[str] = None, arguments: Optional[list] = None, check: bool = True, location=None, pipe_input=None, tmpfile: Optional[str] = None, wait: bool = True)[source]#
Creates and executes the batch script using the provided resource requirements If a path to an existing batch script has not been passed via tmpfile, it is created Attempts to sbatch the jobscript, falling back on bash to provide compatibility with workstations (in this case #SLURM lines are ignored, and the execution becomes blocking)
- prepare_batch_script(command: str, arguments: List, pipe_input: Optional[str] = None, location: Optional[str] = None) str[source]#
Generate the batch script for a specific job and write to disk :param str command: command to be executed :param List arguments: List of arguments to be appended to the command :param str pipe_input: string to be piped to the program being executed, defaults to None :param str location: directory where batch script will be written, defaults to None :return str : path to the batch script