schrodinger.pipeline.stages.qikprop module

A stage for running QikProp jobs.

Copyright Schrodinger, LLC. All rights reserved.

class schrodinger.pipeline.stages.qikprop.QikPropStage(*args, **kwargs)

Bases: schrodinger.pipeline.stage.Stage

Stage for running QikProp jobs. QikProp properties are added to the output structures.

There are no keywords specific to this stage.

The stage takes one set of input structure files and generates one set of corresponding output files.

The number of subjobs generated is equal to the number of input files.

__init__(*args, **kwargs)

See class docstring.

recombineInputLigands()

Read all input structures, and save each structure into a subjob input file.

setupJobs()

Sets up the QikProp jobs, which are distributed via JobDJ. There will be one QikProp job for each input file.

processJobOutputs()

Checks for failure of any subjobs (by reading the .log file). Renames the QikProp output files. Raises a RuntimeError if any subjob failed.

checkForCompletion(i, job, restarting)

Test whether output files exist for the given job, given the JobDJ’s job object. If not <restarting> then makr the job for restart if the files are missing. If <restarting> and the job files exit, mark the job as finished.

Return True if job files exist, False otherwise.

operate()

Perform an operation on the input files. There are setup, running, and post-processing steps, and the stage records its current status so that it can be restarted in that step if there is a failure. Raises a RuntimeError if the JobDJ run() method fails, or if the stage finishes with an improper status.