Skip to main content

Pyrangeyes

Gene visualization package for dataframe objects generated with PyRanges.

Pyrangeyes significantly facilitates genomic data interpretation by providing powerful, customizable, and user-friendly visualizations. It effectively covers the gap between data manipulation and visualization, thereby accelerating the analysis workflow in genomic research.

Overview

The goal is getting a plot displaying a series of genes, transcripts, or any kind of ranges contained in a PyRanges object. It displays the genes' intron-exon structure in its corresponding chromosome, enabling easy visualization of your PyRanges data. The Pyranges version compatible with Pyrangeyes is >= 1.0.0 (find it at https://github.com/pyranges/pyranges_1.x.git).

To obtain a plot, the variable engine must be specified by the user first. This variable defines the graphic library on which the plots will be based: the valid engine options are "matplotlib" or "plt" for Matplotlib and "plotly" or "ply" for Plotly.

Every other functionality can be defined during the plot function call. These functionalities include the ID column to group the intervals belonging to the same item (transcript, gene, protein...), items disposition, coloring criteria and palette, labels, row ordering (sort_ranges=True for genomic sorting), and output form among others. The input for the plot function is 1 or more PyRanges objects, and the output is by default an interactive plot with zooming options and tooltip information, but if desired the plot can be directly exported to a png or pdf file.

Installation

Pyrangeyes can be installed using pip. To install all dependencies in order to be able to use all the functionalities of the package and both engines, the [all] option must be specified:

pip install pyrangeyes[all]

If the user wishes to use only one of the engines, the installation of all dependencies can be avoided by using the engine-specific installation options:

# For matplotlib
pip install pyrangeyes[matplotlib]

# For plotly
pip install pyrangeyes[plotly]

Note that the minimal installation by pip install pyrangeyes is not able to produce plots since the graphical dependencies are not installed.

Documentation

Pyrangeyes documentation and tutorial can be found at https://pyrangeyes.readthedocs.io/.

Metadata

Release files for pyrangeyes 0.4.1

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

Source distribution (sdist)

Source distribution for pyrangeyes 0.4.1
File Size Uploaded
pyrangeyes-0.4.1.tar.gz 7.3 MB Details

Built distribution (wheel)

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

Total release size: 14.8 MB

Release files / pyrangeyes-0.4.1.tar.gz

Download URL pyrangeyes-0.4.1.tar.gz
Size 7.3 MB
Tags Source
SHA-256 checksum
How to use checksums
63384078a6922662e8588bf806e398a58af4f89ed98090bbe25a66ef9495ea06
BLAKE2b-256 checksum
How to use checksums
ea4ebfb9a0fd29a0cd53957bf0a986d6a0854561166503e80d23b1b60e002be7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 25, 2026.

Transparency log

Release files / pyrangeyes-0.4.1-py3-none-any.whl

Download URL pyrangeyes-0.4.1-py3-none-any.whl
Size 7.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
50a5754e862a666ea77f3d00b44dd5e74cee3c7e980d26c7c95393855df68922
BLAKE2b-256 checksum
How to use checksums
56e810064574f86011bb4546213252e5fc83b4473e4e079ee2dc4567a575ab75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.11

2 release files

0.3.6

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

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