Repository navigation
Releases
0.2.0
DAPPER 0.2.0
This release consolidates the 0.2.0 alphas: a generic File model and
provenance linter (0.2.0-a0), gene-set libraries with GMT row references and
scientific accounts, claims, evidence, and citations (0.2.0-a1), and vector
embeddings as content-addressed records any node can carry. It is a schema and
tooling snapshot; there is no Python package to install.
Changes
Files, identifiers, and linting (from 0.2.0-a0)
- Add a generic
Filemodel and searchable schema documentation. - Correct ID assignment and stop silent data loss when minting.
- Add a provenance-graph linter that validates complete provenance records,
terminal relationships, and that every edge connects two nodes.
Gene-set collections and scientific provenance (from 0.2.0-a1)
- Model libraries as
GeneSetCollection, with individualGeneSetmembers,
reciprocal membership links, distinct-gene counts, and pointers into GMT files.
Generic inputs and intermediates useFile; C2M2 metadata remains onC2M2File. - Declare document-local prefixes, reject unresolved namespaces, and export
full-URI documents with consistent content-derived identifiers. - Include a real HuBMAP example with 358 sets and 964 distinct source gene symbols.
Every compact YAMLgmt_entrymatches its GeneSet ID and the corresponding
row ingenesets.dapper-ids.gmt; both file representations have verified checksums. - Separate propositions from attributed claims and typed scores. Organize
questions, knowledge gaps, hypothesis roles, context, claims, and conclusions
inScientificAccount, with optionalMechanisticModelstructure and saved
Paragraphtext. - Validate evidence relationships, scientific-account structure, and paragraph
citation spans. A separate revisioned citation metadata contract preserves
scientific identity. Update the portal and generated model documentation.
Embeddings (new since 0.2.0-a1)
- New
Embeddingclass (embeddings:group): a model-computed vector
representing another node (embedding_of), with model, provider,
dimensions, dtype, normalization, the embedded text and its template, a
vector_sha256of the stored bytes, and the generating Activity. Vectors are
not inlined;has_vector_fileplusvector_rowlocate a row of a shared
matrixFileand are unhashable, mirroringGeneSet.in_gmt_file+gmt_entry. - New unhashable
has_embeddingslot onNode(the inverse of
embedding_of) and aHasEmbeddingedge class, so embedding a node never
changes the node's identifier. - New enums
EmbeddingDtypeEnumandEmbeddingNormalizationEnum. - Linter:
Embeddingmay be the subject ofWasGeneratedBy;HasEmbedding
edges accept anyNodesubject. Embedded nodes remain terminal results. - Portal and model documentation include the new class, links and an
embeddings guide with a
minted example.
Migration
From 0.2.0-a1
- Nothing to re-mint. Identifiers minted under 0.2.0-a1 are unchanged, and
existing documents validate unchanged;has_embeddingis optional and
unhashable. - To add embeddings to an existing document: mint the matrix File, the
Activity and the Embedding records, then sethas_embeddingon the embedded
nodes and (optionally) reifyhas_embedding_edges. Do not add aprov:used
edge from the embedding Activity to the embedded nodes; point it at the data
the texts came from.
From 0.2.0-a0 or 0.1.0
- Use
gene_set_collectionsfor GMT libraries; eachgene_setsrecord describes
one set. Put paths inlocation, source labels inalternate_identifier, and
readable labels inname.has_gmt_filereferences a local minted File record. in_gmt_fileandgmt_entryare representation metadata excluded from a
GeneSet's hash. Mint the sets, serialize their IDs into the GMT, calculate its
checksums, then mint the File and collection. Re-mint earlier records and all
dependent references under this schema; do not mix releases when verifying IDs.in_gene_set_collectionis an unhashable inverse link; collectionmembers
andhas_gmt_fileremain hashable. A full-URI export may have different
GeneSet IDs, but retains literalgmt_entryvalues that select the same GMT rows.- Replace legacy
Hypothesisrecords with a Proposition in an account's
hypothesis role. ReplaceCompositeClaimcontainers with ScientificAccounts;
use a separate Claim when making an attributed concluding assessment.
Mechanistic structure belongs inMechanisticModel.
Pull and validate
git clone --branch 0.2.0 https://github.com/broadinstitute/dapper.git
cd dapper
uv run schema/lint/lint_provenance.py \
schema/examples/example_geneset_collection_rows.yaml --strict
uv run schema/lint/lint_provenance.py \
schema/examples/example_scientific_account.yaml --strict
uv run schema/lint/lint_provenance.py \
schema/examples/example_embedding_graph.yaml --strict
uv run schema/identity/dapper_identity.py verify \
schema/examples/example_embedding_graph.yamlFor a separately supplied provenance document, run the linter from this tagged
checkout and pass the document's path. To generate a full-URI version, use
uv run schema/expand_prefixes.py input.yaml --output expanded.yaml.
The linter does not download GMT or embedding matrix files; regression tests
check the repository examples' row references and checksums. Other source file
contents and execution records remain source-reported. Gene symbols are
preserved without alias normalization. Citation registry persistence and
DOI/resolver services remain application responsibilities.
Build the portal and model navigator with uv run tools/build_docs.py --serve.
The hosted Pages site follows main; the release tag pins this version independently.
What's Changed
- fix: correct ID assignment and stop silent data loss when minting by @jarbesfeld in #24
- Add generic File provenance and searchable model documentation by @yakaboskic in #26
- feat: Add initial work for linter for provenance graphs by @jarbesfeld in #27
- fix: validate complete provenance records and terminal relationships by @yakaboskic in #28
- Chase/file and first claims by @yakaboskic in #29
- Add genetics and claims modeling with linked provenance browsing by @yakaboskic in #30
- Add GMT gene-set collections and scientific provenance for alpha 0.2.0-a1 by @yakaboskic in #31
- Version 0.2.0 Release by @yakaboskic in #32
Full Changelog: 0.1.0...0.2.0
DAPPER 0.2.0-a1 — GMT collections and scientific provenance
This alpha pins the GMT-aware gene-set model and the scientific provenance/claims work for producers and validators.
GeneSetCollectionlibraries, individual GeneSets, reciprocal membership, GMT row selectors, and distinct-gene/set counts.- DAPPER-ID GMT row names without circular hashes:
in_gmt_fileandgmt_entryare representation metadata excluded from GeneSet identity. - Document-local prefixes, unresolved-prefix errors, full-URI export, and File/C2M2File location semantics.
- Scientific accounts, propositions, attributed claims and scores, questions/gaps, evidence, mechanistic models, paragraphs, and pinned citation occurrences with a separate citation metadata contract.
- Updated converters, examples, provenance linting, portal browsing, and generated LinkML documentation.
Use this alpha
git clone --branch 0.2.0-a1 https://github.com/broadinstitute/dapper.git
cd dapper
uv run schema/lint/lint_provenance.py /path/to/provenance.yaml --strictTo update an existing clone, fetch tags and check out 0.2.0-a1. Keep the schema, its imports, and tooling from this tag together.
Migration
Re-mint earlier gene-set records and their dependent references under this schema. Model libraries with gene_set_collections; use in_gmt_file plus gmt_entry for individual rows. Use Proposition hypothesis roles in ScientificAccount instead of legacy Hypothesis records, and ScientificAccount instead of CompositeClaim containers. URI expansion can re-mint GeneSet IDs while preserving literal selectors into the physical GMT.
Validation: 481 Python tests, 14 portal tests, strict schema lint, canonical provenance profiles, identity invariants, nine permanent identity vectors, and strict documentation build.
Full changelog: 0.2.0-a0...0.2.0-a1
This pre-release is pinned to commit c0cfce549baded068aa9e82f81a1400025614b51 on chase/file-and-first-claims, with current main incorporated. The changes are proposed in PR #31.
0.2.0-a0
What's Changed
- fix: correct ID assignment and stop silent data loss when minting by @jarbesfeld in #24
- Add generic File provenance and searchable model documentation by @yakaboskic in #26
- feat: Add initial work for linter for provenance graphs by @jarbesfeld in #27
- fix: validate complete provenance records and terminal relationships by @yakaboskic in #28
- Chase/file and first claims by @yakaboskic in #29
Full Changelog: 0.1.0...0.2.0-a0
0.1.0
What's Changed
- fix!: Fix external IDs so they are not DAPP digests by @jarbesfeld in #2
- feat: Expand CreatorRoleEnum values by @jarbesfeld in #9
- fix!: Convert nih prefix to dapper by @jarbesfeld in #12
- Integrate the three open PRs: gene programs, bottom line results, and de-versioning by @yakaboskic in #14
- Add a test suite for the converter and the minter, and run CI on pull requests by @yakaboskic in #15
- Integrate open prs by @yakaboskic in #16
- fix!: DAPPER schema clean up by @jarbesfeld in #18
- feat: Add quality score field to gene programs by @jarbesfeld in #20
- fix: Remove specific variant record and bottom-line results classes from dapper by @jarbesfeld in #22
- chore: Create initial release of 0.1.0 by @jarbesfeld in #23
New Contributors
- @jarbesfeld made their first contribution in #2
- @yakaboskic made their first contribution in #14
Full Changelog: https://github.com/broadinstitute/dapper/commits/0.1.0