Code Monkey home page Code Monkey logo

ride's Introduction

depends snakemake

RiDE

This is a fork of RiDE (RNA Differential Expression), a Snakemake-based pipeline for Next-Generation Sequencing RNA-Seq differential expression analysis, developed at CRS4 Next Generation Sequencing Core Facility. Software dependencies are directly managed by Snakemake using Conda, ensuring the reproducibility of the workflow according to FAIR principles.

Running RiDE

  • Clone the repository from git-hub:
git clone https://github.com/igg-bioinfo/ride.git
  • Rename the folder, from ride to your PROJECT_NAME:
mv ride PROJECT_NAME
  • cd into the newly created folder:
cd PROJECT_NAME
  • Edit the configuration files in conf subfolder:

    • config.yaml - paths to your reference files: genome, target regions, etc.
    • samples.tsv - associate samples to FASTQ files
    • units.tsv - paths to FASTQ files
  • Edit the Snakefile and uncomment the output files you need

  • If conda package manager is not available, install miniconda.

  • Create a virtual environment containing snakemake, as suggested here. First install mamba as a replacement of the default conda solver:

conda install -c conda-forge mamba
  • Then, install snakemake:
mamba env create --name snakemake --file environment.yaml
  • Activate the enviroment:
conda activate snakemake
  • Run snakemake in dry-run mode to check if everything is fine. YOUR_WORKING_DIR could follow the format: YYYY-MM-DD.
snakemake --cores 32 --use-conda --configfile conf/config.yaml --printshellcmds -d YOUR_WORKING_DIR --rerun-incomplete --keep-going --dryrun
  • For verbose output:
snakemake --cores 32 --use-conda --configfile conf/config.yaml --printshellcmds -d YOUR_WORKING_DIR --rerun-incomplete --keep-going --verbose --reason --dryrun
  • If you are happy with the --dryrun, run snakemake:
snakemake --cores 32 --use-conda --configfile conf/config.yaml --printshellcmds -d YOUR_WORKING_DIR --rerun-incomplete --keep-going

Tip: For large projects, we suggest to run snakemake in a screen session.

ride's People

Contributors

massiddamt avatar gmauro avatar puva avatar

Watchers

James Cloos avatar

Forkers

vincenzorallo

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.