pyrpipe: python rna-seq pipeliner
Introduction
pyrpipe (Pronounced as "pyre-pipe") is a python package to easily develop RNA-Seq analyses workflow by integrating popular RNA-Seq analysis programs in an object oriented manner. pyrpipe can be used on local computers or on HPC environments to manage analysis of RNA-Seq data. Users can use the easy-to-use APIs to popular bioinformatic tools provided with pyrpipe, or can use the methods provided in the pyrpipe_engine module to integrate any other third-party program in their pipeline.
What it does
Allows fast and easy development of bioinformatics pipelines in python by providing
- a high level api to popular bioinformatics tools
- a general api to execute any linux command from python (using the subprocess module)
- comprehensive logging features to log all the commands, output and their return status
- report generating features for easy sharing, reproducing, benchmarking and debugging
Prerequisites
- python 3.6 or higher
- OS: Linux, Mac
pyrpipe provides API to:
| Tool | Purpose |
|---|---|
| SRA Tools (v. 2.9.6 or higher) | SRA access |
| Trimgalore | QC |
| BBDuk | QC |
| Hisat2 | Alignment |
| STAR | Alignment |
| Bowtie2 | Alignment |
| Kallisto | Quant |
| Salmon | Quant |
| Stringtie | Transcript Assembly |
| Cufflinks | Transcript Assembly |
| Trinity | Transcript Assembly |
| Samtools | Tools |
| Portcullis | Tools |
| Mikado | Tools |
Read the documentation here
Installation
Please follow these instruction:
To create a new Conda environment (optional):
- Download and install Conda
conda create -n pyrpipe python=3.7conda activate pyrpipe
Install latest stable version
pip install pyrpipe --upgrade
If above command fails due to dependency issues, try:
- Download the requirements.txt
pip install -r requirements.txtpip install pyrpipe
To run tests:
- Download the test set (direct link)
pip install pytest- To build test_environment (This will download tools):
cd tests
. ./build_test_env.sh
- Go one directory above (use same terminal used for
build_test_env.sh)testsand runpy.test tests/test_*
Install current developer version
git clone https://github.com/urmi-21/pyrpipe.git
pip install -r pyrpipe/requirements.txt
pip install -e path_to/pyrpipe
#Running tests; From pyrpipe root perform
#To build test_environment (This will download tools):
cd tests ; . ./build_test_env.sh
#in same terminal
py.test tests/test_*
Setting NCBI SRA Toolkit
Use vdb-config -i to configure SRA Toolkit. Make sure that:
- Under the TOOLS tab, prefetch downloads to is set to public user-repository
- Under the CACHE tab, location of public user-repository is not empty
Metadata
Release files for pyrpipe 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyrpipe-0.0.2.tar.gz | 45.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyrpipe-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 100.6 kB
Release files / pyrpipe-0.0.2.tar.gz
| Download URL | pyrpipe-0.0.2.tar.gz |
|---|---|
| Size | 45.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
377471d43ba56af041cd68af99c304f2181956b6cc0810c2f354afb5c935bdf3
|
|
BLAKE2b-256 checksum How to use checksums |
6698b47ac1f453f468f8b393229bf2002e8967719c28bc34c110be4bd2111ccd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4
|
Release files / pyrpipe-0.0.2-py3-none-any.whl
| Download URL | pyrpipe-0.0.2-py3-none-any.whl |
|---|---|
| Size | 55.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2de8b9892ae69b75d44423448bb82a8d74ef6a6fbf7bd241dca35937ed707dd
|
|
BLAKE2b-256 checksum How to use checksums |
a6e99f279cdd43dac1a1f86f8584650630380a3015c48f2dd151276e99d4248c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4
|