Project
Changelog
2026-10-28 — 3.0.9
- Added the FDF configuration contract, reference validator and failing fixtures to PR CI.
- Added reproducible commit-pinned bundles with provenance and content hashes.
- Relabelled PATO:0001340 as Hermaphrodite and removed free-text
valueURImappings from chromosome location, allele identifier and mutation type. - Updated French translations and documented the remaining CKAN deployment, provenance and converter requirements.
Add an entry here for each significant schema change:
## [YYYY-MM-DD]
- Added section XXX
- Added taxon YYYY to organism_presets
- Changed api_by_taxon for allele_search
- Updated display_mapping for section ZZZ
[2026-08-25]
- Added
phenotype_searchfield tosections.disease— enables searching observable phenotypes and traits via the UPheno ontology, complementing disease modeling with observed characteristics (e.g. weight loss, splenomegaly, motor deficits) - Added
ols_uphenoAPI — connects to the UPheno ontology through OLS4 for phenotype lookups
[2026-08-28]
- Migrated allele search off MouseMine and per-gene lookup endpoints onto the Alliance Genome search API: replaced
mousemine_allele/mousemine_allele_bygenewithalliance_allele_search_mouse, replacedalliance_allele_bygenewithalliance_allele_search_ratandalliance_allele_search_danio, and renamedalliance_allele_searchtoalliance_allele_search_dmel; added a newalliance_allele_search_celAPI for C. elegans - Removed the unused
eva_alleleandrgd_rat_alleleAPIs - Added a top-level
xref_catalog(MGI, RGD, ZFIN, FB, XENBASE, WB, ENS) definingdb/label/uritemplates andprovider_aliases, plus anallele_source_labelper organism preset, to standardize how allele cross-references are resolved and displayed - Added
urilinks tomygenexrefs (NCBI Gene, MGI, RGD, ZFIN, Ensembl, FlyBase, WormBase, Xenbase), anid_candidatesfallback list for more robust gene ID resolution, and aprovides_chromosome_locationflag - Added
source_tag/dynamic_source_tagandxref_from_extrato allele-search API mappers for consistent source attribution - Updated
xenbase_mutant_linesto resolve strains viagene_search.xref:xenbaseinstead of a separate context lookup, and simplified its output mapping tolineType/lineId - Updated
sections.genes.allele_search'sapi_by_taxonto point to the new per-species Alliance search APIs, with anapi_fallbacktoensembl_allelefor Xenopus - Removed remaining "MouseMine" wording from
alliance_allele_search_mouse's label and from theallele_searchfield help text (MouseMine is down; mouse allele lookups now go through Alliance Genome only) - Merged the two
sections.genesmutation-type fields into one:mutationType_displayis now a single editable field, visible for every organism, still auto-filled from the allele search when the API provides it (reliable for mouse/rat; most other allele-search APIs never populate it), but the user can now type or correct it manually when it doesn't. Removed the primates-onlymutation_type_freefield - Added common mutation type examples to
mutationType_display's help text (missense_variant, nonsense_variant, frameshift_variant, deletion, insertion, duplication, inversion, splice_site_variant, synonymous_variant, knockout, knock-in, conditional knockout) - Fixed mutation-type auto-fill in the 5
alliance_allele_search_*APIs (mouse, rat, danio, dmel, cel):alterationType— used since the Alliance migration — always equals the literal string"allele"(or"allele with one variant"), it's a category, not a mutation description, so auto-fill was silently wrong for mouse/rat and always empty for the others.consequenceType/geneMutationTypenow readmolecularConsequence[0] || variantType[0]instead, which carries the real value (e.g.missense_variant,stop_gained,point_mutation) when the Alliance API has variant-level data for that allele, and stays empty otherwise (letting the user fillmutationType_displaymanually, as intended) - Added a
detail_fetchto thealliance_allele_search_mouse/alliance_allele_search_ratmappers: after an allele is selected, it callshttps://www.alliancegenome.org/api/allele/{{id}}and pulls the free-textmutation_descriptionnote intogeneMutationType/consequenceType, giving mouse and rat a real mutation description instead of relying only onmolecularConsequence/variantType(which the search endpoint often doesn't return for allele-level results) - Bumped schema version to 3.0.2
[2026-08-31]
- Added
xref_concepttogene_search("Gene") andallele_search("Allele") — tags which concept a field's cross-references belong to, so the app can label/group the Gene xrefs (MGI, RGD, ZFIN…) separately from the Allele xrefs (MGI allele page, Alliance…) when both are shown for the same gene/allele row - Removed
gene_search'soutput.xref_key: "identifiers", superseded byxref_concept mutationType_display'sbind_tonow reads"consequenceType || geneMutationType"instead of just"geneMutationType", so it also picks up the value when onlyconsequenceTypewas populated (e.g. before adetail_fetchresolves)- Fixed the top-level schema
versionfield, which was still3.0.0whilemeta.changeloghad already moved to3.0.2 - Fixed
xenopus_line_type(the Xenbase "Line Type" field) never actually persisting its value: it had abind_tofor display but nooutputblock of its own, and thelineTypeit was folded into ongenetic_backgroundwasn't wired to a subject either. It now writes its own"Line type: $value"subject withsubjectScheme: "lineType", added to thegenessection'sdisplay_mappingfilter/labels so it shows up on the dataset page - Removed
allele_search's deadoutput.obj.geneMutationType: "$mutation_type"mapping — it referenced a key no API ever populates, and mutation type is now handled entirely by the dedicatedmutationType_displayfield - Bumped schema version to 3.0.3
[2026-09-01]
- Removed the hardcoded label prefixes (
"Strain: $label","Gene: $label","Transgene origin: $label","Gene locus: $value","Allele: $label","Line type: $value","Mutation type: $value") from thesubjecttemplates across thestrainandgenessections — the raw value is now written as-is, since the dataset page already shows each subject's label fromdisplay_mapping.labels/subjectScheme, so the old prefix just duplicated it - Gave the Xenopus
genetic_backgroundfield (Xenbase mutant/transgenic line search) its ownxenopusStrainLinesubject scheme instead of reusing the mouse/ratstrainsection'sspeciesBackgroundscheme; added it to thegenessection'sdisplay_mappingfilter and labels as "Strain / Line" - Bumped schema version to 3.0.4
[2026-09-07]
- Added
array_dedupe_by_taxidtomygene's mapper: MyGene.info'sensembl.genefield can list an Ensembl gene id per species build, so this picks the one matching the result's own taxon (viataxid_field), falling back to the expected id prefix per taxid (prefix_by_taxid, e.g.ENSMUSGfor mouse,ENSRNOGfor rat,ENSDARGfor zebrafish,ENSORLGfor medaka,ENSMAUGfor golden hamster,FBgnfor fruit fly) when an entry has no usable taxid of its own - Bumped schema version to 3.0.5
[2026-09-22]
- Added a
sexfield to theorganismsection, backed by the newols_patoAPI and asex_presetsvocabulary: Female (PATO:0000383) and Male (PATO:0000384) are PATO's biological sex qualities, Both maps to hermaphroditic (PATO:0001340). No "Undetermined" preset — the field is optional, so clearing it already covers that, and PATO obsoleted "unknown sex" (PATO:0001336) with the note "Unknown is not a type of sex" anyway, so there'd be no ontology term to back it - Extended the
organismsection'sdisplay_mappingto acompositeof bothNCBITaxonandPATOsubjects, labeled "Species" / "Sex" - Bumped schema version to 3.0.6
[2026-10-23]
- Removed the
xenbase_mutant_linesAPI and turnedsections.genes.genetic_background(Xenopus "Strain / Line (Mutant)") into a free-text field: Xenbase now puts a reCAPTCHA in front of the pages the server-side lookup read (geneAjax.do,searchLines.do), so it always came back empty, and Xenbase publishes no API or download file for its lines. The value is still stored as axenopusStrainLinesubject (without avalueURI);xenopus_line_typeis unchanged - Bumped schema version to 3.0.7
- Switched
sections.disease.disease_searchfrom the Disease Ontology (ols_doid, schemeDOID) to the Mondo Disease Ontology (ols_mondo, schemeMONDO): about three times the terms in OLS4 (rare and genetic diseases from OMIM and Orphanet included), each with cross-references to DOID, OMIM, Orphanet, NCIt and MeSH, and better first hits for common queries (e.g. "Alzheimer disease", "Huntington disease").local: "true"keeps only MONDO's own terms (OLS otherwise mixes in imported HP phenotypes).DOIDis dropped entirely (no production dataset was saved with it) - Added
labelstosections.disease.display_mapping(MONDO-> "Disease Model",UPHENO-> "Phenotype"): ckanext-fair3r's DataCite summary and ckanext-zenodo's record description now take each subject's label fromdisplay_mapping(labels, else the section title) instead of a list written in their code, so phenotypes needed their own label organism_choice's placeholder (shown in the search box when "Other" is chosen) now says to search by scientific name: OLS's NCBITaxon search doesn't match common names ("human" only finds viruses, "Homo sapiens" works)- Bumped schema version to 3.0.8
[2026-11-02]
- Added
disease_source(plainselect: Donor / Parental cell line / Induced, blank by default) tosections.disease, stored as adiseaseSourcesubject. No single ontology term cleanly covers this distinction (checked BAO, EFO, NCIT, OBI live via OLS4 — only tangential matches), so it's a controlled choice rather than an ontology-backed field, likeresource_type/treatmentprotocolelsewhere in the schema - Added
source_tissue_search(FMA, newols_fmaAPI) andsource_cell_type_search(Cell Ontology, newols_clAPI) as optional fields tosections.anatomy, for the tissue/cell type a sample or cell line was originally sourced from, separate from the tissue/organ of interest (anat_search, UBERON) - Added
mutationType_so("Mutation Type", right afterallele_search), a manual ontology search backed by the newols_soAPI, querying OLS4 for both the Sequence Ontology and NCIT at once (extra_params.ontology: "so,ncit"): SO alone hastransgenic/transgenedirectly but no literal "knockout"/"knock-in" term (its formal equivalents arenull_mutation/loss_of_function_variantandinsertion), NCIT has the literalKnock-out/Knock-interms (confirmed live). Not auto-filled from the allele search likemutationType_display(renamed to "Mutation Description" to disambiguate): anapi_searchfield's auto-bind only copies raw text into the box without re-running the search, so it wouldn't actually resolve to an ontology term — left as a deliberate manual search mutationType_so'soutput.tpl.subjectSchemeuses the new"$scheme"placeholder instead of a hardcoded"SO", resolved per selected result (SO or NCIT) by a matchingckanext-fair3rfix reading OLS4's ownontology_prefix— generic for anyobo_ontology-mapped field searching more than one OLS4 ontology, not special-cased to this field. Known gap:ckanext-fair3r's server-side_validate_controlled_subjectsstill resolves"$scheme"to the field's single staticmapper.scheme, so a submitted NCIT-sourced subject isn't matched by that rule and skips its sanity checks (not a false rejection, just reduced validation coverage). Checked live whethermutationType_sowas also worth wiring up for cross-references likedisease_searchbelow: SO'sdatabase_cross_referenceis almost entirely documentation links, not database accessions, and the NCIT terms checked have none at all — not worth it- Added
xref_concept: "Disease"and adetail_fetchtosections.disease.disease_search'sols_mondomapper: OLS4's lightweight search (/api/select) doesn't return a term's cross-references, only its per-term detail endpoint does, so selecting a disease now fetcheshttps://www.ebi.ac.uk/ols4/api/ontologies/mondo/terms?short_form={{short_form}}(querying byshort_formavoids the double-URL-encoded IRI OLS4's "canonical" detail path would otherwise need) and turns itsannotation.database_cross_referencelist into the same kind of cross-reference subjects ("<Label> Disease"scheme) thatgene_search/allele_searchalready produce for MGI/RGD/Ensembl/etc. A matching generic fix inckanext-fair3r(mapper.xref_from_extra_array, reusing the existingxref_cataloglookup for a whole comma-separated accession list instead of one) makes this work for any field configured the same way. Extendedxref_catalogwith the disease prefixes it resolves (DOID, OMIM, ORPHANET, MESH, NCIT, UMLS, SCTID), mostly viaidentifiers.org(OMIM needsomim.org/entry/...directly; SCTID needs aSNOMEDCT:prefix identifiers.org expects but Mondo doesn't send) - Switched
sections.disease,sections.anatomyandsections.diet'sdisplay_mappingfromlist_linkstocomposite(source: ["subjects"], each its ownaccent_color), the same display typegenes/organism/strainalready use:list_linkshas no notion ofcrossRefOfand no card/"label: value" row, so disease's cross-references each rendered as their own bullet repeating the disease's name, instead of one row with inline badges like gene/allele xrefs. Reorderedsections.disease.fields(disease_searchfirst, beforedisease_source): the repeatable composite display starts a new group each time it sees the section'ssubject_scheme("MONDO"), so anything meant to land in the same disease's group has to come after it, same orderinggenesalready relies on (gene_searchfirst) - Added
source_tag: "MyGene.info"to themygeneAPI, so gene search results show a source badge like allele/ontology results already do - Shortened
mutationType_display/mutationType_so'shelptext (both were too verbose) - Schema version bump: see the 2026-11-10 entry (3.1.0)
[2026-11-10]
- Merged the FDF contract validation (3.0.9: contract, offline validator, regression tests, commit-pinned bundle builder,
Hermaphroditelabel, novalueURIfor free-text subjects). - Extended the contract so that it accepts what this release uses:
xref_from_extra_arrayis a knownmapperproperty, and aselectoption may have a blankvalue(the blank default ofdisease_source). - Bumped schema version to 3.1.0 (3.0.9 stays the contract validation release).
- Added
apis.<name>.deprecated(since,replaced_by,reason) to the contract: a retired API stays in the file with its replacement. The validator rejects an unknown or deprecated replacement, a field that still uses a deprecated API, and a source change whose oldmapper.schemeis not fixed or is shared with a live API.tools/check_apis.pyreports a deprecated API without failing. No API is deprecated yet, so the schema version is unchanged.
[2026-11-30]
- Limited
sections.disease.disease_search's (MONDO) cross-references toDOID,OMIM,ORPHANETandMESH(all named in the consortium's decision): removedNCIT,UMLSandSCTIDfromxref_catalog(the only thing that was surfacing them — the mapper/detail_fetch config is unchanged), per the consortium's decision that a handful of well-known disease databases is enough for resilience, not every cross-reference Mondo happens to carry. Checked live that Mondo'sdatabase_cross_referencelist is alphabetical by prefix, not ranked by importance, so a numeric "first N" truncation was ruled out — it would often dropOMIM/Orphanetinstead of the intended databases - Added
modelbank_search("Model Bank / Source Institution",rorAPI search, optional) tosections.organism(Biological Model, always shown, not gated behind an intervention type), so a dataset can record the institution holding a cryopreserved sample or cell line and later be searched by source institution - Bumped schema version to 3.1.1
- Added the
mousemine_allele_searchAPI (MouseMine keyword search,facet_Category=Allele) and set it asallele_search'sapi_fallbackfor mouse (10090): results of Alliance come first, MouseMine adds the alleles Alliance cannot find (allele name or nickname such as "Plastic", a strain name, a strain or allele MGI id), alleles already listed are not repeated (sameid), and a MouseMine failure is skipped without breaking the field. MouseMine had been removed in 2026-08 while it was down; it is only a complement to Alliance now allele_search'shelpsays what the mouse search accepts and that^and HTML tags must not be typed- Bumped schema version to 3.1.2
- The ontology or database a field searches is no longer written in its label (
Modeled Disease (MONDO)becomesModeled Disease): the form shows it as a colored badge at the right of the title, from the field's APIs (source_tag, else the upper-casedextra_params.ontology). A field with several sources (several APIs for an organism, or an API over several ontologies such asols_so'sso,ncit) shows one switchable badge per source. Addedsource_tagtoror(ROR),ols_chebi(ChEBI),ols_upheno(uPheno) andols_ncbitaxon(NCBITaxon), whose upper-cased ontology would not be their name. Fixed the French label ofchem_search, which was the one of another field - Bumped schema version to 3.1.3
- Added the
mousemine_strain_searchAPI (MouseMine keyword search,facet_Category=Strain) and set it asstrain_search'sapi_fallbackfor mouse (10090): EFO comes first for every organism (api_by_taxonnow namesols_efofor mouse, rat and by default), MouseMine adds the mouse strains of the MGI nomenclature with their MGI identifier (e.g.C57BL/6JSfdAnu-Ikzf1<plstc>,MGI:4442929), which EFO does not list. A MouseMine failure is skipped without breaking the field. Rat and the other organisms are unchanged - Bumped schema version to 3.1.4
strain_search'shelpsays that a strain name copied from an MGI page loses the angle brackets MGI writes around its allele (C57BL/6JSfdAnu-Ikzf1<plstc>becomes...Ikzf1plstc) and then finds nothing in MouseMine, and what to type instead: the start of the name, the allele nickname or its gene. Checked against MouseMine:C57BL/6JSfdAnu(16 strains),Plastic(4) andIkzf1(4) find strains, the name without brackets finds none- Bumped schema version to 3.1.5
- The
orcidAPI gets asource_tag(ORCID): the ORCID iD field of the creators and contributors sections had no source badge at the right of its title, the only field searching an API without asource_tagnor an ontology to name it by - Bumped schema version to 3.1.6
- New optional section property
prefill_from_user(contract, validator and tests; see Repeatable sections): thecreatorsandcontributorssections declare it, so a consumer holding the profile of the signed-in user can fill an empty author in with the name type, the given and family name and the ORCID iD in one click - Bumped schema version to 3.1.7
prefill_from_userofcreatorsandcontributorsalso fills theaffiliation: the ROR (affiliation_ror) and name of the employer of the profile when ORCID gives its ROR, else the name typed in the ROR search (search_profile, new in the contract) for the person to pick- Bumped schema version to 3.1.8
