Skip to main content

'Genomic intervals data visualization package for dataframe objects generated with PyRanges.'

Project description

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/.

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

pyrangeyes-0.3.6.tar.gz (7.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrangeyes-0.3.6-py3-none-any.whl (7.5 MB view details)

Uploaded Python 3

File details

Details for the file pyrangeyes-0.3.6.tar.gz.

File metadata

  • Download URL: pyrangeyes-0.3.6.tar.gz
  • Upload date:
  • Size: 7.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyrangeyes-0.3.6.tar.gz
Algorithm Hash digest
SHA256 c9a75fb16f68aa702f565e6471a753647f691daf4f0455574297dfe11ae3b5bb
MD5 ae5f8028bc8bc8448f4f41aaef3e1b9e
BLAKE2b-256 39b6f455f9253ffa2feba0dd93112575a3853687af310d0308a3756818085f4c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrangeyes-0.3.6.tar.gz:

Publisher: build_and_upload.yml on pyranges/pyrangeyes

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyrangeyes-0.3.6-py3-none-any.whl.

File metadata

  • Download URL: pyrangeyes-0.3.6-py3-none-any.whl
  • Upload date:
  • Size: 7.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyrangeyes-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 02af419529f36d88d6a6b3492f98507cc27ed8b0a4238cbbb68784c4d3b29d86
MD5 9442da9ee057c42230ae29b11b690343
BLAKE2b-256 5a168aa65eebd3b5a2baa513d233dd018a5eb0646b0a8a318ace1efb34b3104f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrangeyes-0.3.6-py3-none-any.whl:

Publisher: build_and_upload.yml on pyranges/pyrangeyes

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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