The snakefile includes ChIP-seq analysis processes from fastqc to bamCoverage, resulting in genomewide coverage of ChIP-seq data (bigwig).
Normalization of ChIP-seq reads by control data (such as ChIP-seq input) is not included in this pipeline as the process is tricky to be generallized. Instead, you can use src/bwCompare_TSV.sh for normalizing ChIP-seq data.
- conda env create --name ChIPseq --file environment.yaml
- conda activate ChIPseq
- Edit config.yaml
- snakemake -p --cores
- Apply the step 2-4 to both control and ChIP-seq data.
- Edit and run src/bwCompare_TSV.sh
- If you want to draw a metaprofile of a set of region (deeptools:computeMatrix), uncomment rule "metaprofile" and "avgBins". Edit Snakefile input and configure.yaml accordingly, and run the Snakemake again.