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.

Download files

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

Source Distribution

genvert-1.0.0.tar.gz (35.0 kB view details)

Uploaded Source

Built Distribution

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

genvert-1.0.0-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file genvert-1.0.0.tar.gz.

File metadata

  • Download URL: genvert-1.0.0.tar.gz
  • Upload date:
  • Size: 35.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.14

File hashes

Hashes for genvert-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8b91f0c636bea82f26a3d768b39fb2f369ae85a68f6542a432818a593e735396
MD5 2cbfa3dca143f03c846b3d964acf41bf
BLAKE2b-256 bca5335caad8a20da277b62ae6ce42795ee5e7fd4f2d4958175dbd23daf86a0c

See more details on using hashes here.

File details

Details for the file genvert-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: genvert-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 30.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.14

File hashes

Hashes for genvert-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 094109f98a89f4a4a269019c688ace0a30068f7e7ca7828c2006493b216b73f4
MD5 f5f4aec04f1b4447d912ff9a2a919d0e
BLAKE2b-256 8e9b5d8228dde5749856f7a73dc693b4f00ebea630dbbec3a176bc1f98c21431

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 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