Skip to main content

biomapy

This is a library that has just one function that maps a list of gene IDs from one to another.

Supported IDs are Uniprot, entrez, ensembl, and Gene_symbol.

The usage is straightforward the gene_mapping_many() takes as argument the list of IDs As a Python object list), source ID type and target ID type.

The funciton update_mapping_datasets() serves to update the mapping datasets and to be sure that your mappings are up-to-date.

Be careful that the data type is compatible when you map. Entrez have to be ints and not strings.

Future implementations will fous on expanding the IDs that are supported (e.g. diseases)

Installation

Biomapy can be installed via pip

pip install biomapy

Usage

A tipical call for gene_mapping_many() is as follows:


import biomapy as bp

gene_symbol_list=['A1BG','TGFB','BMP2']

gene_entrez_list=bp.gene_mapping_many(gene_symbol_list,'symbol','entrez')

gene_entrez_list

[1,7040,650]

Metadata

Release files for biomapy 0.3.3

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

Built distribution (wheel)

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

Release files / biomapy-0.3.3-py3-none-any.whl

Download URL biomapy-0.3.3-py3-none-any.whl
Size 41.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4f1a8141d976a42b3baac213d0088e3c91e9e5a05fa3c61fd58c3f94d9706a73
BLAKE2b-256 checksum
How to use checksums
e6f43eb4fdb341a225c1c4a4f614cd473db360265e32f704db46191cac610fec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Security for biomapy 0.3.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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