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.9.tar.gz (145.0 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.9-py3-none-any.whl (149.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bgc_viewer-0.1.9.tar.gz
Algorithm Hash digest
SHA256 1f68524d7a3bd223b3414d5a02fe825db1dd75bc44eb945f6924af65da15e447
MD5 4907d08a8afa0f68e24db395dff592bc
BLAKE2b-256 8d2bc61f16fbcf089f29ccf3a3ec6edc823e97a2dd93db31983276de56d3d6b5

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bgc_viewer-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 556a506d47e456e654abee1b36ecc1d297011f796e41855d75dcc42319284c8d
MD5 d37900e5e34d414e830463f253eab4a3
BLAKE2b-256 c20127bb0261417358f83d07f20de523dcf682643fde2c5b4ada007ff5007084

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