Skip to content
Snippets Groups Projects
Commit 61d91cae authored by Blaise Li's avatar Blaise Li
Browse files

Also generate bedgraph.

parent 090cf3a6
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ from libworkflows import run_with_modules
load_modules = snakemake.config.get("load_modules", False)
if load_modules:
modules = ["UCSC-tools/v373"]
modules = ["bioawk", "UCSC-tools/v373"]
else:
modules = []
......@@ -14,7 +14,9 @@ bigWigAverageOverBed \\
{snakemake.params.genome_binned} \\
/dev/null \\
2> {snakemake.log.err}
bioawk -t '{{print $1,$2,$3,$5}}' {snakemake.output.bed} \\
2>> {snakemake.log.err} \\
> {snakemake.output.bedgraph}
"""
#run_with_modules(shell_commands, modules)
shell(run_with_modules(shell_commands, modules))
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