Commit b265ed7f authored by Kenzo-Hugo Hillion's avatar Kenzo-Hugo Hillion
Browse files

mv output dir to params

parent 3bd54e46
...@@ -8,11 +8,11 @@ rule sample2markers: ...@@ -8,11 +8,11 @@ rule sample2markers:
input: input:
__sample2markers_input __sample2markers_input
output: output:
dir = __sample2markers_output_dir, __sample2markers_output
file = __sample2markers_output
params: params:
exec_command = __sample2markers_exec_command, exec_command = __sample2markers_exec_command,
modules = __sample2markers_modules, modules = __sample2markers_modules,
output_dir = __sample2markers_output_dir,
options = __sample2markers_options options = __sample2markers_options
threads: threads:
__sample2markers_threads __sample2markers_threads
...@@ -20,5 +20,5 @@ rule sample2markers: ...@@ -20,5 +20,5 @@ rule sample2markers:
command = [] command = []
if params.modules: if params.modules:
command.append("module load {params.modules}") command.append("module load {params.modules}")
command.append("{params.exec_command} -n {threads} {params.options} -i {input} -o {output.dir}") command.append("{params.exec_command} -n {threads} {params.options} -i {input} -o {params.output_dir}")
shell(" && ".join(command)) shell(" && ".join(command))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment