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.4.0
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.4.0.tar.gz | 49.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| acidgenomics_acidgenomes-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 114.8 kB
Release files / acidgenomics_acidgenomes-0.4.0.tar.gz
| Download URL | acidgenomics_acidgenomes-0.4.0.tar.gz |
|---|---|
| Size | 49.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56e8b2b0d960b5e4038fb72fa6a33408e06d90a6a0e68116d97f979f3a0854bc
|
|
BLAKE2b-256 checksum How to use checksums |
ff89f55b8a746124476d848490755ecf832049464e240fd591f022698062fbb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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.4.0-py3-none-any.whl
| Download URL | acidgenomics_acidgenomes-0.4.0-py3-none-any.whl |
|---|---|
| Size | 65.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cb87bfc16584016f71d56fecec2c91c188adc4951d923278681b358c35fe2d7e
|
|
BLAKE2b-256 checksum How to use checksums |
3c700072fb90635cedbc698ed1e03c72b6f17ef41f33b81a4e11ec32dcc4b4bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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}
|