Skip to main content

A workflow depedency graph compiler and pre-automation handler

Project description

BioBlueprint

BioBlueprint is a python library designed to enable workflow language-interchangeable dependency graph compilation and development automation. It operates by compiling workflows, their dependencies, Git diff between branches, and using the modified files to trace testing paths within the dependency graph.


Usage

Please see the help menu for a comprehensive list of input options.

bioblueprint -i <REPO_BASE_DIR> -db <DEVELOPMENT_BRANCH>

DEVELOPMENT: -db is the dev branch; -sb is main (default)

VALIDATION: -db is main; -sb is the previous release tag


Outputs

An output directory bioblueprint_YYYYmmdd/ will be generated containing the following files:

<REPO>.pr.md

A populated pull request template with I/O modifications, WF modifications, and testing paths. If -pr is specified, the PR will be downloaded and relevant fields populated with I/O and testing information - existing testing data will be retained and unmodified if formatted as a checklist with exact workflow name matches that are the first entry following the markdown checkbox (links are permitted). This function is tailored for accounted repositories:

<REPO>_inputs.tsv & <REPO>_outputs.tsv

Updated inputs/outputs tables for Public Health Bioinformatics

<REPO>.io.json

A JSON formatted to convey inputs and outputs, including defaults and types, for workflows:

{
  <WF_NAME_1>: {
    "path": <PATH_RELATIVE_TO_REPO>,
    "inputs": {
        <INPUT_1>:
        {
            "type": <WF_LANGUAGE_TYPE>,
            "default": <DEFAULT_VAL>
        },
        ..
    },
    "outputs": {
        <OUTPUT_1>: <WF_LANGUAGE_TYPE>,
        ..
    }
  },
  ..
}

<REPO>.testing.json

A JSON formatted to convey affected workflows and the causal dependencies:

{
  <WF_NAME_1>: {
    "path": <PATH_RELATIVE_TO_REPO>,
    "modifications": [
        <TASK/WF_1>,
        ..
    ]
  },
  ..
}

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

bioblueprint-0.0.1.tar.gz (56.6 kB view details)

Uploaded Source

Built Distribution

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

bioblueprint-0.0.1-py3-none-any.whl (45.1 kB view details)

Uploaded Python 3

File details

Details for the file bioblueprint-0.0.1.tar.gz.

File metadata

  • Download URL: bioblueprint-0.0.1.tar.gz
  • Upload date:
  • Size: 56.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for bioblueprint-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b07150085515ae11650d4f48e26963eacff95357ed032eac01dc4c5af57191b9
MD5 6ecd0c12cf82fc114e7fb2ac2e9a75d0
BLAKE2b-256 ff1e2528886fbe0902f5401e48770651d70e1399c87c0154050afad6852614e8

See more details on using hashes here.

File details

Details for the file bioblueprint-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: bioblueprint-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 45.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for bioblueprint-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1268922d5cfb993697cf0d8864afbd49ad6e5e516ff3173523fb3c8b188a501c
MD5 d7f9917baf090e8b422622dc7d90a8da
BLAKE2b-256 e8cc02f1c32f2c5e27bbbd8914cefde5294b33039c663ad7f69c9f7065be1ebc

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