Roadmap
This page mirrors the repository roadmap. It is evidence-gated: a capability is public only when code, tests, documentation, validation status, and the R-Julia contract agree.
For a dashboard view of this status, see Mission control.
Current Status
Phase 0 is complete. The Julia engine now has experimental validation-scale coverage through univariate animal models, genomic utilities, repeatability / two-effect models, multivariate REML, structured multivariate genetic covariance, and a first fixed-effect marker-screening helper. These are not production sparse pipelines or public R formula defaults.
Implemented:
package scaffold and CI;
control/backend markers for the shared planned
auto,cpu,threads,cuda,amdgpu,metal, andoneapivocabulary;backend_info()status diagnostics for the planned backend vocabulary;Julia-local
formula_status()engine-term diagnostics for engine-bridge, reserved, and planned rows; R owns its broader formula grammar and status table;validation_status()diagnostics for covered, external, partial, and planned validation rows;planned model-term vocabulary reservations aligned to the R genomic/QTL and standard quantitative-genetic markers;
placeholder fitting entry points;
pedigree validation and topological sorting;
direct sparse
Ainvconstruction for validated pedigrees;optional external R-side
nadiv::Mrode9/nadiv::makeAinv()comparator evidence forpedigree_inverse();low-level animal-model spec validation;
dense Gaussian likelihood evaluation with a
max_dense_cellsguard;sparse REML likelihood evaluation at supplied variance components via the Henderson MME determinant identity;
experimental sparse REML validation optimization for low-level validated specs;
experimental average-information REML for two-component Gaussian animal models, with R-lane recovery / published-anchor evidence but pending Julia-native large-pedigree hardening;
experimental dense variance-component optimization;
experimental MME-backed EBV/BLUP aliases, fitted-value, heritability, PEV, reliability, and checked accuracy extraction for dense spec and supplied-variance Henderson MME validation paths;
fit_diagnostics()metadata extraction for low-level fit objects;experimental direct payload fitting target for
y,X,Z,Ainv;sparse Henderson MME solving at supplied variance components, with a shared R/Julia fixture for Ainv, fixed effects, EBVs, fitted values, and
h2;sparse CSC marshalling helper for R sparse matrix slots;
HSDatamarker-map metadata validation and genotype-marker alignment checks;data_status()diagnostics forHSDatacomponent presence, ID-overlap counts, pedigree status, genotype status, marker-alignment status, expression status, annotation-feature status, and environment-key status;external opt-in R bridge evidence from
hsquaredhead9eabf0d;external R PEV/reliability bridge enrichment evidence from
hsquaredhead8235289; R first merged those fields from exported Julia extractors for tiny/local validation fits. The fittedAnimalModelFitbaseresult_payload()now carriesprediction_error_varianceandreliabilityas standard(ids, values)fields via the:selinvselected-inversion path, so R can unpack those top-level fields directly. This is validation-scale bridge evidence, not a production large-pedigree reliability claim.external R EBV/BLUP/accuracy extractor ergonomics evidence from
hsquaredheadafa25f1; Julia mirrors the names locally without adding payload fields.external R
fit_diagnostics()evidence fromhsquaredhead060988d; Julia mirrors this as a metadata-only helper over existing result fields.external R supplied-variance Henderson MME bridge evidence from
hsquaredhead00b9e33; R can opt intoengine_control$target = "henderson_mme"and supplied variance components, with no log-likelihood, AIC,df, optimizer output, variance-component estimation, AI-REML, or fitted Mrode claim.external R
model_spec()preview evidence fromhsquaredheadbacef9c; this previews the v0.1 formula-to-bridge payload without fitting or Julia execution.external R
hs_data()parser integration evidence fromhsquaredhead36efbf3; this letsmodel_spec()andhsquared()read v0.1 model variables fromdata$phenotypesand resolvepedigreefrom the bundle while keeping the bridge payload shape unchanged.external R formula-ergonomics evidence from
hsquaredheads74eef82and39ca990;animal(1 | id)may use the pedigree stored indata = hs_data(..., pedigree = ped), while explicitanimal(1 | id, pedigree = ped)remains the shared portable contract.external R
hs_data()genotype diagnostics evidence fromhsquaredheadf067cd9; Julia mirrors the genotype-shape metadata diagnostics locally inHSData, with no PLINK/VCF parsing, genotype imputation, genomic relationship construction, bridge payload, marker scan, QTL/GWAS/eQTL, or genomic fitting claim.external R
hs_data()environment diagnostics evidence fromhsquaredheade7fbb31; Julia mirrors the shared-key metadata diagnostics locally inHSData, with no bridge payload or modelling change.external R
hs_data()expression diagnostics evidence fromhsquaredhead06cdf59; Julia mirrors the expression-shape metadata diagnostics locally inHSData, with no bridge payload, automatic join, eQTL, omics, or GLLVM workflow claim.external R
hs_data()annotation diagnostics evidence fromhsquaredhead87888d9; Julia mirrors the expression-feature metadata diagnostics locally inHSData, with no bridge payload, automatic join, eQTL, omics, or GLLVM workflow claim.external sparse
Zbridge marshalling evidence fromhsquaredhead398e019.roadmap documentation for genomics, QTL/eQTL, GLLVM, backend, algorithm, and HPC strategy mirrored from the R twin's expanded plan at
hsquaredhead2c18b30.experimental genomic utilities: VanRaden
G,genomic_relationship_inverse, supplied-variancefit_gblup,fit_snp_blup, single-stepH-inverse construction, genomic REML over aGinvspec, direct fixed-effectsingle_marker_scan, supplied-variancemixed_model_marker_scan, dense LOCO precision construction vialoco_relationship_precisions, suppliedloco_mixed_model_marker_scan, and row-aligned marker-scan tables, marker-effect summaries, marker-variance contribution summaries, nominal returned-marker-set significance summaries, and Manhattan/regional-window/QQ plot-data helpers, plus an opt-in marker-scan recovery harness outside CI.experimental repeatability / two-effect REML utilities.
experimental multivariate animal-model utilities, including supplied-covariance MME, missing-trait records, dense multivariate REML, structured genetic covariance (
diag,lowrank,fa), Julia-side extractors, opt-in recovery harnesses, and a serialized target fixture for future R-lane comparator work.
Not implemented:
production sparse animal-model REML/ML/AI-REML fitting;
production sparse EBVs/BLUPs, reliability, and prediction error variance;
production R-to-Julia fitting bridge;
public R-facing genomic/marker model-spec fitting, production genomic prediction, APY/sparse genomic scaling, formula-driven mixed-model marker scans, public LOCO workflows, calibrated mixed-model p-values, calibrated PVE/model R² claims, interval-mapping or mixed-model LOD workflows, genome-wide calibration, and QTL/eQTL intervals;
public R-facing permanent environment, common environment, maternal/paternal effects, cytoplasmic inheritance, imprinting, dominance, epistasis, and custom relationship/precision kernels;
backend execution dispatch, runtime backend availability probing, GPU execution, backend benchmarking, and CPU/GPU numerical agreement tests.
APY approximation, Takahashi selected inversion, production AI-REML, Woodbury-backed factor/GLLVM engines, and HPC checkpointing.
Phase 1: Simple Gaussian Animal Model
Next engine targets:
Mrode-style validation and comparator checks;
live Julia
HSDataobject marshalling, relationship-object marshalling beyond sparseZ, and stable production engine controls;production sparse covariance/precision computations;
production hardening for sparse REML / AI-REML;
production sparse reliability and prediction error variance.
Later Phases
Phase 2: genomic relationship models, GBLUP, SNP-BLUP, supplied
Hinv, and first marker-effect outputs are experimental engine utilities; production genomic model-spec wiring and comparator parity remain future work.Phase 3: maternal, paternal, repeatability, common-environment, dominance, cytoplasmic, and inheritance-kernel models.
Phase 4: multivariate G matrices with
us(),diag(),lowrank(K), andfa(K)are experimental engine utilities; R-facing syntax and comparator parity remain future work.Phase 5: direct fixed-effect marker screening has started with Wald p-values, Bonferroni/BH adjustments, LOD-equivalent scores, marker-effect summaries, row-aligned marker-scan tables, marker-variance contribution summaries, and nominal returned-marker-set significance summaries, plus marker-map-backed Manhattan, regional-window, QQ, and lambda_GC diagnostic data. A supplied-variance dense GLS
mixed_model_marker_scanexists for direct Julia relationship-corrected screening, withmarker_scan_result_payloadandtest/fixtures/marker_scan_parity/pinning the post-fit bridge shape.loco_relationship_precisionsconstructs dense VanRaden-plus-ridge leave-one-group-out precision matrices, andloco_mixed_model_marker_scancan select among supplied LOCO precision matrices. Formula-driven QTL/GWAS/eQTL scans, public LOCO workflow defaults, calibrated/correlated-marker genome-wide thresholds, calibrated p-values, calibrated PVE/model R² claims, and actual plotting backends remain future work.Phase 6: non-Gaussian and GLLVM-style animal models, omics, and community examples.
Phase 7: CPU/GPU acceleration with CPU, threads, Metal, CUDA, AMDGPU, oneAPI, and portable kernels.
Phase 8: HPC and production scaling with checkpointing, disk-backed data, streaming marker scans, distributed computation, and multi-GPU experiments.
Every new public capability must update the status tables, validation debt, tests, docs, and after-task report in the same slice.