Skip to main content

SOMA Logo

A LinkML schema for representing Key Event and Outcome measurements, assays, and experimental protocols in the context of environmental health sciences (EHS) outcomes research.

Documentation · Schema · Examples · Artifacts


Purpose

This data model provides a standardized way to capture and exchange data about airway biology assays relevant to respiratory health outcomes, including:

  • Ciliary function - Beat frequency, active area, morphology
  • Airway surface liquid - ASL height, periciliary layer depth, ion composition
  • Mucociliary clearance - Transport rates, directionality, clearance efficiency
  • Oxidative stress - ROS, lipid peroxidation, antioxidant capacity
  • Ion channel function - CFTR chloride secretion, sweat chloride
  • Signaling pathways - EGFR phosphorylation, downstream kinases
  • Mucin biology - Goblet cells, MUC5AC/MUC5B expression
  • Inflammatory markers - BALF/sputum cell counts, cytokines
  • Lung function - Spirometry outcomes (FEV1, FVC)
  • Gene expression - Target gene mRNA levels

Key Features

  • Assay-centric architecture with domain-specific assay classes using named measurement slots
  • StudySubject hierarchy for describing biological systems: cell cultures, human/animal subjects, populations
  • Typed protocol hierarchy: ImagingProtocol, MolecularAssayProtocol, StainingProtocol, SpirometryProtocol
  • AOP Framework integration: KeyEvent and AdverseOutcomePathway classes with assay linkage
  • Ontology-backed entities mapped to GO, ChEBI, CL, UO, OBI, and other biomedical ontologies

Getting Started

The schema can be used to:

  1. Validate data - Ensure your data conforms to the model
  2. Generate code - Create Python dataclasses, Pydantic models, JSON Schema
  3. Transform data - Convert between JSON, YAML, RDF, and other formats

Development Workflow

For local development, use uv and just as the canonical entry points. The repository may contain underlying Python, npm, and LinkML commands, but contributors should treat the just recipes as the supported interface for routine setup, testing, and generation tasks.

Prerequisites

  • uv for Python environment and dependency management
  • just for repository task automation
  • node and npm for DataHarmonizer frontend builds

Setup

Install the Python dependencies managed by the repo:

just install

Common Commands

  • Run the full validation workflow: just test
  • Regenerate project artifacts: just gen-project
  • Regenerate schema documentation: just gen-doc
  • Build the DataHarmonizer assets: just build-dh
  • List all available recipes: just --list

If you need to run a Python tool directly, prefer uv run ... so it executes inside the managed project environment.

Repository Structure

Developer Tools

There are several pre-defined command-recipes available. They are written for the command runner just. To list all pre-defined commands, run just or just --list.

Credits

This project uses the template linkml-project-copier published as doi:10.5281/zenodo.15163584.

Metadata

Release files for soma-schema 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for soma-schema 0.2.4
File Size Uploaded Provenance
soma_schema-0.2.4.tar.gz 139.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for soma-schema 0.2.4
File Interpreter ABI Platform
soma_schema-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 227.5 kB

Release files / soma_schema-0.2.4.tar.gz

Download URL soma_schema-0.2.4.tar.gz
Size 139.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5efee93f620d1e8d2ef183cb3e5f5ffe735875ce63dcc5025bea6b24596ba65e
BLAKE2b-256 checksum
How to use checksums
f49a7c6e25b4c5cc831511318075a77ac4845db9aaaf5c291ea502f12ccceac9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.

Transparency log

Release files / soma_schema-0.2.4-py3-none-any.whl

Download URL soma_schema-0.2.4-py3-none-any.whl
Size 88.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5cf73f13b1b02d4e76a6a1d17b3920aed6a414bef55f2ceeb162f090f4d5f25
BLAKE2b-256 checksum
How to use checksums
50822734bb0d53dfbba70704f5f7455a5f54c1d8c854af823a60839410b895a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.

Transparency log

Security for soma-schema 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for soma_schema-0.2.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page