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=True     # In public mode, there won't be an option to access the
                          # file system; the data directory will be fixed (default: True)
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.7.tar.gz (144.8 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.7-py3-none-any.whl (149.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bgc_viewer-0.1.7.tar.gz
Algorithm Hash digest
SHA256 7b577e30b1dcae533836129cfdc4155db9e8c562f5e180041149178154a52449
MD5 aede789c2a4e11165a8c954d19d2a6e9
BLAKE2b-256 0a514c63050396a2845acf677e9cc29b18d5cbfd8d42cceec230f336540b5e05

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bgc_viewer-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ce9330300dd8ad616c86e5096fc51a60e5264fc307353c863df726677f7c2870
MD5 b6ac2978cd5e780f572fe65aff88cc67
BLAKE2b-256 e49266dce44f2532c3b230003e95397aed34e9413d468ad79295997b3d042c73

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