Minimal Docker container to run ribopip (github.com/stepf/ribopip)
268
An alignment and analysis pipeline for Ribo-seq and RNA-seq data
RiboPip is Ruby based pipeline for processing Ribosome Profiling (Ribo-seq) and RNA sequencing (RNA-seq) datasets. ribopip align starts from raw sequences files and computes a splice-aware alignment to a reference database along with a read summarization (counting mapped reads per genomic feature) and data quality assessments. Read summarization data can be merged and used for differential expression estimation with ribopip postproc
RiboPip wraps around all pipeline steps and ties them together for which it depends a variety of external software. It has been designed to run on every POSIX compliant UNIX system, for example, Linux, Mac OS X, and OpenBSD.
Automatic installation
Running scripts/bootstrap installs all external dependencies and sets up RiboPip correctly. It works out-of-the-box with most Linux flavours, although you might want to modify the bash script according to your needs.
Docker container
A minmal Docker container (Debian) with pre-installed dependencies can be obtained through the Docker Hub:
docker image pull stepf/ribopip
You can then spin up an interactive session to run / test the pipeline. Beware that this requires a lot of computational power, so your cluster setup will need to support containers:
docker container run --interactive --tty --rm stepf/ribopip
# run pipeline as described below
Manual installation
scripts/bootstrap for a list)cd "ext/fastq-bucketize-0.1" && make # && copy bin to any directory in your PATH
cd -
bundle install
rake build && gem install "./pkg/ribopip-$(rake version).gem"
rake spec
> ribopip -h
Commands:
ribopip align
ribopip help [COMMAND]
ribopip postproc
Example of a full pipeline run
# Reference files:
ncrna="GRCm38.80.ncrna.fa"
genome="GRCm38.dna.primary_assembly.fa"
annotation="Mus_musculus.GRCm38.80.gtf"
igv="GRCm38.igv.genome"
# Arguments for ribopip align:
aln_args="-n ${ncrna}$ -g ${genome} -a ${annotation} --igv_ref ${igv}"
# Run upstream pipeline for datasets, each comprising of
# - footprint and mrna data : fp, mrna
# - 2 experimental conditions : treated, control
# - 2 replicates : rep1, rep2
ribopip align $aln_args -r fp_treated_rep1.fastq
ribopip align $aln_args -r fp_treated_rep2.fastq
ribopip align $aln_args -r fp_control_rep1.fastq
ribopip align $aln_args -r fp_control_rep2.fastq
ribopip align $aln_args -r mrna_treated_rep1.fastq
ribopip align $aln_args -r mrna_treated_rep2.fastq
ribopip align $aln_args -r mrna_control_rep1.fastq
ribopip align $aln_args -r mrna_control_rep2.fastq
# Run downstream pipeline to analyze feature counts
ribopip postproc -a $annotation -o . \
--fp-1 fp_treated \
fp_treated_rep1.vs_genome.uni.ft.dist.txt \
fp_treated_rep2.vs_genome.uni.ft.dist.txt \
--fp-control fp_control \
fp_control_rep1.vs_genome.uni.ft.dist.txt \
fp_control_rep2.vs_genome.uni.ft.dist.txt \
--mrna-1 mrna_treated \
mrna_treated_rep1.vs_genome.uni.ft.dist.txt \
mrna_treated_rep2.vs_genome.uni.ft.dist.txt \
--mrna-control mrna_control \
mrna_control_rep1.vs_genome.uni.ft.dist.txt \
mrna_control_rep2.vs_genome.uni.ft.dist.txt
The pre-processing pipeline comprises of four consecutive steps. The first step filters and prepares the raw sequence files. The second step removes unwanted RNAs. The third step computes a splice-aware alignment to a given reference database. The fourth step extracts data subsets with desired properties for further analysis.
During pre-processing a number of metrics is computed:
Copyright (c) 2016 Stefan Dang. See LICENSE for details.
Content type
Image
Digest
Size
553.3 MB
Last updated
almost 9 years ago
docker pull stepf/ribopip