You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
DiffBind QC report robustness
Guard against no-op failures (3b70cad, 2026-09-22). The QC Rmd now declares the threads render param, writes placeholder outputs and exits when no peaks are shared across samples, computes PCA with however many components exist instead of assuming three, and skips per-group consensus when every condition has a single sample. Fixes crashes on 2-sample runs and on samples with near-empty peak sets.
Consensus peak block (9eebc85, #143). Adds a per-condition consensus peakset section to the QC report.
Preflight sample check (part of d82d22f, #140). The report drops rows with missing or empty peak files and exits with empty placeholder outputs when fewer than two valid samples remain.
DiffBind threading
Fix thread oversubscription (87ab8ab, #139). Thread count is set at the DiffBind object level rather than only on dba.count, and passed through from the Snakemake rules. Touches bin/DiffBind_v2_QC.Rmd, bin/DiffBind_v2_load.R, and workflow/rules/dba.smk.
Earlier attempt reverted (e5fe8a6, then a5278c2, 2026-09-04). A first fix limiting dba.count threads was committed and reverted the same day, superseded by #139.
Jaccard similarity QC
Emit NA for samples with no peak calls (d82d22f, #140). Jaccard scoring no longer fails when a sample has zero peaks. NaN values are kept in the output but excluded from plots. Also removes a CSV write that clobbered existing output, and adds a large Jaccard unit test suite plus CI test requirements.
Colorize Jaccard plot (5c79c58, #141). Points are colored by group when group info is available, with a conditional fallback otherwise. Includes a small change to workflow/rules/peakqc.smk.
Sample and group naming
Allow underscores in group names (d81718d, #144). Group labels may now contain underscores. The split delimiter used to parse sample and group names was changed accordingly, and the peakcall unit tests were expanded to cover the new label forms.
Testing and CI
New test files: tests/test_jaccard.py, tests/test_qc_guards.py.
New .github/test_reqs.txt and CI workflow update to install test dependencies.
Expanded tests/test_peakcall.py for group label handling.