Standalone mixed models with YAML
The standalone gsuite application is offered only to licensed users. This guide, the model specification and small examples remain public. Software access is described in the distribution policy; standalone bundles are supplied separately from public R package downloads.
For breeding values, start with the model table and paired YAML files. In the v19 examples, the first file estimates variance components with ordinary RHE and the second uses them for BLUP. The same command also runs supported REML fits and models with supplied covariances.
Run a model
On GenomeDK, start inside a Slurm compute allocation with enough CPUs for the threads requested in your YAML. Use your project’s shared installation:
export PATH="/path/to/shared/installation/bin:$PATH"
gsuite run model.ymlNo compilation or access to the maintainer’s Conda environment is needed. Input and output paths resolve beside the YAML. Choose a fresh output directory; scratch processing and copying results back are automatic.
To check or inspect a model before fitting:
gsuite validate model.yml
gsuite describe model.ymlSee the complete ssSNPBLUP example for input files, covariance matrices, thread settings and outputs.
Find the results
Results are saved to output.directory in the YAML:
- Prediction CSVs and requested effect tables contain the estimates.
run.jsonrecords numerical acceptance and diagnostics;execution.jsonreports workflow timings and memory.- Optional truth comparison writes accuracy, bias and calibration to
evaluation/summary.csv.
Check acceptance before using estimates. See results and diagnostics for file definitions, failure handling and resource reporting.
Build, validate and distribute
These steps apply to an authorised supplied bundle. Development or validation builds do not automatically become production licensed releases.
Maintainers: inside an extracted source bundle on a compute node, with the build environment activated, run each task separately after the previous one succeeds:
bash build.shBuilds and installs, reusing compatible native cache entries.
bash hpc_tasks/validate.shRuns exact references, truth-evaluation checks and all bundled fixture models.
bash hpc_tasks/build_binary_distribution.shProduces a binary archive and validates a fresh installation. Logs and results are collected automatically. See installation and maintenance for prerequisites, acceptance checks and binary installation instructions.
Reference
- Model guide: complete YAML example, threads, REML and truth evaluation.
- Convert between DMU and YAML: supported ASCII pedigree models, inputs and ID mappings.
- YAML specification: all supported declarations and combinations.
- GenomeDK validation record: tested installations and qualification limits.
Offspring chip imputation
Use the installed native command with a prepared phased database and a PLINK offspring prefix. A strict batch requires two reference parents for every offspring.
gimp impute reference.db calves results-trio
gimp impute reference.db calves results-mixed --missing-parents
gimp impute reference.db calves results-pedigree --missing-parents --pedigree pedigree.famgsuite impute calves.yml invokes the same command for native recipes. Relative paths resolve from the recipe directory.
schema: gimp.offspring/v1
method: reference_copying
threads: 4
reference: reference.db
offspring: observed/calves
output: results/native
error: 0.001
pedigree: observed/pedigree.fam| Method | Executable | Method options |
|---|---|---|
two_parent (default) |
Installed gimp impute |
Optional error, origin and ancestry annotation |
reference_copying |
Installed gimp impute --missing-parents |
Optional pedigree six-column FAM, donors, copy_rate and error. Origin and ancestry require two phased parents for every offspring |
alphapeel |
executable path to the installed AlphaPeel command |
Optional additional pedigree FAM and error. Runs multi-locus peeling for five cycles |
beagle |
executable path to the Beagle JAR, with Java on PATH |
Optional ne for the effective population size, default 100 |
An explicit --exe overrides the recipe executable. The external adapters use NumPy for conversion and run one autosome at a time. Beagle requires overlapping chip markers and nucleotide alleles. All methods write dosages.f32, markers.bim, markers.map, offspring.fam and run.json. Dosages are little-endian float32 values, marker-major and offspring-minor, counting BIM A1. The run receipt identifies the inputs and output. The optional external methods require the corresponding locally installed software. The offspring FAM controls which parent links AlphaPeel receives. A supplemental pedigree can supply grandparents of a named parent. A zero in either target role stays masked.
Low-pass sequence imputation
Use gsuite impute recipe.yml with schema gimp.offspring/v1 and four threads. The native likelihood_copying method accepts a likelihoods VCF or BCF and uses recorded parent IDs from the offspring FAM. A missing side copies from the phased reference. Supply the target prefix with FAM alone for sequence-only imputation, or include aligned BED/BIM files to combine independent chip and sequence observations. Flat likelihoods represent zero depth. Every sequence file must have one ordered record per dense biallelic autosomal SNP. Sample columns can be permuted, and chip-only animals can be absent from the VCF. PL takes precedence over GL. GP contains genotype posteriors.
The glimpse2 backend uses the same reference haplotypes and target evidence. The alphapeel_hybrid backend takes a counts VCF/BCF containing FORMAT/AD in REF,ALT order and an offspring chip prefix. It fits segregation on the chip, then uses the segregation file, matching map, reference genotypes and sequence read counts in single-locus peeling. Each external recipe supplies an executable and uses bcftools. For GLIMPSE2, use an offspring chip prefix with all genotypes missing for a sequence-only cohort. Each serial stage gets four compute threads. All three routes output marker-major float32 BIM A1 dosage.
To generate evidence from aligned reads, run the installed helper with an indexed FASTA, coordinate-sorted indexed BAM/CRAM files and a tab-separated manifest containing one read-group sample name and alignment path per row.
python PREFIX/share/gsuite/read_likelihoods.py --samples samples.tsv --bim reference.db/panel.bim --fasta cattle.fa --error 0.001 --output targets.vcf
gsuite impute low-pass.ymlThe helper reads samtools pileups, keeps REF and ALT bases with mapping and base quality at least 20, and uses a constant biallelic substitution error. The CRAM reference must match the alignment. Recipes and chromosome pilot (benchmarks/pedigree-imputation-10k/low-pass/README.md)