Skip to content

Commit

Permalink
Run macbroad only for chip (#53)
Browse files Browse the repository at this point in the history
* fix: add gather back to frip rule, using different wild card

* fix: move macBroad uropa outputs under chipseq switch
  • Loading branch information
rroutsong authored Nov 15, 2024
1 parent c9f3f9a commit b33ac60
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion workflow/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ elif assay in ["atac", "chip"]:
rule_all_ins.extend(expand(join(ppqt_dir, "{name}.{ext}.ppqt"), name=samples, ext=tag_ext))
rule_all_ins.extend(expand(join(ppqt_dir, "{name}.{ext}.pdf"), name=samples, ext=tag_ext))
rule_all_ins.extend(expand(join(ppqt_dir, "{name}.{ext}.ppqt.txt"), name=samples, ext=tag_ext))
rule_all_ins.extend(expand(
join(uropa_dir, "{application}", "{name}_uropa_{_type}_allhits.txt"),
name=chips,
application=["macsBroad"],
_type=peak_types,
))
elif assay == "atac":
rule_all_ins.extend(expand(
join(genrich_dir, "{name}", "{name}.narrowPeak"), name=chips
Expand Down Expand Up @@ -180,7 +186,7 @@ if has_inputs:
rule_all_ins.extend(expand(
join(uropa_dir, "{application}", "{name}_uropa_{_type}_allhits.txt"),
name=chips,
application=["macsNarrow", "macsBroad"],
application=["macsNarrow"],
_type=peak_types,
))

Expand Down

0 comments on commit b33ac60

Please sign in to comment.