(
run_dir: Path,
status: str,
validation: dict[str, Any],
resource_plan: dict[str, Any] | None = None,
)
| 387 | |
| 388 | |
| 389 | def write_visuals( |
| 390 | run_dir: Path, |
| 391 | status: str, |
| 392 | validation: dict[str, Any], |
| 393 | resource_plan: dict[str, Any] | None = None, |
| 394 | ) -> dict[str, str]: |
| 395 | entries = [ |
| 396 | artifact_entry( |
| 397 | artifact_id="samples", |
| 398 | title="ATAC Samples", |
| 399 | path="validation/samples.normalized.tsv", |
| 400 | kind="table", |
| 401 | status="created", |
| 402 | description="Normalized ATAC sample table.", |
| 403 | ), |
| 404 | artifact_entry( |
| 405 | artifact_id="command_plan", |
| 406 | title="ATAC Command Plan", |
| 407 | path="workflow/atacseq_command_plan.json", |
| 408 | kind="json", |
| 409 | status="created", |
| 410 | description="Alignment, filtering, peak, FRiP, signal, and TSS command plan.", |
| 411 | ), |
| 412 | artifact_entry( |
| 413 | artifact_id="qc_contract", |
| 414 | title="ATAC QC Contract", |
| 415 | path="qc/atac_qc_contract.json", |
| 416 | kind="json", |
| 417 | status="created", |
| 418 | description="Metrics required for interpretation and artifacts expected after execution.", |
| 419 | ), |
| 420 | artifact_entry( |
| 421 | artifact_id="qc_summary", |
| 422 | title="ATAC QC Summary", |
| 423 | path="qc/atacseq_qc_summary.tsv", |
| 424 | kind="table", |
| 425 | status="created", |
| 426 | description="Parsed per-sample alignment, insert-size, FRiP, peak, TSS, motif, and track state.", |
| 427 | ), |
| 428 | artifact_entry( |
| 429 | artifact_id="qc_dashboard", |
| 430 | title="ATAC QC Dashboard", |
| 431 | path="qc/atacseq_qc_dashboard.html", |
| 432 | kind="html", |
| 433 | status="created", |
| 434 | description="Native dashboard summarizing FRiP, peak counts, insert sizes, track state, and caveats.", |
| 435 | ), |
| 436 | artifact_entry( |
| 437 | artifact_id="frip_peak_overview", |
| 438 | title="FRiP And Peak Plot", |
| 439 | path="qc/atacseq_qc_frip_peak_overview.svg", |
| 440 | kind="svg", |
| 441 | status="created", |
| 442 | description="Compact FRiP and peak-count plot generated from parsed run artifacts.", |
| 443 | ), |
| 444 | artifact_entry( |
| 445 | artifact_id="insert_size_distribution", |
| 446 | title="Insert-Size Plot", |
no test coverage detected