Relationships
Sample relationships in BioSamples
Sample relationships describe the relationship between two biosamples. The relationships can be submission, technical, or biological relationships. It links different samples together and supports relationship-based graph searches.
The sample relationship is submitted to Biosamples by providing the source, type, and target. Below is an example of sample relationships in Biosamples.
"relationships" : [ {
"source" : "SAMEA1111111",
"type" : "derived from",
"target" : "SAMEA2222222"
}, {
"source" : "SAMEG00000",
"type" : "has member",
"target" : "SAMEA1111111"
} ]
When the submitter provides relationship information in one sample, the reverse relationships in corresponding samples will be generated automatically. BioSamples doesn’t validate the type, direction, or the logic of the relationships.
BioSamples currently supports four types of sample relationships
| Relationship types | Reverse relationships | Description |
|---|---|---|
|
|
Sample A is derived from Sample B. |
|
|
Sample A is the same as Sample B. This can be used to link duplicated samples |
|
|
Sample A is a member of Sample group G. BioSamples create a sample group for each sampleTab submission*. It’s also possible to put patient samples as a sample group. |
|
|
Sample A is the child of Sample B. |
-
For samples in the same project or study, it is recommended to provide the project or study information as an attribute, rather than providing
has memberrelationships to avoid duplication.