snakemake.script.BashScript

class snakemake.script.BashScript(path, cache_path, source, basedir, input_, output, params, wildcards, threads, resources, log, config, rulename, conda_env, conda_base_path, container_img, singularity_args, env_modules, bench_record, jobid, bench_iteration, cleanup_scripts, shadow_dir, is_local)[source]
__init__(path, cache_path, source, basedir, input_, output, params, wildcards, threads, resources, log, config, rulename, conda_env, conda_base_path, container_img, singularity_args, env_modules, bench_record, jobid, bench_iteration, cleanup_scripts, shadow_dir, is_local)

Methods

__init__(path, cache_path, source, basedir, ...)

combine_preamble_and_source(preamble)

evaluate([edit])

execute_script(fname[, edit])

generate_preamble(path, source, basedir, ...)

rtype:

str

get_preamble()

write_script(preamble, fd)

Attributes

editable

local_path