GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - databio/bedhost: API and UI for BEDbase

BranchesTags
Open more actions menu

Latest commit

 

History

1,742 Commits
1,742 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
bedhost
bedhost
 
 
deployment
deployment
 
 
docs
docs
 
 
environment
environment
 
 
tests
tests
 
 
ui
ui
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
dev.Dockerfile
dev.Dockerfile
 
 
interactive.py
interactive.py
 
 
package-lock.json
package-lock.json
 
 
pyproject.toml
pyproject.toml
 
 
test.Dockerfile
test.Dockerfile
 
 

Repository files navigation

bedhost

Code style: black Github badge

bedhost is a Python FastAPI module for the API that powers BEDbase. It needs a path to the bedbase configuration file, which can be provided either via -c/--config argument or read from $BEDBASE_CONFIG environment variable.


Links of interest

  • Deployed public instance: https://bedbase.org/
  • Documentation: https://docs.bedbase.org/bedhost
  • API: https://api.bedbase.org/
  • DEV API: https://api-dev.bedbase.org/
  • UI: https://bedbase.org/
  • DEV UI: https://dev.bedbase.org/
  • Source Code: https://github.com/databio/bedhost/

Developer quick-start

source environment/production.env
BEDBASE_CONFIG=deployment/config/api.bedbase.org.yaml uvicorn bedhost.main:app --reload

UI development:

export VITE_API_HOST=http://localhost:8000

Testing

Black-box compliance tests (against any deployment):

pytest tests/api/ --api_root=https://api.bedbase.org

Integration tests (ephemeral Postgres + Qdrant + in-process TestClient, ~30s):

./tests/scripts/test-integration.sh

Manual service control:

./tests/scripts/services.sh start
RUN_INTEGRATION_TESTS=true pytest tests/integration/ tests/api/
./tests/scripts/services.sh stop

Integration tests require network access on first boot (bbconf downloads a licenses CSV from GitHub and may pull HuggingFace models unless BEDHOST_INIT_ML=false is set; test-integration.sh sets it). BEDHOST_LOG_LEVEL (default INFO) sets the log level for bedhost, bbconf, and geniml.

About

API and UI for BEDbase

bedbase.org

Topics

bedbioinformaticsfastapigenomic-intervalsgenomicslab-project-bedbaserest-apiserver

Resources

Readme
BSD-2-Clause license
Activity
Custom properties

Stars

2 stars

Watchers

9 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.