Skip to main content

A Snakemake logger plugin that stores workflow execution data in PostgreSQL

Project description

Snakemake Logger Plugin - Flowo

A Snakemake logger plugin that stores workflow execution data in PostgreSQL, making your workflow management more efficient and fun! 🎉

🎈 Features

  • Stores Snakemake workflow execution data in PostgreSQL database
  • Tracks jobs, rules, files, and errors
  • Provides comprehensive logging and monitoring capabilities
  • Easy integration with existing Snakemake workflows

💻 Installation

pip install snakemake-logger-plugin-flowo

🔧 Configuration

# To generate the default configuration file, run the following command:
# This will create the default .env configuration file in your $HOME/.config/flowo/ directory.
flowo --generate-config

# After generating the .env file, open it with your preferred text editor to adjust the settings:
vim $HOME/.config/flowo/.env

The following environment variables are available for configuration in the .env file:

  • POSTGRES_USER: PostgreSQL username (default: flowo)
  • POSTGRES_PASSWORD: PostgreSQL password (default: flowo_password)
  • POSTGRES_DB: PostgreSQL database name (default: flowo_logs)
  • POSTGRES_HOST: PostgreSQL host (default: localhost)
  • POSTGRES_PORT: PostgreSQL port (default: localhost: 5432)
  • FLOWO_USER: User displayed in Flowo
  • FLOWO_WORKING_PATH: Snakemake execution project path

🚀 Usage

Basic usage

snakemake --logger flowo

config flowo_project_name or flowo_tags

snakemake \
    --config flowo_project_name=your_project_name flowo_tags="tagA,tagB,tagC" \
    --logger flowo

or config in --configfile

flowo_project_name: your_project_name
flowo_tags: "tagA,tagB,tagC"

📜 License

MIT License

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

snakemake_logger_plugin_flowo-0.1.6.tar.gz (51.8 kB view details)

Uploaded Source

Built Distribution

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

snakemake_logger_plugin_flowo-0.1.6-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file snakemake_logger_plugin_flowo-0.1.6.tar.gz.

File metadata

File hashes

Hashes for snakemake_logger_plugin_flowo-0.1.6.tar.gz
Algorithm Hash digest
SHA256 69f12367179d920832f5239f5a03cd6c434235fb993126779b607d3a9f3f8370
MD5 067ef204578a6db12997fc0061222baa
BLAKE2b-256 68e2011631f762b95fcf776d83a0f392e866a1267cca027a0c8fb1d36320bf37

See more details on using hashes here.

File details

Details for the file snakemake_logger_plugin_flowo-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for snakemake_logger_plugin_flowo-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b3ba1966206e9f7e035619d7140e8114e4ae37b11c76a289221ba4957a64c691
MD5 d8869671b3cecb74e5147c1c59289557
BLAKE2b-256 347bf96cd3c782e4c2c6a12c7af47844a3bf13aadb7d72ebb69353fb0bdd487d

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