Class: Location
erDiagram
ChromosomeLocation {
string chr
string speciesId
string Id
}
CytobandInterval {
string end
string start
}
Location {
}
SequenceInterval {
}
SequenceLocation {
string sequenceId
string Id
}
SimpleInterval {
integer end
integer start
}
ChromosomeLocation ||--|o CytobandInterval : "interval"
Location ||--|o ChromosomeLocation : "chromosomeLocation"
Location ||--|o SequenceLocation : "sequenceLocation"
SequenceInterval ||--|o DefiniteRange : "endDefiniteRange, startDefiniteRange"
SequenceInterval ||--|o IndefiniteRange : "endIndefiniteRange, startIndefiniteRange"
SequenceInterval ||--|o Number : "endNumber, startNumber"
SequenceLocation ||--|o SequenceInterval : "sequenceInterval"
SequenceLocation ||--|o SimpleInterval : "simpleInterval"
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| chromosomeLocation | 0..1 ChromosomeLocation |
direct | |
| sequenceLocation | 0..1 SequenceLocation |
direct |
Rules
| Rule Applied | Preconditions | Postconditions | Elseconditions |
|---|---|---|---|
| exactly_one_of | [{'slot_conditions': {'chromosomeLocation': {'required': True}}}, {'slot_conditions': {'sequenceLocation': {'required': True}}}] |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/linkml/phenopackets/phenopackets
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | phenopackets:Location |
| native | phenopackets:Location |
LinkML Source
Direct
name: Location
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
attributes:
chromosomeLocation:
name: chromosomeLocation
annotations:
rank:
tag: rank
value: 1
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
domain_of:
- Allele
- Location
range: ChromosomeLocation
sequenceLocation:
name: sequenceLocation
annotations:
rank:
tag: rank
value: 2
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
domain_of:
- Allele
- Location
range: SequenceLocation
rules:
- postconditions:
exactly_one_of:
- slot_conditions:
chromosomeLocation:
name: chromosomeLocation
required: true
- slot_conditions:
sequenceLocation:
name: sequenceLocation
required: true
annotations:
oneof:
tag: oneof
value: location
Induced
name: Location
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
attributes:
chromosomeLocation:
name: chromosomeLocation
annotations:
rank:
tag: rank
value: 1
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
owner: Location
domain_of:
- Allele
- Location
range: ChromosomeLocation
sequenceLocation:
name: sequenceLocation
annotations:
rank:
tag: rank
value: 2
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
owner: Location
domain_of:
- Allele
- Location
range: SequenceLocation
rules:
- postconditions:
exactly_one_of:
- slot_conditions:
chromosomeLocation:
name: chromosomeLocation
required: true
- slot_conditions:
sequenceLocation:
name: sequenceLocation
required: true
annotations:
oneof:
tag: oneof
value: location