MiX99 and ASReml standalone model translation
The development standalone frontend provides separate directive and data commands in both directions for MiX99 I/2022 CLIM and ASReml-SA 4.2 functional syntax. The first implemented profiles admit one trait, an intercept, categorical fixed main effects, overall covariates, independent random effects and supplied positive variances. They prepare files and never invoke either program.
These are restricted profiles, not general readers of either language. They do not yet cover pedigree, single-step/genomic relationships, multiple traits, REML, uncertainty, structured residuals, interactions or random regressions. ASReml-R is a different interface and is not accepted. Unsupported models and unknown model-changing directives are rejected rather than approximated.
Separate export stages
gsuite convert-data model.yml --to mix99 --output mix99-data
gsuite translate model.yml --to mix99 \
--data-manifest mix99-data/manifest.json --output mix99-directives
gsuite convert-data model.yml --to asreml --output asreml-data
gsuite translate model.yml --to asreml \
--data-manifest asreml-data/manifest.json --output asreml-directivesAll output destinations must be fresh, with an existing parent directory. MiX99 directive output contains model.clm, parameters.var and a translation receipt. ASReml output contains model.as and a translation receipt. Data conversion writes the numeric table, record/level maps and a versioned manifest, without program directives. Classification coding reuses the existing DMU data writer, using binary64 input values and scientific numeric encoding; DMU’s existing REAL4 defaults remain unchanged. The mapping file retains its existing dmu_code column name for this shared numeric coding.
Directive export requires the corresponding data manifest. It checks model/input compatibility without scanning the data. Covariance values and execution/output settings can change while compatible data are reused; changes to trait, design, relationship, input paths or analysis invalidate the binding. The source files and converted data must remain unchanged. Run normal model validation before a fit.
Separate import stages
gsuite convert-data mix99-directives/model.clm --from mix99 --to gsuite \
--output mix99-import-data
gsuite translate mix99-directives/model.clm --from mix99 --to gsuite \
--data-manifest mix99-import-data/manifest.json --output mix99-import.yml
gsuite convert-data asreml-directives/model.as --from asreml --to gsuite \
--output asreml-import-data
gsuite translate asreml-directives/model.as --from asreml --to gsuite \
--data-manifest asreml-import-data/manifest.json --output asreml-import.ymlThe import grammar recognizes the explicit subset emitted by the exporter: cN classification fields, a constant mean column, response y and xN covariates. ASReml requires the generated profile title. It does not evaluate includes, macros, transformations, R scripts or arbitrary native options. Original source names remain in export maps; reverse conversion retains numeric classification codes and the response label y, rather than inferring labels.
Directive import alone is allowed without a manifest. It emits a draft with placeholder input paths and data_ready: false. With a compatible manifest, it binds the converted CSV without rereading observation data. Data conversion checks width, finite values, constant intercept, positive INTEGER4 classifications, missingness and canonical model validity. Invalid inputs leave no published data directory. MiX99 uses an explicit missing sentinel; ASReml uses NA. Missing covariates and missing classification values are outside these profiles.
Native semantics and qualification
ASReml export explicitly uses sigma parameterization, fixes the random and residual variances, and requests a supplied-variance solve. MiX99 receives natural scalar variances in random-effect order, followed by the residual. Solver stopping criteria and thread settings are not presumed equivalent or translated.
The profiles follow the MiX99 I/2022 CLIM manual and ASReml-SA 4.2 functional guide. MiX99’s pedigree default does not account for inbreeding without supplied coefficients. That mapping needs its own qualification before pedigree export is admitted; the adapter does not replace an inbreeding-aware model with that default. The current 1M four-trait ssSNPBLUP model is therefore not supported by these initial adapters.
tools/validation/test_classical_interop.py checks separate stages, installed commands, reuse of compatible data, rejection of unsupported options, missing responses, exact binary64 values and source preservation. With GSUITE_MODEL_DRIVER selected, both round trips are fitted by gsuite and compared with independent marginal BLUP equations for fitted values and every random effect. The native acceptance checks remain enabled.
These are independent-reference and round-trip checks, not live MiX99 or ASReml qualification. No proprietary executable or licence is required or bundled. A manifest’s acceptance and data_ready status do not certify third-party convergence, matching uncertainty estimates or performance.