Class: SampleΒΆ
Information about a biospecimen/sample used as raw material for lab experiments.
URI: https://w3id.org/fga-wg/schema/bundle/Sample
classDiagram
class Sample
click Sample href "../Sample/"
Sample : biospecimen_classification
Sample --> "1" BiospecimenClassification : biospecimen_classification
click BiospecimenClassification href "../BiospecimenClassification/"
Sample : cell_line
Sample --> "0..1" Term : cell_line
click Term href "../Term/"
Sample : cell_type
Sample --> "0..1" Term : cell_type
click Term href "../Term/"
Sample : donor_age
Sample : donor_clinical_information
Sample : donor_development_stage
Sample --> "0..1" Term : donor_development_stage
click Term href "../Term/"
Sample : donor_organism_ref
Sample : organism_tissue
Sample --> "0..1" Term : organism_tissue
click Term href "../Term/"
Sample : other_biospecimen
Sample --> "*" Term : other_biospecimen
click Term href "../Term/"
Sample : phenotype
Sample --> "0..1" Term : phenotype
click Term href "../Term/"
Sample : sample_collection_date
Sample : sample_collection_location
Sample : sample_description
Sample : sample_external_id
Sample : sample_id
Sample : sample_label
Sample : sampling_protocol
ExampleΒΆ
Example JSON
{
"biospecimen_classification": "cell line",
"cell_line": {
"id": "CLO:0034832",
"label": "AG04450 cell"
},
"donor_age": "W12",
"donor_clinical_information": "apparently healthy",
"donor_development_stage": {
"id": "UBERON:0000323",
"label": "late embryo"
},
"donor_organism_ref": "donor:ENCDO001AAA",
"organism_tissue": {
"id": "UBERON:0002048",
"label": "lung"
},
"other_biospecimen": [
{
"id": "UBERON:0002384",
"label": "connective tissue"
},
{
"id": "CL:0002320",
"label": "connective tissue cell"
},
{
"id": "CL:0000057",
"label": "fibroblast"
},
{
"id": "UBERON:0000925",
"label": "endoterm"
},
{
"id": "UBERON:0001004",
"label": "respiratory system"
}
],
"phenotype": {
"id": "PATO:0000461",
"label": "normal"
},
"sample_description": "Homo sapiens AG04450 cell line",
"sample_external_id": "encode:ENCBS004ENC",
"sample_id": "sample:ENCBS004ENC",
"sample_label": "Homo sapiens AG04450 cell line",
"sampling_protocol": "https://www.encodeproject.org/documents/3ed29dac-da67-47be-91b0-c9cad6a1b791/@@download/attachment/AG04450_Stam_protocol.pdf"
}
SlotsΒΆ
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| sample_external_id | 1 Curie |
External, globally unique identifier for the biospecimen/sample. | direct |
| sample_id | 1 Curie |
Internal identifier for the biospecimen/sample (unique within the metadata deposit). | direct |
| sample_label | 1 String |
A human-readable description of the sample, short enough to be used for listings within software user interfaces, tables, illustration legends, etc. | direct |
| sample_description | 0..1 String |
Human-readable description of the biospecimen/sample and the sampling process. | direct |
| donor_organism_ref | 1 Curie |
Internal reference to the donor/organism from which the biospecimen/sample was taken. | direct |
| biospecimen_classification | 1 BiospecimenClassification |
Main type of structural unit to be used for classification of the biospecimen/sample. | direct |
| organism_tissue | 0..1 Term |
Part of organism (typically tissue or organ) from which the biospecimen/sample was taken, or cell line was derived from. | direct |
| cell_type | 0..1 Term |
Cell type of isolated normal cells in the biospecimen/sample. | direct |
| cell_line | 0..1 Term |
Cultured cell line used in the biospecimen/sample. | direct |
| other_biospecimen | * Term |
Other biospecimen-related terms that can be used to further classify the biospecimen/sample. | direct |
| sampling_protocol | 0..1 Uri |
Protocol detailing the collection and treatment of the biospecimen/sample. | direct |
| sample_collection_location | 0..1 String |
Geographical location where the sample was collected. | direct |
| sample_collection_date | 0..1 Datetime |
Date of sample collection. | direct |
| phenotype | 0..1 Term |
Main phenotype (e.g. disease) connected to the biospecimen/sample. | direct |
| donor_age | 0..1 String |
Age of the donor/organism at the time of sampling | direct |
| donor_development_stage | 0..1 Term |
Development stage of the donor at the time of sampling. | direct |
| donor_clinical_information | 0..1 String |
Clinical information of the donor/organism at the time of sampling. | direct |
UsagesΒΆ
| used by | used in | type | used |
|---|---|---|---|
| Bundle | samples | range | Sample |
RulesΒΆ
ΒΆ
| Rule Applied | Preconditions | Postconditions | Elseconditions |
|---|---|---|---|
| slot_conditions | {'biospecimen_classification': {'equals_string': 'cell line'}} |
{'cell_line': {'required': True}} |
ΒΆ
| Rule Applied | Preconditions | Postconditions | Elseconditions |
|---|---|---|---|
| any_of | [{'slot_conditions': {'biospecimen_classification': {'equals_string': 'in vitro differentiated cells'}}}, {'slot_conditions': {'biospecimen_classification': {'equals_string': 'primary cell'}}}] |
ΒΆ
| Rule Applied | Preconditions | Postconditions | Elseconditions |
|---|---|---|---|
| any_of | [{'slot_conditions': {'biospecimen_classification': {'equals_string': 'tissue'}}}, {'slot_conditions': {'biospecimen_classification': {'equals_string': 'organoid'}}}] |
Identifier and Mapping InformationΒΆ
Schema SourceΒΆ
- from schema: https://w3id.org/fga-wg/schema/bundle
MappingsΒΆ
| Mapping Type | Mapped Value |
|---|---|
| self | https://w3id.org/fga-wg/schema/bundle/Sample |
| native | https://w3id.org/fga-wg/schema/bundle/Sample |
LinkML SourceΒΆ
DirectΒΆ
name: Sample
description: Information about a biospecimen/sample used as raw material for lab experiments.
from_schema: https://w3id.org/fga-wg/schema/bundle
slots:
- sample_external_id
- sample_id
- sample_label
- sample_description
- donor_organism_ref
- biospecimen_classification
- organism_tissue
- cell_type
- cell_line
- other_biospecimen
- sampling_protocol
- sample_collection_location
- sample_collection_date
- phenotype
- donor_age
- donor_development_stage
- donor_clinical_information
rules:
- preconditions:
slot_conditions:
biospecimen_classification:
name: biospecimen_classification
equals_string: cell line
postconditions:
slot_conditions:
cell_line:
name: cell_line
required: true
- preconditions:
any_of:
- slot_conditions:
biospecimen_classification:
name: biospecimen_classification
equals_string: in vitro differentiated cells
- slot_conditions:
biospecimen_classification:
name: biospecimen_classification
equals_string: primary cell
postconditions:
slot_conditions:
cell_type:
name: cell_type
required: true
- preconditions:
any_of:
- slot_conditions:
biospecimen_classification:
name: biospecimen_classification
equals_string: tissue
- slot_conditions:
biospecimen_classification:
name: biospecimen_classification
equals_string: organoid
postconditions:
slot_conditions:
organism_tissue:
name: organism_tissue
required: true
InducedΒΆ
name: Sample
description: Information about a biospecimen/sample used as raw material for lab experiments.
from_schema: https://w3id.org/fga-wg/schema/bundle
attributes:
sample_external_id:
name: sample_external_id
description: External, globally unique identifier for the biospecimen/sample.
examples:
- value: encode:ENCBS004ENC
from_schema: https://w3id.org/fga-wg/schema/bundle
rank: 1000
owner: Sample
domain_of:
- Sample
range: curie
required: true
sample_id:
name: sample_id
description: Internal identifier for the biospecimen/sample (unique within the
metadata deposit).
examples:
- value: sample:ENCBS004ENC
from_schema: https://w3id.org/fga-wg/schema/bundle
rank: 1000
identifier: true
owner: Sample
domain_of:
- Sample
range: curie
required: true
sample_label:
name: sample_label
description: A human-readable description of the sample, short enough to be used
for listings within software user interfaces, tables, illustration legends,
etc.
examples:
- value: Homo sapiens AG04450 cell line
from_schema: https://w3id.org/fga-wg/schema/bundle
rank: 1000
owner: Sample
domain_of:
- Sample
range: string
required: true
pattern: ^.{1,60}$
sample_description:
name: sample_description
description: Human-readable description of the biospecimen/sample and the sampling
process.
examples:
- value: Homo sapiens AG04450 cell line
from_schema: https://w3id.org/fga-wg/schema/bundle
rank: 1000
owner: Sample
domain_of:
- Sample
range: string
donor_organism_ref:
name: donor_organism_ref
description: Internal reference to the donor/organism from which the biospecimen/sample
was taken.
examples:
- value: donor:ENCDO001AAA
from_schema: https://w3id.org/fga-wg/schema/bundle
rank: 1000
owner: Sample
domain_of:
- Sample
range: curie
required: true
biospecimen_classification:
name: biospecimen_classification
description: Main type of structural unit to be used for classification of the
biospecimen/sample.
examples:
- value: cell line
from_schema: https://w3id.org/fga-wg/schema/bundle
rank: 1000
owner: Sample
domain_of:
- Sample
range: BiospecimenClassification
required: true
organism_tissue:
name: organism_tissue
description: Part of organism (typically tissue or organ) from which the biospecimen/sample
was taken, or cell line was derived from.
examples:
- object:
id: UBERON:0002048
label: lung
from_schema: https://w3id.org/fga-wg/schema/bundle
rank: 1000
owner: Sample
domain_of:
- Sample
range: Term
cell_type:
name: cell_type
description: Cell type of isolated normal cells in the biospecimen/sample.
from_schema: https://w3id.org/fga-wg/schema/bundle
rank: 1000
owner: Sample
domain_of:
- Sample
range: Term
cell_line:
name: cell_line
description: Cultured cell line used in the biospecimen/sample.
examples:
- object:
id: CLO:0034832
label: AG04450 cell
from_schema: https://w3id.org/fga-wg/schema/bundle
rank: 1000
owner: Sample
domain_of:
- Sample
range: Term
other_biospecimen:
name: other_biospecimen
description: Other biospecimen-related terms that can be used to further classify
the biospecimen/sample.
examples:
- object:
id: UBERON:0002384
label: connective tissue
- object:
id: CL:0002320
label: connective tissue cell
- object:
id: CL:0000057
label: fibroblast
- object:
id: UBERON:0000925
label: endoterm
- object:
id: UBERON:0001004
label: respiratory system
from_schema: https://w3id.org/fga-wg/schema/bundle
rank: 1000
owner: Sample
domain_of:
- Sample
range: Term
multivalued: true
sampling_protocol:
name: sampling_protocol
description: Protocol detailing the collection and treatment of the biospecimen/sample.
examples:
- value: https://www.encodeproject.org/documents/3ed29dac-da67-47be-91b0-c9cad6a1b791/@@download/attachment/AG04450_Stam_protocol.pdf
from_schema: https://w3id.org/fga-wg/schema/bundle
rank: 1000
owner: Sample
domain_of:
- Sample
range: uri
sample_collection_location:
name: sample_collection_location
description: Geographical location where the sample was collected.
from_schema: https://w3id.org/fga-wg/schema/bundle
rank: 1000
owner: Sample
domain_of:
- Sample
range: string
sample_collection_date:
name: sample_collection_date
description: Date of sample collection.
from_schema: https://w3id.org/fga-wg/schema/bundle
rank: 1000
owner: Sample
domain_of:
- Sample
range: datetime
phenotype:
name: phenotype
description: Main phenotype (e.g. disease) connected to the biospecimen/sample.
examples:
- object:
id: PATO:0000461
label: normal
from_schema: https://w3id.org/fga-wg/schema/bundle
rank: 1000
owner: Sample
domain_of:
- Sample
range: Term
donor_age:
name: donor_age
description: Age of the donor/organism at the time of sampling
examples:
- value: W12
from_schema: https://w3id.org/fga-wg/schema/bundle
rank: 1000
owner: Sample
domain_of:
- Sample
range: string
donor_development_stage:
name: donor_development_stage
description: Development stage of the donor at the time of sampling.
examples:
- object:
id: UBERON:0000323
label: late embryo
from_schema: https://w3id.org/fga-wg/schema/bundle
rank: 1000
owner: Sample
domain_of:
- Sample
range: Term
donor_clinical_information:
name: donor_clinical_information
description: Clinical information of the donor/organism at the time of sampling.
examples:
- value: apparently healthy
from_schema: https://w3id.org/fga-wg/schema/bundle
rank: 1000
owner: Sample
domain_of:
- Sample
range: string
rules:
- preconditions:
slot_conditions:
biospecimen_classification:
name: biospecimen_classification
equals_string: cell line
postconditions:
slot_conditions:
cell_line:
name: cell_line
required: true
- preconditions:
any_of:
- slot_conditions:
biospecimen_classification:
name: biospecimen_classification
equals_string: in vitro differentiated cells
- slot_conditions:
biospecimen_classification:
name: biospecimen_classification
equals_string: primary cell
postconditions:
slot_conditions:
cell_type:
name: cell_type
required: true
- preconditions:
any_of:
- slot_conditions:
biospecimen_classification:
name: biospecimen_classification
equals_string: tissue
- slot_conditions:
biospecimen_classification:
name: biospecimen_classification
equals_string: organoid
postconditions:
slot_conditions:
organism_tissue:
name: organism_tissue
required: true