Skip to main content

GenomicRanges for Python.

Project description

pyranges

Introduction

PyRanges is a Python library for efficient and intuitive manipulation of genomics data, particularly genomic intervals (like genes, genomic features, or reads). The library is optimized for fast querying and manipulation of genomic annotations. It enables intuitive and highly efficient pipelines for genomic analysis.

"Finally ... This was what Python badly needed for years." - Heng Li

Version 1.x

This is version 1.x of pyranges. It is a complete rewrite of the original pyranges library, that will replace the "default" (version 0) sometime in 2024.

Install

Pyranges 1.x requires python ≥3.12. Minimal installation:

pip install pyranges1

Installation including all optional dependencies:

pip install pyranges1[all]

Details at https://pyranges1.readthedocs.io/en/latest/installation.html

Documentation

The pyranges documentation, including installation instructions, API, tutorial, and how-to-pages, is available at https://pyranges1.readthedocs.io/

Features

  • fast
  • memory-efficient
  • featureful
  • pythonic/pandastic

Paper/Cite

Stovner EB, Sætrom P (2020) PyRanges: efficient comparison of genomic intervals in Python. Bioinformatics 36(3):918-919 http://dx.doi.org/10.1093/bioinformatics/btz615

Supporting pyranges

  • most importantly, cite pyranges if you use it. It is the main metric funding sources care about.
  • use pyranges in Stack Overflow/biostars questions and answers
  • star the repo (possibly important for github visibility and as a proxy for project popularity)

Asking for help

If you encounter bugs, or the documentation is not enough a cannot accomplish a specific task of interest, or if you'd like new features implemented, open an Issue at github: https://github.com/pyranges/pyranges/issues

Contributing to pyranges

Pyranges accepts code contributions in form of pull request. For details, visit https://pyranges1.readthedocs.io/developer_guide.html

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyranges1-1.0.3.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

pyranges1-1.0.3-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file pyranges1-1.0.3.tar.gz.

File metadata

  • Download URL: pyranges1-1.0.3.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for pyranges1-1.0.3.tar.gz
Algorithm Hash digest
SHA256 b8bc4420c25d39ccf909906a47eed32bdfd3ae599ca2dec4efee5cc299a22278
MD5 f178c4cc34d27fc8d4b1a38617cf1303
BLAKE2b-256 c4cbae71607403e8af91d08ec214416a1eddb08bdb658c7e783f6b2448cd2972

See more details on using hashes here.

File details

Details for the file pyranges1-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: pyranges1-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for pyranges1-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d2b81d8969a5790ca61c87fe044a51108f2b9a4e656253eab4e1a28518f19ef7
MD5 4c4224e6c57d6a26b21792568e2a7dfd
BLAKE2b-256 55723f4dd184366f58033577852105dffc5b73a46cfb2869b5dec8a93d260a46

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page