Skip to content

Commit

Permalink
fix seacr control
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Apr 5, 2024
1 parent 46af233 commit 71e243f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion snakePipes/shared/rules/ChIP_peak_calling.snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ rule SEACR_peaks:
"SEACR/{chip_sample}.filtered.stringent.bed"
log: "SEACR/logs/{chip_sample}.log"
params:
fdr = fdr,
fdr = lambda wildcards,input: fdr if not input.control else "",
prefix = os.path.join(outdir,"SEACR/{chip_sample}.filtered"),
script=os.path.join(maindir, "shared","tools/SEACR-1.3/SEACR_1.3.sh")
conda: CONDA_SEACR_ENV
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ rule SEACR_peaks:
"SEACR/{chip_sample}_host.stringent.bed"
log: "SEACR/logs/{chip_sample}.log"
params:
fdr = fdr,
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
Expand Down

0 comments on commit 71e243f

Please sign in to comment.