Commit 6cf223cd authored by AntonieV's avatar AntonieV
Browse files

env for zip added and some other minor changes

parent ef5f66c8
channels:
- conda-forge
- defaults
dependencies:
- gzip ==1.10
...@@ -65,10 +65,12 @@ rule collect_igv_report_session_files: ...@@ -65,10 +65,12 @@ rule collect_igv_report_session_files:
# igv session that can be downloaded from generated report # igv session that can be downloaded from generated report
rule zip_igv_report_session: rule zip_igv_report_session:
input: input:
directory("results/IGV/report_igv_session") rules.collect_igv_report_session_files.output
output: output:
report("results/IGV/report_igv_session.zip", caption = "../report/igv_session.rst", category="IGV session") report("results/IGV/report_igv_session.zip", caption = "../report/igv_session.rst", category="IGV session")
log: log:
"logs/igv/collect_igv_report_session_files.log" "logs/igv/collect_igv_report_session_files.log"
conda:
"../envs/gzip.yaml"
shell: shell:
"cd $(dirname {input}); zip $(basename {output}) $(basename {input})/*" "cd $(dirname {input}); zip $(basename {output}) $(basename {input})/*"
Markdown is supported
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