def _get_scheduler_cmds(args):
    cmds = {"slurm": _get_slurm_cmds,
            "sge": _get_sge_cmds,
            "lsf": _get_lsf_cmds,
            "torque": _get_torque_cmds,
            "pbspro": _get_torque_cmds}
    try:
        return cmds[args.scheduler](args)
    except __HOLE__:
        raise NotImplementedError("Batch script preparation for %s not yet supported" % args.scheduler)
dataset/ETHPy150Open chapmanb/bcbio-nextgen-vm/bcbiovm/ipython/batchprep.py/_get_scheduler_cmds