Skip to content

Commit

Permalink
Update file paths in hub.smk
Browse files Browse the repository at this point in the history
  • Loading branch information
alsmith151 committed Jan 25, 2024
1 parent 1567b04 commit f6b5cb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions seqnado/workflow/rules/hub.smk
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ def get_hub_input(wildcards):
if config["call_peaks"]:
input_files.extend(
expand(
"seqnado_output/peaks/{method}/{sample}.bigBed",
"seqnado_output/peaks/{method}/{sample}_{treatment}.bigBed",
method=config["peak_calling_method"],
sample=SAMPLE_NAMES_IP,
treatment=IP + CONTROL,
)
)

Expand Down Expand Up @@ -112,7 +113,7 @@ rule bed_to_bigbed:
resources:
mem_mb=500,
log:
"seqnado_output/logs/bed_to_bigbed/{directory}_{sample}.log",
"seqnado_output/logs/bed_to_bigbed/{directory}/{sample}.log",
shell:
"""
sort -k1,1 -k2,2n {input.bed} | grep '#' -v > {input.bed}.tmp &&
Expand Down

0 comments on commit f6b5cb3

Please sign in to comment.