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.12.tar.gz (145.7 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.12-py3-none-any.whl (150.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bgc_viewer-0.1.12.tar.gz
  • Upload date:
  • Size: 145.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bgc_viewer-0.1.12.tar.gz
Algorithm Hash digest
SHA256 373d1dac42a672a43f68757bc51171d56cce0be81a1099a4c2765a2d80d39374
MD5 fe4426255f0aae96f5c8f836009bf2d3
BLAKE2b-256 a624e5b4182528487d1a70c2c450b47c1dcbe0fbda516578e268d202465abfbb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bgc_viewer-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 150.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bgc_viewer-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 f888c1ab6d5e1bc3271f2062ec1aba34564c8b856d172185486debf51c7382eb
MD5 fea0e77c9b720a7db190ef36b6212d1b
BLAKE2b-256 70ff3eab6891b6a5f7851ea6235ea3b0b724eeb4c907fa84f87a8a8259d28095

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