Skip to main content

Build Status Coverage Status Documentation Status PyPI - Python Version PyPI - Downloads PyPI - License

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):

  1. Download and install Conda
  2. conda create -n pyrpipe python=3.7
  3. conda activate pyrpipe

Install latest stable version

pip install pyrpipe --upgrade

If above command fails due to dependency issues, try:

  1. Download the requirements.txt
  2. pip install -r requirements.txt
  3. pip install pyrpipe

To run tests:

  1. Download the test set (direct link)
  2. pip install pytest
  3. To build test_environment (This will download tools):
cd tests 
. ./build_test_env.sh
  1. Go one directory above (use same terminal used for build_test_env.sh) tests and run py.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.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyrpipe 0.0.3
File Size Uploaded
pyrpipe-0.0.3.tar.gz 45.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyrpipe 0.0.3
File Interpreter ABI Platform
pyrpipe-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 100.8 kB

Release files / pyrpipe-0.0.3.tar.gz

Download URL pyrpipe-0.0.3.tar.gz
Size 45.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e389c609c5566ebd964f736188eb5de46c19ab32f7e5b676f2abf5fe87280a4b
BLAKE2b-256 checksum
How to use checksums
47995fe198f903959876ed772753e7fd775f6a9f90fbed659a21bff2c177b81a
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.3-py3-none-any.whl

Download URL pyrpipe-0.0.3-py3-none-any.whl
Size 55.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e98e5f0ec08086ba14ae8dfd84c31e75944099753aef2b7243f2580055bd7304
BLAKE2b-256 checksum
How to use checksums
dd0e1f9d234c6aae3e127cdd8866b26baa6689d37e587eb5f80221d45016c5f4
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 history Release notifications | RSS feed

0.0.5

1 release file

0.0.4

2 release files

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page