Example #1
0
# job.uuid = "7cacc2af-cae7-4dc7-8956-fcf539861e3d"

ifs = DatasetReaderCube("ifs")
ifs.promote_parameter("data_in",
                      promoted_name="in",
                      title="System Input OERecord",
                      description="OERecord file name")

confGather = ConformerGatheringData("Gathering Conformer Records")
ligTrajCube = ParallelConfTrajsToLigTraj("ConfTrajsToLigTraj")
ligMMPBSA = ParallelConcatenateTrajMMPBSACube('ConcatenateTrajMMPBSACube')

ofs = DatasetWriterCube('ofs', title='OFS-Success')
ofs.promote_parameter("data_out",
                      promoted_name="out",
                      title="System Output OERecord",
                      description="OERecord file name")

fail = DatasetWriterCube('fail', title='Failures')
fail.promote_parameter("data_out", promoted_name="fail")

job.add_cubes(ifs, confGather, ligTrajCube, ligMMPBSA, ofs, fail)

ifs.success.connect(confGather.intake)
confGather.success.connect(ligTrajCube.intake)
ligTrajCube.success.connect(ligMMPBSA.intake)
ligMMPBSA.success.connect(ofs.intake)
ligMMPBSA.failure.connect(fail.intake)

if __name__ == "__main__":
    job.run()
Example #2
0
iprot = DatasetReaderCube("ProteinReader", title="Protein Reader")
iprot.promote_parameter("data_in",
                        promoted_name="protein",
                        title='Protein Input Dataset',
                        description="Protein Dataset")

# Complex cube used to assemble the ligands and the solvated protein
complx = ComplexPrepCube("Complex", title="Complex Preparation")
complx.set_parameters(lig_res_name='LIG')

# Protein Setting
protset = MDComponentCube("ProteinSetting", title="Protein Setting")

ofs = DatasetWriterCube('ofs', title='MD Out')
ofs.promote_parameter("data_out",
                      promoted_name="out",
                      title="MD Out",
                      description="MD Dataset out")

fail = DatasetWriterCube('fail', title='Failures')
fail.promote_parameter("data_out",
                       promoted_name="fail",
                       title="Failures",
                       description="MD Dataset Failures out")

job.add_cubes(iligs, ligset, ligid, iprot, protset, chargelig, complx, ofs,
              fail)

iligs.success.connect(ligset.intake)
ligset.success.connect(chargelig.intake)
chargelig.success.connect(ligid.intake)
ligid.success.connect(complx.intake)
Example #3
0
out (.oedb file): file of the Analysis results for all ligands.
"""

job.uuid = "2717cf39-5bdd-4a1e-880e-5208bb232959"

job.classification = [['Analysis']]
job.tags = [tag for lists in job.classification for tag in lists]

ifs = DatasetReaderCube("ifs")
ifs.promote_parameter("data_in",
                      promoted_name="in",
                      title="System Input OERecord",
                      description="OERecord file name")

ofs = DatasetWriterCube('ofs', title='MD Out')
ofs.promote_parameter("data_out", promoted_name="out")

fail = DatasetWriterCube('fail', title='Failures')
fail.promote_parameter("data_out", promoted_name="fail")

IntECube = ParallelTrajInteractionEnergyCube("TrajInteractionEnergyCube")
PBSACube = ParallelTrajPBSACube("TrajPBSACube")

report = MDFloeReportCube("report", title="Floe Report")

job.add_cubes(ifs, IntECube, PBSACube, ofs, fail)

ifs.success.connect(IntECube.intake)
IntECube.success.connect(PBSACube.intake)
IntECube.failure.connect(fail.intake)
PBSACube.success.connect(ofs.intake)
Example #4
0
job.classification = [['MD Data']]
job.uuid = "6665ca20-6014-4f3b-8d02-4b5d15b75ee3"
job.tags = [tag for lists in job.classification for tag in lists]

ifs = DatasetReaderCube("SystemReader", title="System Reader")
ifs.promote_parameter(
    "data_in",
    promoted_name="system",
    title='STMDA Input File',
    description=
    "The Dataset produced by the Short Trajectory MD with Analysis floe")

data = ExtractMDDataCube("MDData", title="Extract MD Data")

data.promote_parameter('out_file_name',
                       promoted_name='out_file_name',
                       description="Output File name",
                       default="md_data.tar.gz")

fail = DatasetWriterCube('fail', title='Failures')
fail.promote_parameter("data_out",
                       promoted_name="fail",
                       description="Fail Data Set")

job.add_cubes(ifs, data, fail)
ifs.success.connect(data.intake)
data.failure.connect(fail.intake)

if __name__ == "__main__":
    job.run()
Example #5
0
job.add_cube(perses_cube)
job.add_cube(success_output_cube)
job.add_cube(failure_output_cube)

# Promote parameters
protein_input_cube.promote_parameter("data_in",
                                     promoted_name="protein",
                                     title="Protein")
reference_ligand_input_cube.promote_parameter("data_in",
                                              promoted_name="reference_ligand",
                                              title="Reference ligand")
target_ligands_input_cube.promote_parameter("data_in",
                                            promoted_name="target_ligands",
                                            title="Target ligands")
success_output_cube.promote_parameter(
    "data_out",
    promoted_name="success",
    title="Predicted relative binding free energies")

failure_output_cube.promote_parameter(
    "data_out",
    promoted_name="failure",
    title="Failed relative binding free energy calculations")

perses_cube.promote_parameter("n_iterations",
                              promoted_name="n_iterations",
                              title="Total number of iterations")

perses_cube.promote_parameter("n_steps_per_iteration",
                              promoted_name="n_steps_per_iteration",
                              title="Number of MD steps per iteration")
Example #6
0
job.add_cube(input_cube)
job.add_cube(charge_cube)
job.add_cube(output_cube)

# Promote parameters
input_cube.promote_parameter("data_in",
                             promoted_name="in",
                             title="Input data set of records")

charge_cube.promoted_parameter('max_confs',
                               promoted_name='in',
                               title='Maximum number of conformers.')

charge_cube.promoted_parameter('max_search_time',
                               promoted_name='in',
                               title='Search time for conformers.')

charge_cube.promote_parameter('energy_window',
                              promoted_name='in',
                              title='Energy window ')

output_cube.promote_parameter("data_out",
                              promoted_name="out",
                              title="Output File of Molecules")

input_cube.success.connect(charge_cube.intake)
charge_cube.success.connect(output_cube.intake)

if __name__ == "__main__":
    job.run()