Skip to content
Snippets Groups Projects
Commit c57e2059 authored by Dominik Burri's avatar Dominik Burri
Browse files

adjust logging directory

parent 8e8db218
No related branches found
No related tags found
1 merge request!39Alfa qc
...@@ -353,7 +353,7 @@ rule generate_alfa_index: ...@@ -353,7 +353,7 @@ rule generate_alfa_index:
singularity: singularity:
"docker://zavolab/alfa:1.1.1" "docker://zavolab/alfa:1.1.1"
log: log:
os.path.join(config["local_log"], "{organism}_{index_size}_generate_alfa_index.log") os.path.join(config["log_dir"], "{organism}_{index_size}_generate_alfa_index.log")
shell: shell:
"alfa -a {input.gtf} \ "alfa -a {input.gtf} \
-g {params.genome_index} \ -g {params.genome_index} \
...@@ -416,7 +416,7 @@ rule alfa_bg_all_samples: ...@@ -416,7 +416,7 @@ rule alfa_bg_all_samples:
# singularity: # singularity:
# "docker://zavolab/alfa:1.1.1" # "docker://zavolab/alfa:1.1.1"
conda: os.path.abspath("../../envs/env_alfa.yaml") conda: os.path.abspath("../../envs/env_alfa.yaml")
log: os.path.abspath(os.path.join(config["local_log"], "ALFA", "alfa_bg_all_samples.log")) log: os.path.abspath(os.path.join(config["log_dir"], "ALFA", "alfa_bg_all_samples.log"))
shell: shell:
""" """
mkdir -p {params.out_dir}; \ mkdir -p {params.out_dir}; \
......
...@@ -385,7 +385,7 @@ rule star_rpm_paired_end: ...@@ -385,7 +385,7 @@ rule star_rpm_paired_end:
stranded = "Stranded" stranded = "Stranded"
singularity: singularity:
"docker://zavolab/star:2.6.0a" "docker://zavolab/star:2.6.0a"
log: os.path.join(config["local_log"], "paired_end", "{sample}", "star_rpm_paired_end.log") log: os.path.join(config["log_dir"], "paired_end", "{sample}", "star_rpm_paired_end.log")
threads: 4 threads: 4
shell: shell:
""" """
...@@ -446,7 +446,7 @@ rule alfa_bg_paired_end: ...@@ -446,7 +446,7 @@ rule alfa_bg_paired_end:
name = "{sample}" name = "{sample}"
singularity: singularity:
"docker://zavolab/alfa:1.1.1" "docker://zavolab/alfa:1.1.1"
log: os.path.abspath(os.path.join(config["local_log"], "paired_end", "{sample}", "alfa_bg_paired_end.log")) log: os.path.abspath(os.path.join(config["log_dir"], "paired_end", "{sample}", "alfa_bg_paired_end.log"))
shell: shell:
""" """
cd {params.out_dir}; \ cd {params.out_dir}; \
......
...@@ -311,7 +311,7 @@ rule star_rpm_single_end: ...@@ -311,7 +311,7 @@ rule star_rpm_single_end:
stranded = "Stranded" stranded = "Stranded"
singularity: singularity:
"docker://zavolab/star:2.6.0a" "docker://zavolab/star:2.6.0a"
log: os.path.join(config["local_log"], "single_end", "{sample}", "star_rpm_single_end.log") log: os.path.join(config["log_dir"], "single_end", "{sample}", "star_rpm_single_end.log")
threads: 4 threads: 4
shell: shell:
""" """
...@@ -373,7 +373,7 @@ rule alfa_bg_single_end: ...@@ -373,7 +373,7 @@ rule alfa_bg_single_end:
name = "{sample}" name = "{sample}"
singularity: singularity:
"docker://zavolab/alfa:1.1.1" "docker://zavolab/alfa:1.1.1"
log: os.path.abspath(os.path.join(config["local_log"], "single_end", "{sample}", "alfa_bg_single_end.log")) log: os.path.abspath(os.path.join(config["log_dir"], "single_end", "{sample}", "alfa_bg_single_end.log"))
shell: shell:
""" """
cd {params.out_dir}; \ cd {params.out_dir}; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment