Git Product home page Git Product logo

drop's Introduction

Detection of RNA Outlier Pipeline

Pipeline status Version

The manuscript main file, supplementary figures and table can be found in the manuscript folder or in protocol exchange.

DROP documentation

drop logo

Dependencies

Programming languages:

R packages

Bioconductor and base R packages need to be installed. The packages are listed in drop/requirementsR.txt. A script for installing these packages is provided. From the repository root just execute:

Rscript drop/installRPackages.R drop/requirementsR.txt

Other packages

Installation

Make sure that all of the above listed dependencies are installed. Then install DROP from github using pip. For this you need to recursively clone the repository with all its submodules first.

git clone https://github.com/gagneurlab/drop.git --recurse-submodules

Install DROP (activate your python environment if you are using one)

# conda activate drop_env
cd drop
pip install .

Alternatively, you can also install it directly without cloning

pip install git+https://github.com/gagneurlab/drop.git

Installation time (including all dependencies): ~ 1h

Initialize a project

DROP projects are initialized in a separate directory dedicated to the analysis project. Calling the initialization command creates the necessary files.

cd <project/path>
drop init

Set up the demo project

First, install the drop module according to installation. Initialize the demo directory with a custom test project path. In the following we will use $HOME/drop_demo as <project/path>.

cd $HOME/drop_demo
drop demo

This command downloads the demo data, initializes DROP and adapts the config file paths to your current project directory. Now the pipeline is ready to be executed using snakemake.

snakemake -n # dryrun
snakemake

Once the pipeline has run through, you will find the output in the $HOME/drop_demo/Output. It will consist of processed data, results and HTML pages. In order to view the complete HTML summary, open $HOME/drop_demo/Output/htmlOutput/drop_demo_index.html in the browser.

Expected runtime: 30 min

Set up a custom project

Install the drop module according to installation and initialize the project in a custom project directory.

Prepare the input data

Create a sample annotation that contains the sample IDs, file locations and other information necessary for the pipeline. Edit the config file to set the correct file path of sample annotation and locations of non-sample specific input files. For these steps, please refer to the documentation.

Execute the pipeline

Once these files are set up, you can execute a dry run from your project directory

snakemake -n

This shows you the rules of all subworkflows. Omit -n if you are sure that you want you execute all printed rules. You can also invoke single workflows explicitly e.g. for aberrant splicing with

snakemake aberrantExpression -n

drop's People

Contributors

mumichae avatar lu96 avatar c-mertes avatar vyepez88 avatar ischeller avatar andradesalazar avatar octopuscat88 avatar xueqicao 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.