GithubHelp home page GithubHelp logo

metavannier / differential-expression_workflow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from centuri-engineering/differential-expression_workflow

0.0 0.0 0.0 10.51 MB

This workflow performs an RNA-seq analysis from the sequencing output data to the differential expression analyses.

License: BSD 3-Clause "New" or "Revised" License

R 52.52% Python 47.48%

differential-expression_workflow's Introduction

Differential Expression Workflow: RNA-seq analysis

Author

Thomas Vannier (@metavannier), https://centuri-livingsystems.org/t-vannier/

About

This workflow performs an RNA-seq analysis from the sequencing output data to the differential expression analyses.

You need to install Singularity on your computer. This workflow also work in a slurm environment.

Each snakemake rules call a specific conda environment. In this way you can easily change/add tools for each step if necessary.

3 steps for the analysis:

  • clean.smk: The quality of the raw reads are assessed using FastQC v0.11.9 toolkit. Adapters and low quality reads are trimmed using Trimmomatic v0.39.
  • count.smk: HiSat2 v2.2.1 is used for mapping the raw reads to the reference genome. The expression for each gene is evaluated using featureCounts from the Subread v2.0.1 package.
  • differential_exp.smk: The low expressed genes are removed from further analysis. The raw counts are normalized and used for differential expression testing using DESeq2 v1.28.0.

Usage

Step 1: Install workflow

You can use this workflow by downloading and extracting the latest release. If you intend to modify and further extend this workflow or want to work under version control, you can fork this repository.

We would be pleased if you use this workflow and participate in its improvement. If you use it in a paper, don't forget to give credits to the author by citing the URL of this repository and, if available, its DOI (see above).

Step 2: Configure workflow

Configure the workflow according to your needs via editing the files and repositories:

  • 00_RawData need the single or pair-end fastq file of each run to analyse
  • 01_Reference the fasta file and gff/gtf of your reference genome for the mapping step
  • sample.tsv, coldata.tsv and condition.tsv to indicate the samples, run, condition, etc. for the analyse.
  • config.yaml indicating the parameters to use.

Step 3: Execute workflow

  • You need Singularity v3.5.3 installed on your computer or cluster.

  • Load snakemake from a docker container and run the workflow from the root by using these commands:

singularity run docker://snakemake/snakemake:v6.3.0

  • Then execute the workflow locally via

snakemake --use-conda --use-singularity --cores 10

Step 4: Investigate results

After successful execution, you can create a self-contained interactive HTML report with all results via:

snakemake --report report.html

differential-expression_workflow's People

Contributors

metavannier avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.