Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
0543264
Add the BER feature model as an imported module
turbomam Oct 2, 2026
0dbdcd5
Cite the feature-table-corpus v0.1.0 tag as the example's source
turbomam Oct 2, 2026
5e2a4b2
Keep only the schema in the copied feature model
turbomam Oct 2, 2026
b1fd132
Add a method slot to Feature for the annotation method behind a hit
turbomam Oct 5, 2026
bfd6712
Match feature-table-corpus's EDAM_DATA prefix and mark StrandEnum's G…
turbomam Oct 6, 2026
c1e4685
Merge remote-tracking branch 'fork/genome-features-module' into featu…
turbomam Oct 6, 2026
80541ed
Check that every invalid example fails, and note the TMHMM and Signal…
turbomam Oct 6, 2026
3422d4d
Give a valid example a name, so the display_name alias is tested
turbomam Oct 6, 2026
ae3b966
Merge remote-tracking branch 'fork/genome-features-module' into featu…
turbomam Oct 6, 2026
d4bf9ec
Name the invalid Dataset example for its one fault, as CONTRIBUTING.m…
turbomam Oct 6, 2026
663b8b7
Merge remote-tracking branch 'fork/genome-features-module' into featu…
turbomam Oct 6, 2026
bd4de0b
Name the invalid method example for its one fault
turbomam Oct 6, 2026
61ca920
Add valid and invalid examples for every class the feature model adds
turbomam Oct 6, 2026
2c69bfc
Merge remote-tracking branch 'fork/genome-features-module' into featu…
turbomam Oct 6, 2026
9e9d21b
Say feature_id has no required format, matching feature-table-corpus
turbomam Oct 6, 2026
b632020
Add an invalid Attribute example
turbomam Oct 6, 2026
9b8afbb
Merge remote-tracking branch 'fork/genome-features-module' into featu…
turbomam Oct 6, 2026
15b0e06
Version the copy 0.1.0-bridge.1 and list how it differs from v0.1.0
turbomam Oct 7, 2026
a66991b
Merge remote-tracking branch 'fork/genome-features-module' into featu…
turbomam Oct 7, 2026
d3f6a6b
Version the copy with the method slot 0.1.0-bridge.2
turbomam Oct 7, 2026
04d23ae
Describe 0.1.0-bridge.1 as the first bridge copy, now that this one i…
turbomam Oct 7, 2026
1fcc8da
Say the older ID suffixes are source-specific, not MethodEnum values
turbomam Oct 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .linkmllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Configuration for `just lint` (linkml-lint reads this file from the repository root).
extends: recommended
rules:
standard_naming:
# StrandEnum in ber_feature_model.yaml uses the GFF3 column 7 symbols as its values, so a
# strand written in a GFF3 file reads back unchanged.
exclude:
- "+"
- "-"
- "."
- "?"
67 changes: 67 additions & 0 deletions src/ber_central_schema/schema/attributes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
id: https://w3id.org/ber-data/attributes
name: attributes
title: Reusable attributes (draft)
version: 0.1.0
description: >-
String-valued attributes for metadata, annotations, and source-reported evidence, with an
optional CURIE for the key and an optional number for the value.
license: https://creativecommons.org/publicdomain/zero/1.0/
prefixes:
linkml: https://w3id.org/linkml/
battr: https://w3id.org/ber-data/attributes/
kb_cdm: http://kbase.github.io/cdm-schema/linkml/
nmdc: https://w3id.org/nmdc/
default_prefix: battr
default_range: string
imports:
- linkml:types
classes:
Attribute:
title: Attribute
class_uri: battr:Attribute
description: One named value attached to a record by a consuming model.
notes:
- GFF column 9 is a minimal use case, alongside tabular annotations and metadata.
This module has no dependency on GFF, Feature, Contig, or a genomic coordinate system.
- A key is not an identifier; repeated keys can remain separate entries in an ordered list.
Consuming models choose attachment and cardinality. Keys are source names, not a controlled vocabulary.
- Each value of a multivalued source attribute is its own Attribute entry, with the same key,
in source order; one entry never holds a joined list.
- attribute_cv_id and numeric_value follow the NMDC AttributeValue pattern that BERtron and the
KBase CDM use (an optional attribute CURIE plus the raw string, with a typed value), which
this pair can be projected onto later. key and value keep the source's text.
attributes:
key:
title: Key
slot_uri: battr:key
range: string
required: true
description: Source-reported attribute name, unnormalized (for example a GFF tag or metadata key).
value:
title: Value
slot_uri: battr:value
range: string
required: true
description: >-
The source's text for one value, as a string: not typed or normalized, with any escaping
the source format defines decoded (a GFF3 %2C is stored as a comma).
attribute_cv_id:
title: Attribute CV ID
slot_uri: battr:attribute_cv_id
range: uriorcurie
description: >-
A CURIE for what the key means, from an ontology or controlled vocabulary, for example
EDAM:data_1667 (E-value) for both e-value and
evalue. key keeps the source spelling either way.
exact_mappings:
- kb_cdm:attribute_cv_id
numeric_value:
title: Numeric value
slot_uri: battr:numeric_value
range: float
description: >-
value read as a number, only for keys known to be numeric. value
keeps the source text, so 3.4e-28 and 3.40E-28 stay distinguishable.
exact_mappings:
- kb_cdm:numeric_value
- nmdc:numeric_value
8 changes: 7 additions & 1 deletion src/ber_central_schema/schema/ber_central_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: BRIDGE Central Schema
description: >-
The central BRIDGE schema for harmonized cross-BER data access. Defines
shared base elements and composes domain modules (currently:
measurements.yaml).
measurements.yaml and ber_feature_model.yaml).
license: Apache-2.0
see_also:
- https://github.com/ber-data/bridge-central-schema
Expand All @@ -14,13 +14,19 @@ see_also:
prefixes:
bridge_central_schema: https://w3id.org/ber-data/bridge-central-schema/
linkml: https://w3id.org/linkml/
# Also declared here: the generated Python leaves out prefixes that only an imported module
# declares when enum meanings use them (the feature model's ContigCollectionTypeEnum and
# ScoreTypeEnum).
MIXS: https://w3id.org/mixs/
EDAM_DATA: http://edamontology.org/data_
schema: http://schema.org/
default_prefix: bridge_central_schema
default_range: string

imports:
- linkml:types
- measurements
- ber_feature_model

classes:

Expand Down
Loading
Loading