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.4.tar.gz (51.7 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.4-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for snakemake_logger_plugin_flowo-0.1.4.tar.gz
Algorithm Hash digest
SHA256 105c1bcd475e2028f456d6c632abe33e45541470af64c4228d63a5a20e6e9dee
MD5 0cc5a7f39e7d1ec62bbb98f40e81409a
BLAKE2b-256 a93c247498b15df9de9b899370e1082c53cc5d29da662a11df3035955c5fd680

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snakemake_logger_plugin_flowo-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a428e0f44f75219feab4e9cf047b499d56bbaeddf9a27a6e27d2954ed53eb657
MD5 03daa400b034b14e412bc2e6fcb477ce
BLAKE2b-256 f3fb515fcd27194d59a77da140a234d5f98b08e795ee8f3350fadbc8126dbcc8

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