Skip to content
Snippets Groups Projects
Commit 6af6b328 authored by Kenzo-Hugo Hillion's avatar Kenzo-Hugo Hillion :recycle:
Browse files

fix rules

parent d8eb2eec
No related branches found
No related tags found
1 merge request!8Prodigal
...@@ -23,20 +23,19 @@ Usage: prodigal [-a trans_file] [-c] [-d nuc_file] [-f output_type] ...@@ -23,20 +23,19 @@ Usage: prodigal [-a trans_file] [-c] [-d nuc_file] [-f output_type]
-v: Print version number and exit. -v: Print version number and exit.
""" """
__prodigal_exec_command = config.get( __prodigal_exec_command = config.get('prodigal', {}).get('exec_command', 'prodigal')
'prodigal', {}
).get('exec_command', 'prodigal')
__prodigal_modules = config.get('prodigal', {}).get('modules') __prodigal_modules = config.get('prodigal', {}).get('modules')
__prodigal_options = config.get('prodigal', {}).get('options', '')
rule prodigal: rule prodigal:
input: input:
__prodigal_input __prodigal_input
output: output:
fasta_genes = __prodigal_fasta_genes fasta_genes = __prodigal_fasta_genes,
genes = __prodigal_genes genes = __prodigal_genes
params: params:
exec_command = __prodigal_exec_command, exec_command = __prodigal_exec_command,
modules = __prodigal_modules modules = __prodigal_modules,
options = __prodigal_options options = __prodigal_options
run: run:
command = [] command = []
......
...@@ -18,5 +18,5 @@ include: __prodigal_rules ...@@ -18,5 +18,5 @@ include: __prodigal_rules
rule all: rule all:
input: input:
fasta_genes = expand("{dir}/{{sample}}.fa".format(dir=__prodigal_output_dir), sample=SAMPLES) fasta_genes = expand("{dir}/{{sample}}.fa".format(dir=__prodigal_output_dir), sample=SAMPLES),
genes = expand("{dir}/{{sample}}.gbk".format(dir=__prodigal_output_dir), sample=SAMPLES) genes = expand("{dir}/{{sample}}.gbk".format(dir=__prodigal_output_dir), sample=SAMPLES)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment