Skip to content
databioPublic

About

Python pipeline for processing BED files for BEDbase

Topics

Resources

Stars

3 stars

Watchers

3 watching

Forks

Latest commit

 

History

748 Commits

Folders and files

Repository files navigation

bedboss

PEP compatible

pypi-badge pypi-version Code style: black Github badge


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.

Installation

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) needs pip install "bedboss[standardize]" (pulls in torch).
  • Commands that embed BED files or text (bedboss reindex, bedboss reindex-text, and the Qdrant upload commands in bedboss/qdrant_index/) need in-process models (pip install "bbconf[local]") or a bedbase config whose embedding_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 need pip install "bbconf[local]".

Development

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.

Testing

Requirements test:

To test requirements, install bedboss and run:

bedboss requirements-check

Smoke tests:

Use this docs:

How to generate usage documentation:

Run this command in the root of the repository:

cd scripts
bash update_usage_docs.sh

About

Python pipeline for processing BED files for BEDbase

Topics

Resources

Stars

3 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages