Documentation: https://docs.bedbase.org/bedboss
Source Code: https://github.com/databio/bedboss
BEDboss is a command-line management tool for BEDbase. It contains pipelines that filters, standardizes, and calculates statistics for genomic interval data, functions that enters the results into a BEDbase database, deletes bed and bedsets from the database, and indexes the data to qdrant.
To install bedboss use this command:
pip install bedboss
or install the latest version from the GitHub repository:
pip install git+https://github.com/databio/bedboss.git
Some commands need optional extras:
--standardize-pep(bedMS standardization) needspip install "bedboss[standardize]"(pulls in torch).- Commands that embed BED files or text (
bedboss reindex,bedboss reindex-text, and the Qdrant upload commands inbedboss/qdrant_index/) need in-process models (pip install "bbconf[local]") or a bedbase config whoseembedding_server:block points at embedding servers (see the bbconf README). Bulk reindexing should use in-process models. - The HPC vectorize step (
bedboss/qdrant_index/vectorize.py) and the UMAP script (bedboss/scripts/make_umap.py) always run models in-process, so they needpip install "bbconf[local]".
For development, you should install all the dependencies, create a virtual environment, and work on the local database. The workflow is described in the development documentation.
To test requirements, install bedboss and run:
bedboss requirements-check
Use this docs:
Run this command in the root of the repository:
cd scripts
bash update_usage_docs.sh