Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

p300 support #6

Draft
wants to merge 12 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
**/ananse/
anansenake.egg-info/
build/
config.yaml
dask-worker-space/
example/config.yaml
example/outdir/
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

### Added

- experimental p300 support
- run differential gene expression analysis using `DESeq2` from `Seq2Science` RNA-seq output
- run peak enrichment analysis using `gimmemotifs maelstrom` from `Seq2Science` ATAC-seq output
- obtain nonhuman transcription factor binding motifs using `gimmemotifs motif2factors`
Expand Down
4 changes: 4 additions & 0 deletions anansnake/envs/ananse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ channels:
- defaults
dependencies:
- ananse =0.5.0

- pip
- pip:
- git+https://github.com/vanheeringen-lab/ANANSE.git@p300_2
4 changes: 4 additions & 0 deletions anansnake/envs/gimme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ dependencies:
- gffread
- orthofinder
- xgboost # optional maelstrom dependency

- pip
- pip:
- git+https://github.com/vanheeringen-lab/gimmemotifs@report
3 changes: 2 additions & 1 deletion anansnake/rules/ananse.smk
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ rule binding:
expand("{benchmark_dir}/binding_{{condition}}.txt", **config)[0]
params:
atac_samples=lambda wildcards: CONDITIONS[wildcards.condition]["ATAC-seq samples"],
enhancer_data=lambda wildcards: "-P" if config.get("enhancer_data") == "p300" else "-A",
jaccard=config["jaccard"],
threads: 1 # multithreading not required when using a pfmscorefile
resources:
Expand All @@ -35,7 +36,7 @@ rule binding:
printf "using columns: {params.atac_samples}\n\n" > {log}

ananse binding \
-A {input.atac} \
{params.enhancer_data} {input.atac} \
-c {params.atac_samples} \
-g {input.genome} \
-p {input.pfm} \
Expand Down
1 change: 1 addition & 0 deletions example/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ merged_technical_reps: true # set to false if you used 'technical_replicates: "
merged_biological_reps: true # set to false if you used 'biological_replicates: "keep" in s2s'

# ANANSE binding
enhancer_data: ATAC # experimental option: p300
jaccard: 0.2 # default: 0.1

# ANANSE influence
Expand Down
2 changes: 1 addition & 1 deletion requirements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ channels:
- bioconda
- defaults
dependencies:
- seq2science =1.2.0
- seq2science =1.2.1