GRAVI: Gene Regulatory Analysis using Variable Inputs
v0.1.5d

Workflow Type: Snakemake
Work-in-progress

GRAVI: Gene Regulatory Analysis using Variable Inputs

This is a snakemake workflow for:

  1. Performing sample QC
  2. Calling ChIP peaks
  3. Performing Differential Binding Analysis
  4. Comparing results across ChIP targets

The minimum required input is one ChIP target with two conditions.

Full documentation can be found here

Snakemake Implementation

The basic workflow is written snakemake, requiring at least v7.7, and can be called using the following steps.

Firstly, setup the required conda environments

snakemake \
	--use-conda \
	--conda-prefix '/home/steveped/mambaforge/envs/' \
	--conda-create-envs-only \
	--cores 1

Secondly, create and inspect the rulegraph

snakemake --rulegraph > workflow/rules/rulegraph.dot
dot -Tpdf workflow/rules/rulegraph.dot > workflow/rules/rulegraph.pdf

Finally, the workflow itself can be run using:

snakemake \
	-p \
	--use-conda \
	--conda-prefix '/home/steveped/mambaforge/envs/' \
	--notemp \
	--rerun-triggers mtime \
	--keep-going \
	--cores 16

Note that this creates common environments able to be called by other workflows and is dependent on the user. For me, my global conda environments are stored in /home/steveped/mambaforge/envs/. For other users, this path will need to be modified.

If wishing to tidy the directory after a successful run, you can check which non-essential files can be deleted using snakemake -n --delete-temp-output --cores 1. If the files earmarked for deletion are considered to be non-essential, they can be deleted by removing the -n flag from the above code: snakemake --delete-temp-output --cores 1. As the bedgraph files produced by macs2 callpeak are typically very large, hence their conversion to bigwig files during the workflow, this step can free a considerable amount of disk space.

Version History

v0.1.5d (earliest) Created 21st Mar 2023 at 05:48 by Stevie Pederson

Final bugfix in replicate venn-plot


Frozen v0.1.5d b876eae
help Creators and Submitter
Creator
Submitter
Tool
Citation
Pederson, S. (2024). GRAVI: Gene Regulatory Analysis using Variable Inputs. WorkflowHub. https://doi.org/10.48546/WORKFLOWHUB.WORKFLOW.443.1
Activity

Views: 23   Downloads: 7

Created: 21st Mar 2023 at 05:48

help Attributions

None

Total size: 515 KB
Powered by
(v.1.16.0-main)
Copyright © 2008 - 2024 The University of Manchester and HITS gGmbH