Skip to content
Snippets Groups Projects
Commit 09d52001 authored by Alex Kanitz's avatar Alex Kanitz
Browse files

Merge branch 'alfa_plots_into_report' into 'master'

ALFA merged plots included in the MultiQC report

See merge request zavolan_group/pipelines/rhea!53
parents 9d010052 b0a1a53c
Branches
Tags
1 merge request!53ALFA merged plots included in the MultiQC report
Pipeline #10517 passed
...@@ -963,10 +963,10 @@ rule prepare_files_for_report: ...@@ -963,10 +963,10 @@ rule prepare_files_for_report:
sample=[i for i in list(samples_table.index.values)], sample=[i for i in list(samples_table.index.values)],
seqmode=[samples_table.loc[i, 'seqmode'] seqmode=[samples_table.loc[i, 'seqmode']
for i in list(samples_table.index.values)]), for i in list(samples_table.index.values)]),
alfa_concat_out = expand(os.path.join( alfa_concat_out = os.path.join(
config["output_dir"], config["output_dir"],
"ALFA", "ALFA",
"ALFA_plots.concat.png")) "ALFA_plots.concat.png")
output: output:
samples_dir = directory(os.path.join( samples_dir = directory(os.path.join(
...@@ -1165,6 +1165,14 @@ rule prepare_files_for_report: ...@@ -1165,6 +1165,14 @@ rule prepare_files_for_report:
params.results_dir, params.results_dir,
"TIN scores_mqc.pdf")) "TIN scores_mqc.pdf"))
# adjust alfa plot filename for MutliQC recognition
os.rename(
input.alfa_concat_out,
os.path.join(
params.results_dir,
"ALFA",
"ALFA_plots.concat_mqc.png"))
rule prepare_MultiQC_config: rule prepare_MultiQC_config:
''' '''
...@@ -1223,6 +1231,10 @@ rule prepare_MultiQC_config: ...@@ -1223,6 +1231,10 @@ rule prepare_MultiQC_config:
YAML.write(" path_filters:\n") YAML.write(" path_filters:\n")
YAML.write(" - \"*/map_genome/*\"\n") YAML.write(" - \"*/map_genome/*\"\n")
YAML.write("\n") YAML.write("\n")
YAML.write(" - alfa:\n")
YAML.write(" path_filters:\n")
YAML.write(" - \"*/ALFA_plots.concat_mqc.png\"\n")
YAML.write("\n")
YAML.write(" - TIN_scores:\n") YAML.write(" - TIN_scores:\n")
YAML.write(" path_filters:\n") YAML.write(" path_filters:\n")
YAML.write(" - \"*/TIN scores_mqc.png\"\n") YAML.write(" - \"*/TIN scores_mqc.png\"\n")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment