Repository navigation
Add PGS robustness experiments, genome-wide validation and 0.6 release packages - #3
Draft
DylanCosto wants to merge 3 commits into
Draft
DylanCosto wants to merge 3 commits into
DylanCosto wants to merge 3 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
pgsum robustnessso researchers can measure how omitted calls and alternative genotype inputs change a polygenic score. JSON experiments support seeded random masks, BED coverage/dropout masks, optional frequency filling and frozen reference distributions. Outputs include an HTML report, exact scores and deltas, regional and variant attribution, ranks, cutoff crossings and input/output fingerprints.Every comparison uses an explicit common-callable autosomal baseline. Exclusions and conditional coverage remain visible; frequency fills are experimental reconstructions. These results do not establish phenotype prediction, clinical calibration or ancestry portability.
The public benchmarks cover four sparse CAD models and the full PGS000018 inventory across all 22 autosomes. The dense benchmark retains all 1,745,179 actual rows, preserves the upstream header discrepancy, and uses nested 8/32/128 target cohorts with 64 disjoint reference people. A separate source-genotype calculation verifies scores, masks, fills, attribution, ranks and reference comparisons. Real genotypes and scoring files are not redistributed.
The full model exposed legitimate IUPAC ambiguity in the official GRCh38 FASTA. Compilation now treats those bases as unknown, keeps affected terms unresolved and prevents ambiguous indel anchors. Invalid characters still fail; the compile-rule identity invalidates old Catalog caches.
Prepare version 0.6.0 packages with documentation, checked benchmark records, licences, a hash manifest and a complete offline synthetic example. Native release jobs cover Linux and macOS on x86-64 and ARM64. Manual dispatch builds without publishing; publication requires a matching version tag and passing jobs. This PR remains a draft and no release has been published.
Validation
Review the experiment guide, dense public validation, synthetic scale evidence, and release notes.
Hosted CI run 38499785776 passed on
775b7898: Linux stable, Linux Rust 1.88, macOS stable, existing performance smoke and robustness scale smoke, including extracted-package examples on Linux and macOS.