Giter Club home page Giter Club logo

sm-rnaseq-splicing's Introduction

sm-rnaseq-splicing

Snakemake pipeline for alternative splicing analysis with VAST-TOOLS.

Table of Contents:

Getting started

Requirements

sm-rnaseq-splicing requires the following:

  • VAST-TOOLS and its dependencies (environment module)
  • Snakemake >= 7.22 (environment module)
  • Mamba >= 23.1.0 (environment module)
  • Singularity (environment module)
  • Python >= 3.6

Installing

Clone this repo git clone https://github.com/simon-bt/sm-rnaseq-splicing.git. The repo contains the structure required for the pipeline execution.

Running sm-rnaseq-splicing

  1. Modify config/samples.tsv file to provide sample and group information.
  2. Modify config/config.yaml file to specify the type of reads and parameters used for alternative splicing analysis and downstream data visualisation.
  3. Modify profile/config.yaml file to better suit your SLURM scheduler configuration and assign per-rule job requirements.
  4. Provide soft-link paths to FASTQ files in {1|2}_fastq.gz format in data/ folder.
  5. Modify wrapper.sh file to better suit your SLURM scheduler configuration.
  6. Modify path of 'singularity-args' in profile/config.yaml to bind root directory using Singularity.

It is recommended to execute a dry run from the top directory before submitting wrapper.sh to the scheduler: snakemake --snakefile Snakefile --slurm --profile profile/ --dry-run

Output

sm-rnaseq-splicing pipeline uses vast-tools to quantify alternative splicing changes from RNA-sequencing data. The pipeline aligns sequencing reads to a database for a given species, combines vast-tools output into inclusion table and allows to compare two conditions at a time of runtime. The comparisons can be performed for any given two conditions upon their specification in the config/config.yaml file. Pipeline can be also re-run with a different dPSI threshold.

vast_compare and visualize_data rules generate:

  1. In results/{GroupB}_vs_{GroupA}/data:
  • DataAll-*.tsv files - inclusion levels for splicing events (all and separately) passing coverage and other default criteria. Events passing criteria for the regulation are indicated.
  • DataDiff-*.tsv files - more extended inclusion level data for the regulated splicing events (all and separately)

visualize_data rule generates figures for microexons (exons shorter than 28 nt), exons (longer than 27 nt) and introns:

  1. In results/{GroupB}_vs_{GroupA}/figures/splicing/ (pdf format):
  • Scatter_* - scatter plot of splicing quantification levels between two conditions for a given event type
  • DistDPSI - box distribution of dPSI values for the regulated events
  • LevelsDiff - violin distribution of splicing quantification levels for the regulated events
  • RidgeDPSI - ridge density plot for changes in splicing quantification levels for the regulated events
  • ProteinImpact - stacked % bar plot of the protein impact predictions for the regulated events
  • HMapLevels_Standardized - heatmap of splicing quantification levels for the regulated events, standardized to 1
  • HMapLevels_ZScores - heatmap of splicing quantification levels for the regulated events, in z-score of quantification values
  • PercentageDPSI - stacked % bar plot of the proportion of truly regulated events that pass vast-tools compare criteria to all events that pass the coverage filter
  1. In results/{GroupB}_vs_{GroupA}/figures/regulated_events/ (pdf format) - per-sample quantification level plot for the regulated microexons (exons shorter than 28 nt), exons (longer than 27 nt) and introns

prepare_sashimis and plot_sashimis rules generate sashimi plots for the regulated microexons (exons shorter than 28 nt), exons (longer than 27 nt) and introns:

  1. In results/{GroupB}_vs_{GroupA}/figures/sashimis/ (pdf format) - configuration files and sashimi plots

Authors

Simon Bajew, PhD (IIS Biodonostia)

License

This project is under MIT License.

sm-rnaseq-splicing's People

Contributors

simon-bt avatar

Watchers

 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.