Skip to content

Commit

Permalink
improved readme, added assembly to sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Yves Ulrich Tittes committed Sep 26, 2024
1 parent 013e6e6 commit 91381c8
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Schema for the Open Standards Community for Electron Microscopy (OSC-EM)
defining the electron microscopy related fields required by the OSCEM standard.

Core idea is a modular system that allows for the combination of several sample and method parts to describe a variety of electron microscopy use cases. All original schemas can be found as .yaml under src/oscem_schemas/schema. Files named oscem_* refer to set collection for i.e. single particle analysis whereas schemas with more precise names such as "instrument" refers to a specific subschema detailing in this case instrument variables. Using the linkml generator functions the overall schemas can be exported to a variety of other formats such as json-schema, jsonld, owl and rdfa. We recommend using json-schema versions for validating metadata.
Core idea is a modular system that allows for the combination of several sample and method parts to describe a variety of electron microscopy use cases. All original schemas can be found as .yaml under src/oscem_schemas/schema. Files named oscem_* refer to set collections of subschemas, e.g. single particle analysis. Schemas with more precise names such as "instrument" refer to a specific subschema that can be modularily imported into oscem_* schemas. Using the linkml generator functions the overall schemas can be exported to a variety of other formats such as json-schema, jsonld, OWL and RDF. We recommend using json-schema versions for validating metadata.

Current versions are a work in progress, details might change.

Expand Down
1 change: 1 addition & 0 deletions src/data/examples/EMDataset-001.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ authors:
sample:
overall_molecule:
molecular_type: Complex
assembly: PARTICLE
name_sample: Ribosome
source: yeast
molecular_weight:
Expand Down
2 changes: 1 addition & 1 deletion src/oscem_schemas/schema/organizational.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ classes:
required: true
type_org:
required: true
name_org:
name_org:
required: true

Grant:
Expand Down
15 changes: 15 additions & 0 deletions src/oscem_schemas/schema/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ enums:
description: Chimera
None of these:
description: None of these
AssemblyEnum:
title: AssemblyEnum
permissible_values:
FILAMENT:
description: If your protein (complex) of interest is forming filaments
HELICAL ARRAY:
description: If your protein (complex) of interest is forming helical arrays (i.e. tubes)
PARTICLE:
description: If your protein (complex) of interest forms individual particles on the grid with no orderd interactions

classes:
OverallMolecule:
Expand All @@ -34,6 +43,7 @@ classes:
- name_sample
- source
- molecular_weight
- assembly
slot_usage:
molecular_type:
required: true
Expand All @@ -45,6 +55,8 @@ classes:
required: true
molecular_weight:
# alias: Molecular_weight
assembly:
required: true

Molecule:
title: Molecule
Expand Down Expand Up @@ -376,3 +388,6 @@ slots:
title: Grid
description: Description of the grid used
range: Grid
assembly:
description: What type of higher order structure your sample forms - if any.
range: AssemblyEnum

0 comments on commit 91381c8

Please sign in to comment.