If you're doing machine learning on genomic intervals, this handles the weird stuff between BED files and embeddings. Region2Vec gives you unsupervised region embeddings, BEDspace adds metadata-aware search, and scEmbed does single-cell ATAC-seq clustering that drops into scanpy workflows. The universe building tools are honestly the MVP here since tokenization quality makes or breaks everything downstream. It's not trying to be a general genomics Swiss army knife, just focused on turning regions into vectors you can actually work with. Assumes you know your way around BED files and have PyTorch installed if you want the ML features. The CLI is there but most real work happens in Python.
$ npx -y skills add davila7/claude-code-templates --skill geniml --agent claude-codeInstalls into .claude/skills of the current project.
Geniml is a Python package for building machine learning models on genomic interval data from BED files. It provides unsupervised methods for learning embeddings of genomic regions, single cells, and metadata labels, enabling similarity searches, clustering, and downstream ML tasks.
Install geniml using uv:
uv uv pip install geniml
For ML dependencies (PyTorch, etc.):
uv uv pip install 'geniml[ml]'
Development version from GitHub:
uv uv pip install git+https://github.com/databio/geniml.git
Geniml provides five primary capabilities, each detailed in dedicated reference files:
Train unsupervised embeddings of genomic regions using word2vec-style learning.
Use for: Dimensionality reduction of BED files, region similarity analysis, feature vectors for downstream ML.
Workflow:
Reference: See references/region2vec.md for detailed workflow, parameters, and examples.
Sponsors