preprocessing_ChIPseq_single.smk¶
Snakemake workflow for preprocessing single-end ChIP-seq/ATAC-seq data.
Note
Please make sure that you have Singularity and Snakemake installed on your system and cloned the SnakeNgs repository.
Workflow¶
The rulegraph was created by snakevision.
- Quality control using fastp with the default parameters.
- Alignment using Bowtie2 with the parameter specified in the
config.yaml
. - Convert the SAM file to BAM file and sort using samtools.
- Remove duplicates using Picard
MarkDuplicates
with the parameter--REMOVE_DUPLICATES true
. - Make fingerprint plots using deepTools
plotFingerprint
with the parameter--minMappingQuality 30 --skipZeros --numberOfSamples 50000 --binSize 10000
. - Make bigWig files using deepTools
bamCoverage
with the parameter--binSize 1 --normalizeUsing CPM
. - Make summary statistics using MultiQC.
Usage¶
1 2 3 4 5 |
|
config.yaml
should contain the following information:
1 2 3 4 |
|
path/to/output
should containfastq
directory with the following structure:
1 2 3 4 5 |
|
-
path/to/bowtie2_index
is the directory containing the Bowtie2 index. -
bowtie2_args
is the optional argument for Bowtie2 (e.g.,--very-sensitive
).
Please refer to the tutorial for more information.