Skip to content

Class: Sample

A physical sample collected from an environment. The environment can be ecological, laboratory, or any other context where samples are collected. This class serves as an abstract class to relate subclasses of samples.

  • NOTE: this is an abstract class and should not be instantiated directly

URI: basalt_schema:Sample

 classDiagram
    class Sample
    click Sample href "../Sample/"
      Sample <|-- AerosolArmSample
        click AerosolArmSample href "../AerosolArmSample/"
      Sample <|-- AerosolSample
        click AerosolSample href "../AerosolSample/"
      Sample <|-- AMP2UserSample
        click AMP2UserSample href "../AMP2UserSample/"
      Sample <|-- CommerciallyPurchasedSample
        click CommerciallyPurchasedSample href "../CommerciallyPurchasedSample/"
      Sample <|-- CultureEnvironmentalSample
        click CultureEnvironmentalSample href "../CultureEnvironmentalSample/"
      Sample <|-- EngineeredStrainSample
        click EngineeredStrainSample href "../EngineeredStrainSample/"
      Sample <|-- FieldDeployedTerraformSample
        click FieldDeployedTerraformSample href "../FieldDeployedTerraformSample/"
      Sample <|-- MixedCultureSample
        click MixedCultureSample href "../MixedCultureSample/"
      Sample <|-- MonetSoilSample
        click MonetSoilSample href "../MonetSoilSample/"
      Sample <|-- OtherUndescribedSample
        click OtherUndescribedSample href "../OtherUndescribedSample/"
      Sample <|-- PlantSample
        click PlantSample href "../PlantSample/"
      Sample <|-- PureCultureSample
        click PureCultureSample href "../PureCultureSample/"
      Sample <|-- SedimentSample
        click SedimentSample href "../SedimentSample/"
      Sample <|-- SoilSample
        click SoilSample href "../SoilSample/"
      Sample <|-- SynthesizedMaterialSample
        click SynthesizedMaterialSample href "../SynthesizedMaterialSample/"
      Sample <|-- TerraformSample
        click TerraformSample href "../TerraformSample/"
      Sample <|-- WaterSample
        click WaterSample href "../WaterSample/"
      Sample <|-- ProcessedSample
        click ProcessedSample href "../ProcessedSample/"

      Sample : description

      Sample : emsl_activity

      Sample : id

      Sample : lims_barcode

      Sample : name

Inheritance

Slots

Name Cardinality and Range Description Inheritance
name 1
String
Human-readable name for the entity or activity direct
description 0..1
String
Human-readable description for the entity or activity direct
emsl_activity 0..1
String
Nullable string linking a Sample or SamplingActivity to a named EMSL activity... direct
lims_barcode 0..1
String
LIMS barcode identifier direct
id 1
Uuid
direct

Usages

used by used in type used
ProcessedData sample_id range Sample
SampleProcessing uses_sample range Sample
ProcessingSampleLink sample_base_id range Sample
MassSpectrometryDataProduct sample_id range Sample
MSImageProduct sample_id range Sample
MolecularIdentificationProduct sample_id range Sample
MetaproteomicsProduct sample_id range Sample
MediaPreparation uses_sample range Sample
CultureGrowth uses_sample range Sample
StrainPurity uses_sample range Sample
StockCulturePreparation uses_sample range Sample
PreCultureGrowth uses_sample range Sample
ExperimentalCulture uses_sample range Sample
PlateSetupActivity uses_sample range Sample
AMP2PlateSetupActivity uses_sample range Sample
EcoplatePlateSetupActivity uses_sample range Sample
MetagenomicsProduct sample_id range Sample
MetagenomicsAnnotationProduct sample_id range Sample
MetagenomicsBinningProduct sample_id range Sample
MetagenomicsGenePhylogenyProduct sample_id range Sample
BulkDensityProduct sample_id range Sample
ElementalAnalysisProduct sample_id range Sample
EnzymeProduct sample_id range Sample
GWCMoistureProduct sample_id range Sample
HydraulicPropertiesProduct sample_id range Sample
IonsAnalysisProduct sample_id range Sample
MicrobialBiomassProduct sample_id range Sample
NitrogenAnalysisProduct sample_id range Sample
PhosphorusAnalysisProduct sample_id range Sample
RespirationProduct sample_id range Sample
TextureProduct sample_id range Sample
TomographyProduct sample_id range Sample
PHProduct sample_id range Sample
XRayDataProduct sample_id range Sample
XRFElementalProduct sample_id range Sample
XRDPhaseProduct sample_id range Sample

TODOs

  • where should proposal ID live? probably not here? emsl_activity is a string referencing a campaign name. but we do need to link samples to their parent studies/projects somehow.

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self basalt_schema:Sample
native basalt_schema:Sample

LinkML Source

Direct

name: Sample
description: A physical sample collected from an environment. The environment can
  be ecological, laboratory, or any other context where samples are collected. This
  class serves as an abstract class to relate subclasses of samples.
todos:
- where should proposal ID live? probably not here? emsl_activity is a string referencing
  a campaign name. but we do need to link samples to their parent studies/projects
  somehow.
from_schema: https://EMSL-Computing.github.io/BASALT-Schema
abstract: true
slots:
- name
- description
- emsl_activity
- lims_barcode
attributes:
  id:
    name: id
    from_schema: https://EMSL-Computing.github.io/BASALT-Schema/sample-classes
    identifier: true
    domain_of:
    - Activity
    - Entity
    - DataProduct
    - DataGenerationActivity
    - DataProcessingActivity
    - AlternativeIdentifier
    - FunctionalAnnotationIdentifier
    - Instrument
    - OntologyClass
    - ContainerType
    - Custodian
    - InstrumentAlternativeIdentifier
    - LabDevice
    - SampleProcessing
    - ProcessingSampleLink
    - Configuration
    - MobilePhaseSegment
    - MassSpectrometryStandardRun
    - PurchasedMaterial
    - LabProcessingActivity
    - organism
    - MAOMProduct
    - WEOMProduct
    - Site
    - Sample
    - AerosolArmSample
    - AerosolSample
    - AMP2UserSample
    - CommerciallyPurchasedSample
    - CultureEnvironmentalSample
    - EngineeredStrainSample
    - FieldDeployedTerraformSample
    - MixedCultureSample
    - MonetSoilSample
    - OtherUndescribedSample
    - PlantSample
    - PureCultureSample
    - SedimentSample
    - SoilSample
    - SynthesizedMaterialSample
    - TerraformSample
    - WaterSample
    - ProcessedSample
    - CoreSection
    - SamplingActivity
    - AerosolArmSamplingActivity
    - AerosolSamplingActivity
    - CommerciallyPurchasedSamplingActivity
    - CultureEnvironmentalSamplingActivity
    - EngineeredStrainSamplingActivity
    - FieldDeployedTerraformSamplingActivity
    - MixedCultureSamplingActivity
    - MonetSoilSamplingActivity
    - OtherUndescribedSamplingActivity
    - PlantSamplingActivity
    - PureCultureSamplingActivity
    - SedimentSamplingActivity
    - SoilSamplingActivity
    - SynthesizedMaterialSamplingActivity
    - TerraformSamplingActivity
    - WaterSamplingActivity
    - Study
    - ProjectParticipant
    - TimestampValue
    - TextValue
    - SoftwareControlledTermValue
    - ControlledTermValue
    - PersonValue
    - QuantityValue
    - ConditioningValue
    - zipDownload
    range: uuid
    required: true

Induced

name: Sample
description: A physical sample collected from an environment. The environment can
  be ecological, laboratory, or any other context where samples are collected. This
  class serves as an abstract class to relate subclasses of samples.
todos:
- where should proposal ID live? probably not here? emsl_activity is a string referencing
  a campaign name. but we do need to link samples to their parent studies/projects
  somehow.
from_schema: https://EMSL-Computing.github.io/BASALT-Schema
abstract: true
attributes:
  id:
    name: id
    from_schema: https://EMSL-Computing.github.io/BASALT-Schema/sample-classes
    identifier: true
    alias: id
    owner: Sample
    domain_of:
    - Activity
    - Entity
    - DataProduct
    - DataGenerationActivity
    - DataProcessingActivity
    - AlternativeIdentifier
    - FunctionalAnnotationIdentifier
    - Instrument
    - OntologyClass
    - ContainerType
    - Custodian
    - InstrumentAlternativeIdentifier
    - LabDevice
    - SampleProcessing
    - ProcessingSampleLink
    - Configuration
    - MobilePhaseSegment
    - MassSpectrometryStandardRun
    - PurchasedMaterial
    - LabProcessingActivity
    - organism
    - MAOMProduct
    - WEOMProduct
    - Site
    - Sample
    - AerosolArmSample
    - AerosolSample
    - AMP2UserSample
    - CommerciallyPurchasedSample
    - CultureEnvironmentalSample
    - EngineeredStrainSample
    - FieldDeployedTerraformSample
    - MixedCultureSample
    - MonetSoilSample
    - OtherUndescribedSample
    - PlantSample
    - PureCultureSample
    - SedimentSample
    - SoilSample
    - SynthesizedMaterialSample
    - TerraformSample
    - WaterSample
    - ProcessedSample
    - CoreSection
    - SamplingActivity
    - AerosolArmSamplingActivity
    - AerosolSamplingActivity
    - CommerciallyPurchasedSamplingActivity
    - CultureEnvironmentalSamplingActivity
    - EngineeredStrainSamplingActivity
    - FieldDeployedTerraformSamplingActivity
    - MixedCultureSamplingActivity
    - MonetSoilSamplingActivity
    - OtherUndescribedSamplingActivity
    - PlantSamplingActivity
    - PureCultureSamplingActivity
    - SedimentSamplingActivity
    - SoilSamplingActivity
    - SynthesizedMaterialSamplingActivity
    - TerraformSamplingActivity
    - WaterSamplingActivity
    - Study
    - ProjectParticipant
    - TimestampValue
    - TextValue
    - SoftwareControlledTermValue
    - ControlledTermValue
    - PersonValue
    - QuantityValue
    - ConditioningValue
    - zipDownload
    range: uuid
    required: true
  name:
    name: name
    description: Human-readable name for the entity or activity.
    from_schema: https://EMSL-Computing.github.io/BASALT-Schema
    rank: 1000
    alias: name
    owner: Sample
    domain_of:
    - Activity
    - Entity
    - DataProduct
    - DataGenerationActivity
    - Instrument
    - OntologyClass
    - ContainerAxis
    - Configuration
    - MobilePhaseSegment
    - MassSpectrometryStandardRun
    - PurchasedMaterial
    - LabProcessingActivity
    - organism
    - Site
    - Sample
    - SamplingActivity
    - SoilSamplingActivity
    - Study
    - SoftwareControlledTermValue
    range: string
    required: true
  description:
    name: description
    description: Human-readable description for the entity or activity
    title: description
    from_schema: https://EMSL-Computing.github.io/BASALT-Schema
    rank: 1000
    alias: description
    owner: Sample
    domain_of:
    - Activity
    - Entity
    - DataProduct
    - DataGenerationActivity
    - DataProcessingActivity
    - OntologyClass
    - ContainerType
    - LabDevice
    - Configuration
    - MassSpectrometryStandardRun
    - PurchasedMaterial
    - LabProcessingActivity
    - organism
    - Site
    - Sample
    - SamplingActivity
    - SoilSamplingActivity
    - Study
    - TimestampValue
    - TextValue
    - SoftwareControlledTermValue
    - ControlledTermValue
    - QuantityValue
    range: string
  emsl_activity:
    name: emsl_activity
    description: 'Nullable string linking a Sample or SamplingActivity to a named
      EMSL activity or

      campaign (e.g., ''AMP2'', ''MONet_FY26''). Optional for historical records

      predating activity tracking.'
    todos:
    - Is sampling activity where we want to capture this?
    from_schema: https://EMSL-Computing.github.io/BASALT-Schema
    rank: 1000
    alias: emsl_activity
    owner: Sample
    domain_of:
    - Sample
    - SamplingActivity
    range: string
    required: false
  lims_barcode:
    name: lims_barcode
    description: LIMS barcode identifier
    from_schema: https://EMSL-Computing.github.io/BASALT-Schema
    rank: 1000
    alias: lims_barcode
    owner: Sample
    domain_of:
    - ProcessedData
    - Sample
    range: string
    required: false