Skip to content

Commit

Permalink
moved macs format to config
Browse files Browse the repository at this point in the history
  • Loading branch information
CChahrour committed Mar 28, 2024
1 parent 1ddb08e commit c6606e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion seqnado/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def setup_configuration(assay, genome, template_data):
macs:
version: 2
callpeak:
callpeak: -f BAMPE
lanceotron:
use_input: True
Expand Down
4 changes: 2 additions & 2 deletions seqnado/workflow/rules/peak_call_chip.smk
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ rule macs2_with_input:
"seqnado_output/logs/macs/{sample}_{treatment}.log",
shell:
"""
macs2 callpeak -t {input.treatment} -c {input.control} -n {params.basename} -f BAMPE {params.options} > {log} 2>&1 &&
macs2 callpeak -t {input.treatment} -c {input.control} -n {params.basename} {params.options} > {log} 2>&1 &&
cat {params.narrow} | cut -f 1-3 > {output.peaks}
"""

Expand All @@ -78,7 +78,7 @@ rule macs2_no_input:
"seqnado_output/logs/macs/{sample}_{treatment}.log",
shell:
"""
macs2 callpeak -t {input.treatment} -n {params.basename} -f BAMPE {params.options} > {log} 2>&1 &&
macs2 callpeak -t {input.treatment} -n {params.basename} {params.options} > {log} 2>&1 &&
cat {params.narrow} | cut -f 1-3 > {output.peaks}
"""

Expand Down

0 comments on commit c6606e6

Please sign in to comment.