lobster-metadata
Sample metadata management and harmonization for multi-omics datasets.
Installation
pip install lobster-metadata
Agents
| Agent | Description |
|---|---|
metadata_assistant |
Metadata operations specialist. Sample ID mapping, schema standardization, dataset validation, and disease annotation enrichment. |
Services
| Service | Purpose |
|---|---|
| SampleMappingService | Map sample IDs between datasets using multiple strategies |
| MetadataStandardizationService | Standardize metadata fields to Pydantic schemas |
| MetadataFilteringService | Filter datasets by metadata criteria |
| DiseaseStandardizationService | Standardize disease names to controlled vocabularies |
| DiseaseOntologyService | Map diseases to ontology terms (MONDO, DO) |
| ClinicalMetadataService | Extract and validate clinical metadata fields |
| SampleGroupingService | Group samples by metadata attributes |
| MicrobiomeFilteringService | Microbiome-specific metadata filtering |
Features
Sample ID Mapping
- Exact match between matrix and metadata identifiers
- Fuzzy matching with configurable similarity thresholds
- Pattern-based matching using regular expressions
- Metadata-based correlation for complex mapping scenarios
Metadata Standardization
- Transcriptomics schema (cell type, tissue, organism, disease)
- Proteomics schema (platform, quantification method, normalization)
- Microbiome schema (16S vs shotgun, taxonomic level, diversity)
Dataset Validation
- Sample count consistency between matrix and metadata
- Condition coverage verification for experimental design
- Control sample identification and validation
- Biological and technical replicate detection
- Platform consistency checks across samples
Disease Enrichment
Four-phase hierarchy for missing disease annotations:
- Column re-scan for disease-related field names
- LLM-based abstract extraction from publication context
- LLM-based methods section parsing
- Manual mapping fallback for known datasets
Multi-Omics Integration
- Cross-modality sample alignment
- Shared sample identification across data types
- Metadata merging with conflict resolution
Requirements
- Python 3.12+
- lobster-ai >= 1.0.0
Testing
To run the test suite for this package:
# Install in editable mode with dev dependencies
pip install -e ".[dev]"
# Run all tests
pytest tests/ -v
# Run specific test categories
pytest tests/services/metadata/ -v # Service tests only
pytest tests/agents/ -v # Agent tests only
Documentation
Full documentation: docs.omics-os.com/docs/agents/metadata
License
AGPL-3.0-or-later
Metadata
Release files for lobster-metadata 1.1.424
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lobster_metadata-1.1.424.tar.gz | 100.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lobster_metadata-1.1.424-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 211.5 kB
Release files / lobster_metadata-1.1.424.tar.gz
| Download URL | lobster_metadata-1.1.424.tar.gz |
|---|---|
| Size | 100.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4c38cc33745fb81835e62858b51e0cc102a40118a9b9743b4c5c49719313225
|
|
BLAKE2b-256 checksum How to use checksums |
4be154e6c0916df4ccab901ed0510b319dc3a650cd967401e5bacef9513aaaec
|
| 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 6, 2026.
Transparency logRelease files / lobster_metadata-1.1.424-py3-none-any.whl
| Download URL | lobster_metadata-1.1.424-py3-none-any.whl |
|---|---|
| Size | 111.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a952af8b3bcae927571ea526c2649a03e9d54cd22fb40fb09dd5df50af8e6c6
|
|
BLAKE2b-256 checksum How to use checksums |
ceb309a7b8031e07408aab964cf2ea2e2511e939ae74831789dac55523f40ee9
|
| 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 6, 2026.
Transparency log