OmicsFold benchmark: Historical ClinVar: recorded classification disagreement (numeric variants, gene-grouped)
Report schema 1.0. Positive label (user-specified): recorded_disagreement.
All probabilities and metrics are sample-level. Repeated patient samples are not aggregated or equally weighted by patient. No hyperparameter tuning or uncertainty intervals are included.
Sample alignment audit
Exact IDs; no intersection or silent dropping. Source metadata are reordered to matrix sample order, then benchmark samples are sorted by ID.
| matched_samples | matrix_only | metadata_only | duplicate_matrix_ids | duplicate_metadata_ids | metadata_rows_reordered |
|---|---|---|---|---|---|
| 65172 | 0 | 0 | 0 | 0 | 0 |
zero-based source positions; matrix positions refer to samples in the declared orientation. First 20 source matches below; run.json contains the full audit.
| sample_id | matrix_position | metadata_position |
|---|---|---|
| 1:1168180:G:C | 0 | 0 |
| 1:1470752:G:A | 1 | 1 |
| 1:1737942:A:G | 2 | 2 |
| 1:2160305:G:A | 3 | 3 |
| 1:2160305:G:T | 4 | 4 |
| 1:2160554:G:C | 5 | 5 |
| 1:3328358:T:C | 6 | 6 |
| 1:3328659:C:T | 7 | 7 |
| 1:3347452:G:A | 8 | 8 |
| 1:5925304:G:A | 9 | 9 |
| 1:5926503:G:A | 10 | 10 |
| 1:5927943:G:A | 11 | 11 |
| 1:5935096:C:T | 12 | 12 |
| 1:5935102:C:T | 13 | 13 |
| 1:5940243:G:A | 14 | 14 |
| 1:5950939:C:T | 15 | 15 |
| 1:5950972:C:T | 16 | 16 |
| 1:5951013:C:T | 17 | 17 |
| 1:5951029:G:A | 18 | 18 |
| 1:5965455:C:T | 19 | 19 |
Class balance
| outcome | samples | fraction |
|---|---|---|
| recorded_agreement | 48749 | 0.748005 |
| recorded_disagreement | 16423 | 0.251995 |
Split strategy and fold sizes
Strategy: grouped; seed: 42; named holdout: None.
Train/test IDs and any supplied groups were checked for overlap before fitting. Both partitions contain both outcomes. splits.tsv records all training and test memberships, including cohort and group labels when supplied.
| fold | partition | sample_count | positive_count | positive_prevalence |
|---|---|---|---|---|
| 0 | test | 13034 | 3284 | 0.251956 |
| 0 | train | 52138 | 13139 | 0.252004 |
| 1 | test | 13036 | 3286 | 0.252071 |
| 1 | train | 52136 | 13137 | 0.251976 |
| 2 | test | 13034 | 3284 | 0.251956 |
| 2 | train | 52138 | 13139 | 0.252004 |
| 3 | test | 13035 | 3285 | 0.252014 |
| 3 | train | 52137 | 13138 | 0.25199 |
| 4 | test | 13033 | 3284 | 0.251976 |
| 4 | train | 52139 | 13139 | 0.251999 |
Model comparison: per-fold results and mean across folds
The prevalence model predicts the training partition's positive prevalence. Mean rows are unweighted arithmetic means of the fold rows, not pooled scores; test sample count in a mean row is the mean fold size. A single holdout's mean equals that holdout's result.
| scope | fold | model | average_precision | roc_auc | test_positive_prevalence | test_sample_count |
|---|---|---|---|---|---|---|
| fold | 0 | prevalence | 0.251956 | 0.5 | 0.251956 | 13034 |
| fold | 0 | logistic_l2 | 0.299932 | 0.569515 | 0.251956 | 13034 |
| fold | 1 | prevalence | 0.252071 | 0.5 | 0.252071 | 13036 |
| fold | 1 | logistic_l2 | 0.290427 | 0.567437 | 0.252071 | 13036 |
| fold | 2 | prevalence | 0.251956 | 0.5 | 0.251956 | 13034 |
| fold | 2 | logistic_l2 | 0.304209 | 0.580073 | 0.251956 | 13034 |
| fold | 3 | prevalence | 0.252014 | 0.5 | 0.252014 | 13035 |
| fold | 3 | logistic_l2 | 0.309485 | 0.584671 | 0.252014 | 13035 |
| fold | 4 | prevalence | 0.251976 | 0.5 | 0.251976 | 13033 |
| fold | 4 | logistic_l2 | 0.293012 | 0.569059 | 0.251976 | 13033 |
| mean | logistic_l2 | 0.299413 | 0.574151 | 0.251995 | 13034.4 | |
| mean | prevalence | 0.251995 | 0.5 | 0.251995 | 13034.4 |
Precision–recall curve
Individual fold 0 only; not pooled across folds. Only held-out samples from this partition are plotted for both models.
Exploratory feature retention and coefficient rankings
These are training-fold model outputs, not biological evidence, significance tests, validated biomarkers, or causal effects. Coefficients describe standardized transformed features for the user-specified positive label; correlated features can have unstable rankings.
| fold | input_features | retained_features | dropped_features |
|---|---|---|---|
| 0 | 3 | 3 | 0 |
| 1 | 3 | 3 | 0 |
| 2 | 3 | 3 | 0 |
| 3 | 3 | 3 | 0 |
| 4 | 3 | 3 | 0 |
Top 20 retained features per fold, ranked by absolute coefficient. Signed coefficients are shown. All retained and dropped features and reasons are in features.tsv; baseline has no feature coefficients.
| fold | model | feature | retained | reason | coefficient | absolute_coefficient_rank | interpretation |
|---|---|---|---|---|---|---|---|
| 0 | logistic_l2 | AF_EXAC | True | retained | 0.497565 | 1 | exploratory model output |
| 0 | logistic_l2 | AF_TGP | True | retained | -0.279099 | 2 | exploratory model output |
| 0 | logistic_l2 | AF_ESP | True | retained | -0.183079 | 3 | exploratory model output |
| 1 | logistic_l2 | AF_EXAC | True | retained | 0.519901 | 1 | exploratory model output |
| 1 | logistic_l2 | AF_TGP | True | retained | -0.291767 | 2 | exploratory model output |
| 1 | logistic_l2 | AF_ESP | True | retained | -0.179811 | 3 | exploratory model output |
| 2 | logistic_l2 | AF_EXAC | True | retained | 0.493134 | 1 | exploratory model output |
| 2 | logistic_l2 | AF_TGP | True | retained | -0.257109 | 2 | exploratory model output |
| 2 | logistic_l2 | AF_ESP | True | retained | -0.193075 | 3 | exploratory model output |
| 3 | logistic_l2 | AF_EXAC | True | retained | 0.474104 | 1 | exploratory model output |
| 3 | logistic_l2 | AF_TGP | True | retained | -0.26912 | 2 | exploratory model output |
| 3 | logistic_l2 | AF_ESP | True | retained | -0.157447 | 3 | exploratory model output |
| 4 | logistic_l2 | AF_EXAC | True | retained | 0.516711 | 1 | exploratory model output |
| 4 | logistic_l2 | AF_TGP | True | retained | -0.282605 | 2 | exploratory model output |
| 4 | logistic_l2 | AF_ESP | True | retained | -0.180196 | 3 | exploratory model output |
Model intercepts (standardized feature space): {0: -1.1006312227842068, 1: -1.1016067194038548, 2: -1.099997176104128, 3: -1.0999187290633632, 4: -1.1015381263967041}.
Configuration, input checksums and package versions
Source-file SHA-256 hashes refer to exact file bytes when loaded from files. Canonical hashes refer to the aligned input tables. Direct in-memory fixtures have canonical hashes only.
{
"configuration": {
"loading": {
"orientation": "samples-by-features",
"sample_id_column": "sample_id",
"outcome_column": "outcome",
"feature_id_column": "feature_id",
"positive_label": "recorded_disagreement",
"input_type": "numeric",
"group_column": "gene",
"cohort_column": null
},
"split": "grouped",
"n_splits_requested": 5,
"n_splits_actual": 5,
"holdout_cohort": null,
"seed": 42,
"dataset_label": "Historical ClinVar: recorded classification disagreement (numeric variants, gene-grouped)",
"positive_label": "recorded_disagreement",
"input_type": "numeric",
"group_column": "gene",
"cohort_column": null,
"logistic_regression": {
"penalty": "l2",
"C": 1.0,
"solver": "liblinear",
"tol": 0.0001,
"max_iter": 2000,
"class_weight": null,
"fit_intercept": true
},
"count_preprocessing": "sample-wise CPM (1e6), log1p; training CPM>=1 in >=ceil(10% of training samples); remove training constants; training standard scaling",
"numerical_preprocessing": "drop training-all-missing features; training median imputation; remove training constants; training standard scaling"
},
"input_checksums": {
"source_files": {
"features": {
"path": "prepared\\features.tsv",
"sha256": "84dc907e463920cdef67bf1ffcd0ffa4ed8da35dad7532cc5e69d566f32f3566",
"size_bytes": 3270269
},
"metadata": {
"path": "prepared\\metadata.tsv",
"sha256": "db82b036ec9d14ae7cbaa750cab8a32ca770f33178691d44f63b8d3dd1ed76c3",
"size_bytes": 2760317
}
},
"canonical_features_sha256": "cc2833007bea007019dab7112cff0e84e68c98659ea344249a199c7e884e3028",
"canonical_metadata_sha256": "ca43d94101a272740b343b15711b8ac4c89c3611cea74e9b9eeb2fc8c9a50204"
},
"package_versions": {
"omicsfold": "0.1.0",
"python": "3.14.4",
"numpy": "2.4.4",
"pandas": "2.3.3",
"scipy": "1.17.1",
"scikit-learn": "1.8.0"
}
}Public-data case study: source, meaning and reproduction
Source: Kevin Arvai, Genetic Variant Classifications, Kaggle dataset kevinarvai/clinvar-conflicting version 2 (CC0: Public Domain). Original resource: NCBI ClinVar GRCh37 VCF downloaded by the dataset author on 2018-04-07. This is the same checksum-pinned snapshot used by ClinVar Conflict Explorer.
Dataset URL: https://www.kaggle.com/datasets/kevinarvai/clinvar-conflicting. Raw CSV SHA-256: 53061e207d437af397028760be5bc566d216f6932e21db5a10322b843c41689a.
Each sample is a variant, not a patient. The outcome is recorded classification disagreement in this historical multiple-submission snapshot. It does not label pathogenicity, disease, or disagreements arising in the future. Source categories combine benign/likely benign, VUS, and pathogenic/likely pathogenic; disagreement spans these categories.
65,172 variants across 2,328 gene groups were evaluated. Only three population frequency inputs are used, transformed independently with log1p(1,000,000 × frequency). Gene is a splitting constraint, never a predictor. Clinical assertions and review information are excluded. All five folds have both classes and zero train/test gene or ID overlap.
Mean average precision: model 0.299413, prevalence baseline 0.251995, absolute difference 0.047418. Mean ROC AUC: model 0.574151, baseline 0.500000. This is a modest internal ranking signal, not clinical validation. These estimates are sample-level, so genes with more variants contribute more observations. There is no temporal or external-cohort validation.
Cross-cohort expression evaluation remains pending: GSE10072 and GSE7670 share GPL96 probes and compatible tissue labels after exclusions, but released RMA and MAS5 values do not have a verified common preprocessing workflow. No expression cross-cohort scores are reported.
From the OmicsFold repository after local installation, reproduce with python examples/public_data/run_case_study.py --download --work-dir /path/to/new/outside-repository-work. Alternatively provide --raw-csv /path/to/clinvar_conflicting.csv. The script verifies the pinned checksum, prepares tables, invokes the installed omicsfold validate and omicsfold benchmark commands, and independently audits splits. Use an unused work directory. Raw downloads and full variant-level results remain outside Git.
This compact publication includes the HTML, fold metrics, exploratory coefficients, preparation provenance and split audit. Full predictions.tsv, splits.tsv and run.json are generated under the external work directory's results folder. The installed CLI report is otherwise unchanged; this case-study context is added by the reproduction script.