Repository navigation
Add dosage and batch scoring with auditable migration checks - #2
Merged
Merged
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.
pgsum previously required hard genotype calls and separate setup for each sample. This adds explicit GT/DS/GP scoring, streaming BCF input, Catalog-driven runs, preflight checks, and resumable sample-sheet batches. Quantitative inputs retain exact decimal contributions through single-sample and cohort storage; legacy genotype and cohort files remain readable.
Missingness reports rank consequential excluded terms and provide exact contribution bounds where the model and call evidence justify them. Cohort scoring now evicts decoded frames and shares ordered quantitative passes. The new compare command checks native, PLINK and pgsc_calc sums, reports identity/policy differences, and reconciles paired per-term exports.
Validation:
The public check covers GT-only chr22 partial contributions, not complete PGS values, whole-genome gVCF performance, dosage concordance or ancestry calibration. GRCh37, PGEN/BGEN, multiallelic/non-diploid DS/GP, a total-process memory budget, packaging and PCA-based ancestry normalization remain future work. The decoded-frame cache target is not a total RAM cap. See docs/public-validation.md and docs/implementation-roadmap.md for evidence and limits. No release tag is included.