Geniml is a python package for building machine learning models of genomic interval data (BED files). It also includes ancillary functions to support other types of analyses of genomic interval data.
Documentation is hosted at https://docs.bedbase.org/geniml/.
Without specifying dependencies, the default dependencies will be installed, which DO NOT include machine learning (ML) or heavy processing libraries.
From pypi:
pip install geniml
or install the latest version from the GitHub repository:
pip install git+https://github.com/databio/geniml.git
pip install geniml[ml] # torch, transformers, gensim — for embeddings and ML models
pip install geniml[sc] # scanpy, anndata — for single-cell data processing
pip install geniml[search] # qdrant-client, fastembed — for vector search
pip install geniml[all] # everything (ml + sc + search)
pip install geniml[ml,sc] # ML + single-cell (for scembed, geneformer)
Run tests (from /tests) with pytest. Please read the contributor guide to contribute.