# pacificbiosciences/hifi-human-wgs-wdl architecture

> Architecture diagram of the GitHub repository pacificbiosciences/hifi-human-wgs-wdl, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/pacificbiosciences/hifi-human-wgs-wdl
- Repository: https://github.com/pacificbiosciences/hifi-human-wgs-wdl

## Overview

PacBio WGS Variant Pipeline is a WDL workflow for analyzing human whole-genome sequencing data, with singleton and family entrypoints. Users provide sample/cohort inputs, select an execution backend, and run through a WDL engine; the family workflow additionally performs joint calling. The README documents shared tasks, packaged reference assets, and optional GPU acceleration for DeepVariant. Source excerpts were unavailable, so links beyond those explicit README relationships are omitted.

Main entry points: [`workflows/family.wdl`](https://github.com/pacificbiosciences/hifi-human-wgs-wdl/blob/main/workflows/family.wdl) (Family workflow), [`workflows/singleton.wdl`](https://github.com/pacificbiosciences/hifi-human-wgs-wdl/blob/main/workflows/singleton.wdl) (Singleton workflow), [`workflows/wdl-common/wdl/tasks`](https://github.com/pacificbiosciences/hifi-human-wgs-wdl/tree/main/workflows/wdl-common/wdl/tasks) (Shared tasks), [`workflows/unpack_container_manifest/unpack_container_manifest.wdl`](https://github.com/pacificbiosciences/hifi-human-wgs-wdl/blob/main/workflows/unpack_container_manifest/unpack_container_manifest.wdl) (Reference assets)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entrypoints["Workflow entrypoints"]
  node_singleton["Singleton workflow<br/>[singleton.wdl]"]
  node_family["Family workflow<br/>[family.wdl]"]
end

subgraph group_analysis["Analysis workflows"]
  node_shared_tasks["Shared tasks"]
  node_joint["Joint calling<br/>[joint.wdl]"]
  node_deepvariant["DeepVariant<br/>[deepvariant.wdl]"]
  node_parabricks["Parabricks"]
  node_pbmm2["pbmm2<br/>[pbmm2.wdl]"]
  node_assets["Reference assets"]
end

subgraph group_execution["Execution environment"]
  node_engine["WDL engine"]
  node_backend["Compute backend"]
  node_gpu["GPU"]
end

node_user(("Workflow user"))

node_user -->|"submits inputs"| node_singleton
node_user -->|"submits inputs"| node_family
node_singleton -->|"uses tasks"| node_shared_tasks
node_family -->|"uses tasks"| node_shared_tasks
node_family -->|"runs joint calling"| node_joint
node_user -->|"runs workflow"| node_engine
node_engine -->|"executes on"| node_backend
node_singleton -->|"loads at start"| node_assets
node_family -->|"loads at start"| node_assets
node_deepvariant -.->|"optionally accelerates"| node_gpu

click node_singleton "https://github.com/pacificbiosciences/hifi-human-wgs-wdl/blob/main/workflows/singleton.wdl"
click node_family "https://github.com/pacificbiosciences/hifi-human-wgs-wdl/blob/main/workflows/family.wdl"
click node_shared_tasks "https://github.com/pacificbiosciences/hifi-human-wgs-wdl/tree/main/workflows/wdl-common/wdl/tasks"
click node_joint "https://github.com/pacificbiosciences/hifi-human-wgs-wdl/blob/main/workflows/joint/joint.wdl"
click node_deepvariant "https://github.com/pacificbiosciences/hifi-human-wgs-wdl/blob/main/workflows/wdl-common/wdl/workflows/deepvariant/deepvariant.wdl"
click node_parabricks "https://github.com/pacificbiosciences/hifi-human-wgs-wdl/blob/main/workflows/wdl-common/wdl/workflows/parabricks/parabricks_deepvariant.wdl"
click node_pbmm2 "https://github.com/pacificbiosciences/hifi-human-wgs-wdl/blob/main/workflows/wdl-common/wdl/workflows/pbmm2/pbmm2.wdl"
click node_assets "https://github.com/pacificbiosciences/hifi-human-wgs-wdl/blob/main/workflows/unpack_container_manifest/unpack_container_manifest.wdl"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_singleton,node_family,node_user toneBlue
class node_shared_tasks,node_joint,node_deepvariant,node_parabricks,node_pbmm2,node_assets toneAmber
class node_engine,node_backend,node_gpu toneMint
```

## Components

### Workflow entrypoints

- [Singleton workflow](https://github.com/pacificbiosciences/hifi-human-wgs-wdl/blob/main/workflows/singleton.wdl): `workflows/singleton.wdl`
- [Family workflow](https://github.com/pacificbiosciences/hifi-human-wgs-wdl/blob/main/workflows/family.wdl): `workflows/family.wdl`

### Analysis workflows

- [Shared tasks](https://github.com/pacificbiosciences/hifi-human-wgs-wdl/tree/main/workflows/wdl-common/wdl/tasks): `workflows/wdl-common/wdl/tasks`
- [Joint calling](https://github.com/pacificbiosciences/hifi-human-wgs-wdl/blob/main/workflows/joint/joint.wdl): `workflows/joint/joint.wdl`
- [DeepVariant](https://github.com/pacificbiosciences/hifi-human-wgs-wdl/blob/main/workflows/wdl-common/wdl/workflows/deepvariant/deepvariant.wdl): `workflows/wdl-common/wdl/workflows/deepvariant/deepvariant.wdl`
- [Parabricks](https://github.com/pacificbiosciences/hifi-human-wgs-wdl/blob/main/workflows/wdl-common/wdl/workflows/parabricks/parabricks_deepvariant.wdl): `workflows/wdl-common/wdl/workflows/parabricks/parabricks_deepvariant.wdl`
- [pbmm2](https://github.com/pacificbiosciences/hifi-human-wgs-wdl/blob/main/workflows/wdl-common/wdl/workflows/pbmm2/pbmm2.wdl): `workflows/wdl-common/wdl/workflows/pbmm2/pbmm2.wdl`
- [Reference assets](https://github.com/pacificbiosciences/hifi-human-wgs-wdl/blob/main/workflows/unpack_container_manifest/unpack_container_manifest.wdl): `workflows/unpack_container_manifest/unpack_container_manifest.wdl`

### Execution environment

- **WDL engine**
- **Compute backend**
- **GPU**

### Other components

- **Workflow user**

## Connections

- Workflow user → Singleton workflow: submits inputs (evidence: `README.md`)
- Workflow user → Family workflow: submits inputs (evidence: `README.md`)
- Singleton workflow → Shared tasks: uses tasks (evidence: `README.md`)
- Family workflow → Shared tasks: uses tasks (evidence: `README.md`)
- Family workflow → Joint calling: runs joint calling (evidence: `README.md`)
- Workflow user → WDL engine: runs workflow (evidence: `README.md`)
- WDL engine → Compute backend: executes on (evidence: `README.md`)
- Singleton workflow → Reference assets: loads at start (evidence: `README.md`)
- Family workflow → Reference assets: loads at start (evidence: `README.md`)
- DeepVariant → GPU: optionally accelerates (evidence: `README.md`)
