Ejemplo n.º 1
0
def custom(workdir, snakefile, configfile, cores, memory, unlock,
           rerun_incomplete, keep_going):
    """A click access point for the workflow module. This is used for creating the command line interface."""

    log_params(command='workflow',
               snakefile=snakefile,
               configfile=configfile,
               workdir=workdir,
               cores=cores,
               memory=memory,
               unlock=unlock,
               rerun_incomplete=rerun_incomplete,
               keep_going=keep_going)
    _workflow(workdir, snakefile, configfile, cores, memory, unlock,
              rerun_incomplete, keep_going)
Ejemplo n.º 2
0
def database(workdir, cores, memory, unlock, rerun_incomplete, keep_going,
             sensitive):
    """A click access point for the workflow module. This is used for creating the command line interface."""

    snakefile = WORKFLOW_DATABASE_ORIGINAL_SNAKEFILE
    configfile = WORKFLOW_DATABASE_ORIGINAL_CONFIG
    if sensitive:
        snakefile = WORKFLOW_DATABASE_SENSITIVE_SNAKEFILE
        configfile = WORKFLOW_DATABASE_SENSITIVE_CONFIG

    log_params(command='workflow',
               workdir=workdir,
               cores=cores,
               memory=memory,
               unlock=unlock,
               rerun_incomplete=rerun_incomplete,
               keep_going=keep_going,
               sensitive=sensitive)
    _workflow(workdir, snakefile, configfile, cores, memory, unlock,
              rerun_incomplete, keep_going)