acidgenomes
Toolkit for downloading and processing genome annotations.
Installation
This is a Python package hosted on PyPI as acidgenomics-acidgenomes.
The import name is unchanged: acidgenomes.
We recommend using uv to install.
uv add acidgenomics-acidgenomes
Or with pip:
pip install acidgenomics-acidgenomes
Quick start
import acidgenomes as ag
# Detect organism from Ensembl gene IDs
ag.detect_organism(["ENSG00000000003", "ENSG00000000005"])
# => "Homo sapiens"
# Current Ensembl genome build
ag.current_ensembl_genome_build("Homo sapiens")
# => "GRCh38"
# Strip version suffixes
ag.strip_gene_versions(["ENSG00000000003.14"])
# => ["ENSG00000000003"]
# Build a transcript-to-gene mapping
import pandas as pd
df = pd.DataFrame({"tx_id": ["ENST001", "ENST002"], "gene_id": ["ENSG001", "ENSG002"]})
t2g = ag.make_tx_to_gene(df)
# Build a gene-to-symbol mapping
df = pd.DataFrame({"gene_id": ["ENSG001"], "gene_name": ["TP53"]})
g2s = ag.make_gene_to_symbol(df, format="make_unique")
Downloading reference data
# HGNC (human gene nomenclature)
hgnc = ag.make_hgnc()
# MGI (mouse)
mgi = ag.make_mgi()
# NCBI gene info
ncbi = ag.make_ncbi_gene_info("Homo sapiens")
# JAX human-to-mouse orthologs
jax = ag.make_jax_human_to_mouse()
# Map gene names to HGNC IDs
ag.map_gene_names_to_hgnc(["TP53", "BRCA1"])
# Update outdated gene symbols
ag.update_gene_symbols(["ZCCHC11"], organism="Homo sapiens")
License
Apache-2.0 — Copyright 2026 Acid Genomics LLC — see LICENSE.
Release files for acidgenomics-acidgenomes 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| acidgenomics_acidgenomes-0.2.1.tar.gz | 46.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| acidgenomics_acidgenomes-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 109.8 kB
Release files / acidgenomics_acidgenomes-0.2.1.tar.gz
| Download URL | acidgenomics_acidgenomes-0.2.1.tar.gz |
|---|---|
| Size | 46.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d414fd8a8f789ae3603d21c043938865c20e076170fe791df063fb2bc833c789
|
|
BLAKE2b-256 checksum How to use checksums |
7b8c7e72ac0669faf0ce06aa4886ceb0fca1791cdc70a6f7c2af6607ae7af61e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / acidgenomics_acidgenomes-0.2.1-py3-none-any.whl
| Download URL | acidgenomics_acidgenomes-0.2.1-py3-none-any.whl |
|---|---|
| Size | 63.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07ba90b12e9f29d79eddf0f861185e962a9f170b98b6abc3c8c43c97c79c04a1
|
|
BLAKE2b-256 checksum How to use checksums |
4e3b489c2e7c2bf6b987e51a326984973f806e11aaf9bb3c11b37bbc2d717215
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|