Skip to content

Commit

Permalink
seacr mode
Browse files Browse the repository at this point in the history
  • Loading branch information
katarzyna.otylia.sikora@gmail.com committed Apr 22, 2024
1 parent 2c35a46 commit 186b772
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion snakePipes/shared/rules/ChIP_peak_calling.snakefile
Expand Up @@ -279,7 +279,7 @@ rule SEACR_peaks_lenient:
script=os.path.join(maindir, "shared","tools/SEACR-1.3/SEACR_1.3.sh")
conda: CONDA_SEACR_ENV
shell: """
bash {params.script} {input.chip} {input.control} {params.fdr} "norm" "lenient" {params.prefix} 2>{log}
bash {params.script} {input.chip} {input.control} {params.fdr} "norm" "relaxed" {params.prefix} 2>{log}
"""

rule SEACR_peak_stringent_qc:
Expand Down
6 changes: 3 additions & 3 deletions snakePipes/shared/rules/ChIP_peak_calling_spikein.snakefile
Expand Up @@ -255,7 +255,7 @@ rule SEACR_peaks_stringent:
else []
output:
"SEACR/{chip_sample}_host.stringent.bed"
log: "SEACR/logs/{chip_sample}.log"
log: "SEACR/logs/{chip_sample}_stringent.log"
params:
fdr = lambda wildcards,input: fdr if not input.control else "",
prefix = os.path.join(outdir,"SEACR/{chip_sample}_host"),
Expand All @@ -272,14 +272,14 @@ rule SEACR_peaks_lenient:
else []
output:
"SEACR/{chip_sample}_host.lenient.bed"
log: "SEACR/logs/{chip_sample}.log"
log: "SEACR/logs/{chip_sample}_lenient.log"
params:
fdr = lambda wildcards,input: fdr if not input.control else "",
prefix = os.path.join(outdir,"SEACR/{chip_sample}_host"),
script=os.path.join(maindir, "shared","tools/SEACR-1.3/SEACR_1.3.sh")
conda: CONDA_SEACR_ENV
shell: """
bash {params.script} {input.chip} {input.control} {params.fdr} "non" "lenient" {params.prefix} 2>{log}
bash {params.script} {input.chip} {input.control} {params.fdr} "non" "relaxed" {params.prefix} 2>{log}
"""


Expand Down

0 comments on commit 186b772

Please sign in to comment.