Skip to main content

A viewer to explore and visualize Biosynthetic Gene Cluster data

Project description

BGC Viewer

A viewer for biosynthetic gene cluster (BGC) data.

Installation & run

Using Python 3.11 or higher, install and run the BGC Viewer as follows:

pip install bgc-viewer
bgc-viewer

This will start the BGC Viewer server, to which you can connect with your web browser.

Configuration

Environment variables can be set to change the configuration of the viewer. A convenient way to change them is to put a file called .env in the directory from which you are running the application.

BGCV_HOST=localhost       # Server host (default: localhost)
BGCV_PORT=5005            # Server port (default: 5005)
BGCV_DEBUG_MODE=False     # Enable dev/debug mode (default: False)
BGCV_PUBLIC_MODE=False    # In public mode, there won't be an option to access the
                          # file system; the data directory will be fixed (default: False)
BGCV_DATA_DIR=/data_dir/  # In public mode, this data directory will be used
BGCV_ALLOWED_ORIGINS=https://yourdomain.com # Allowed CORS origins, relevant for public mode

Development

See the repository main README for development details.

uv run python -m bgc_viewer.app

License

Apache 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bgc_viewer-0.1.8.tar.gz (145.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bgc_viewer-0.1.8-py3-none-any.whl (149.8 kB view details)

Uploaded Python 3

File details

Details for the file bgc_viewer-0.1.8.tar.gz.

File metadata

  • Download URL: bgc_viewer-0.1.8.tar.gz
  • Upload date:
  • Size: 145.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for bgc_viewer-0.1.8.tar.gz
Algorithm Hash digest
SHA256 b0723c94a815b8f407d33a1971deee616a09de4e625521950698c7225ff3a528
MD5 eaf1e06fce158ebfff48dfcd5ff060bd
BLAKE2b-256 a0e7e7c7354fea55b7a4659440b1273a4b9f8b5ef10432181100fb50769a8e69

See more details on using hashes here.

File details

Details for the file bgc_viewer-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: bgc_viewer-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 149.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for bgc_viewer-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fb5eab9a04e8b21b60de283ff857486a1aad1eb3664fade82f1deeec44f8b46d
MD5 5d233a17e2477734418d327dd957d144
BLAKE2b-256 1e38911379a2833168641a52b0a6343ed0c7cd0f7321e5a3c6628bb3b9bd6b27

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page