Skip to main content

An easy and elegant Python package for gene identifier conversion

🚩 Introduction

Genvert is a package that provides an easy and elegant way for gene identifier conversion in Python.

Main Features:

  • Native Python implementation: no dependency on R and no need to configure an R environment.
  • Reliable and up-to-date: uses the gene annotation databases officially maintained by Bioconductor under an open-source license.
  • No reliance on online services: except for downloading the databases, all functions run locally, quickly, and without having to worry about network connections and firewalls.
  • Supports multiple species, chip platforms and gene ID types: up to 16 species and 87 chip platforms are supported. Gene IDs can be converted between entrez ID, accession number, ensembl ID, official symbol, alias symbol, etc. (the specific supported types depend on the species).
  • Supports multiple input formats: in addition to converting a list of gene IDs directly, a gene expression matrix in a pandas.DataFrame or an AnnData object can also be accepted as input.
  • Automatically and elegantly handles many-to-many mappings: several built-in strategies resolve conflicts and duplications caused by many-to-many mappings between two gene ID types.

📥 Installation

Genvert supports Python version ≥ 3.9.

# Core install, AnnData is NOT installed.
pip install genvert

# If you intend to convert / filter AnnData objects, add the extra:
pip install genvert[anndata]

📖 Documentation

For a detailed user guide and API reference, please see the documentation.

📝 Citation

If you use Genvert in your work, please cite the publication as follows:

TODO

⚖ License

Genvert is provided under the GNU General Public License v3.0.

Genvert uses gene annotation databases provided by the Bioconductor Package Maintainer under Artistic-2.0.

The birth of Genvert is inseparable from the following excellent open-source projects:

The logo of Genvert is modified from the excellent work DNA by Luiz Carvalho under the CC BY 3.0 License.

Open source leads the world to a brighter future.

Metadata

Release files for genvert 1.0.0

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

Source distribution (sdist)

Source distribution for genvert 1.0.0
File Size Uploaded
genvert-1.0.0.tar.gz 35.0 kB Details

Built distribution (wheel)

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

Total release size: 65.4 kB

Release files / genvert-1.0.0.tar.gz

Download URL genvert-1.0.0.tar.gz
Size 35.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8b91f0c636bea82f26a3d768b39fb2f369ae85a68f6542a432818a593e735396
BLAKE2b-256 checksum
How to use checksums
bca5335caad8a20da277b62ae6ce42795ee5e7fd4f2d4958175dbd23daf86a0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.14

Release files / genvert-1.0.0-py3-none-any.whl

Download URL genvert-1.0.0-py3-none-any.whl
Size 30.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
094109f98a89f4a4a269019c688ace0a30068f7e7ca7828c2006493b216b73f4
BLAKE2b-256 checksum
How to use checksums
8e9b5d8228dde5749856f7a73dc693b4f00ebea630dbbec3a176bc1f98c21431
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

1.0.0 This release

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