Ejemplo n.º 1
0
            "areForTrainAndTest": areForTrainAndTest,
            "removeInputs": False,
            "isHomoComplex": isHomo
        })
    f.close()
    Parallel(n_jobs=ncpu,
             backend="multiprocessing")(delayed(predictOneComplex)(**params)
                                        for params in argsList)


if __name__ == "__main__":

    from Config import Configuration

    Configuration.update_config_dict(
        project_config="./configFiles/cmdTool/configFile_pred.cfg",
        other_dict=dict(force_protocol=None, wdir="./wdir"))
    conf = Configuration()
    parser = conf.getArgParser()

    command_group = parser.add_mutually_exclusive_group()
    command_group.add_argument(
        "-i",
        "--inputDir",
        help=
        "Directory where input files are located. They can be .pdb or .fasta, but they have to"
        "follow Benchmark 5 naming convenctions PREFIX_[lr]_[bu].(pdb|fasta)",
        type=Configuration.file_path,
        default=None)
    command_group.add_argument(
        "-f",