Skip to content

lineage

snug lineage <COMMAND>

Breeding and trait inheritance.

Subcommands

CommandWhat it does
traitsTrait definition management
speciesSpecies definition management
genome-registerRegister a founder genome for an entity
previewPreview the probability distribution of a prospective breeding
breedBreed parents to produce offspring
pedigreeShow the ancestry tree of an entity
genomeShow the genome of an entity
provenanceShow provenance and seedling anchor verification of an entity
recordsList breeding records

Run snug lineage <command> --help for that command's own options. The global options apply everywhere.

Trait, species and breeding record IDs are generated UUIDv7 values. Founder entity IDs remain caller-supplied external keys. Use the IDs returned by create commands below.

Examples

snug lineage traits create --file ./coat_color.json
snug lineage traits list
snug lineage traits get --trait-id 019a055f-1000-7000-8000-000000000001
snug lineage traits update --trait-id 019a055f-1000-7000-8000-000000000001 --file ./coat_color.json
snug lineage traits delete --trait-id 019a055f-1000-7000-8000-000000000001
snug lineage species create --file ./ember_fox.json
snug lineage species list
snug lineage species get --species-id 019a055f-1000-7000-8000-000000000002
snug lineage species update --species-id 019a055f-1000-7000-8000-000000000002 --file ./ember_fox.json
snug lineage species delete --species-id 019a055f-1000-7000-8000-000000000002
snug lineage genome-register --file ./founder.json
snug lineage preview --species 019a055f-1000-7000-8000-000000000002 --parents ent_fox_a81,ent_fox_c22
snug lineage preview --species 019a055f-1000-7000-8000-000000000002 --parents ent_fox_a81,ent_fox_c22 --exact
snug lineage breed --species 019a055f-1000-7000-8000-000000000002 --parents ent_fox_a81,ent_fox_c22
snug lineage breed --species 019a055f-1000-7000-8000-000000000002 --parents ent_fox_a81,ent_fox_c22 --seed 0x9f31aa07
snug lineage pedigree --entity-id ent_fox_f4d --depth 4
snug lineage genome --entity-id ent_fox_f4d
snug lineage genome --entity-id ent_fox_f4d --full
snug lineage provenance --entity-id ent_fox_f4d
snug lineage records --filter 'species_id[eq]=019a055f-1000-7000-8000-000000000002' --filter 'parent[eq]=ent_fox_a81'

Next