Skip to main content

utility functions for snakemake

Project description

Snakemake utils

Utility functions for snakemake

Examples

Loading snakemake object without actually running snakemake

try:
    snakemake
except NameError:
    from snakemk_util import load_rule_args
    
    snakefile_path = os.getcwd() + "/Snakefile"
    snakemake = load_rule_args(
        snakefile = snakefile_path,
        rule_name = 'create_prediction_target',
        default_wildcards={
            'ds_dir': 'all_data'
        }
    )

Installation

pip install snakemk_util

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

snakemk_util-2.0.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

snakemk_util-2.0.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file snakemk_util-2.0.0.tar.gz.

File metadata

  • Download URL: snakemk_util-2.0.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for snakemk_util-2.0.0.tar.gz
Algorithm Hash digest
SHA256 85c47ace5e7db901bc1b838903147e35144dc1dcd0b1fabbaa32777a05205c48
MD5 994d59da4e7a6ce04df2dad66f87c9ab
BLAKE2b-256 8b30c98f02ae0adb3aec7b2aef085a1c1c75812c4c2cfee95a5bba32b9a576a9

See more details on using hashes here.

File details

Details for the file snakemk_util-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: snakemk_util-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for snakemk_util-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9634f76177192ddc23ba687dd4354c51f1b7aea82fb733bcd9a9bc49b43fccc8
MD5 4029655fcd78e370b0e49c4388dc3386
BLAKE2b-256 b7c4809c436474f2d7aa8cf614854d080184e7f9914daebf6120c0619391a00a

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