Class: Allele
URI: phenopackets:Allele
erDiagram
Allele {
string Id
string curie
}
ChromosomeLocation {
string chr
string speciesId
string Id
}
CytobandInterval {
string end
string start
}
DefiniteRange {
integer max
integer min
}
DerivedSequenceExpression {
boolean reverseComplement
}
IndefiniteRange {
string comparator
integer value
}
LiteralSequenceExpression {
string sequence
}
Number {
integer value
}
RepeatedSequenceExpression {
}
SequenceInterval {
}
SequenceLocation {
string sequenceId
string Id
}
SequenceState {
string sequence
}
SimpleInterval {
integer end
integer start
}
Allele ||--|o ChromosomeLocation : "chromosomeLocation"
Allele ||--|o DerivedSequenceExpression : "derivedSequenceExpression"
Allele ||--|o LiteralSequenceExpression : "literalSequenceExpression"
Allele ||--|o RepeatedSequenceExpression : "repeatedSequenceExpression"
Allele ||--|o SequenceLocation : "sequenceLocation"
Allele ||--|o SequenceState : "sequenceState"
ChromosomeLocation ||--|o CytobandInterval : "interval"
DerivedSequenceExpression ||--|o SequenceLocation : "location"
RepeatedSequenceExpression ||--|o DefiniteRange : "definiteRange"
RepeatedSequenceExpression ||--|o DerivedSequenceExpression : "derivedSequenceExpression"
RepeatedSequenceExpression ||--|o IndefiniteRange : "indefiniteRange"
RepeatedSequenceExpression ||--|o LiteralSequenceExpression : "literalSequenceExpression"
RepeatedSequenceExpression ||--|o Number : "number"
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 |
|---|---|---|---|
| Id | 0..1 String |
direct | |
| chromosomeLocation | 0..1 ChromosomeLocation |
direct | |
| curie | 0..1 String |
direct | |
| derivedSequenceExpression | 0..1 DerivedSequenceExpression |
direct | |
| literalSequenceExpression | 0..1 LiteralSequenceExpression |
direct | |
| repeatedSequenceExpression | 0..1 RepeatedSequenceExpression |
direct | |
| sequenceLocation | 0..1 SequenceLocation |
direct | |
| sequenceState | 0..1 SequenceState |
direct |
Usages
| used by | used in | type | used |
|---|---|---|---|
| CopyNumber | allele | range | Allele |
| HaplotypeMember | allele | range | Allele |
| MolecularVariation | allele | range | Allele |
| Variation | allele | range | Allele |
| VariationSetMember | allele | range | Allele |
Rules
| Rule Applied | Preconditions | Postconditions | Elseconditions |
|---|---|---|---|
| exactly_one_of | [{'slot_conditions': {'curie': {'required': True}}}, {'slot_conditions': {'chromosomeLocation': {'required': True}}}, {'slot_conditions': {'sequenceLocation': {'required': True}}}] |
| Rule Applied | Preconditions | Postconditions | Elseconditions |
|---|---|---|---|
| exactly_one_of | [{'slot_conditions': {'sequenceState': {'required': True}}}, {'slot_conditions': {'literalSequenceExpression': {'required': True}}}, {'slot_conditions': {'derivedSequenceExpression': {'required': True}}}, {'slot_conditions': {'repeatedSequenceExpression': {'required': True}}}] |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/linkml/phenopackets/phenopackets
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | phenopackets:Allele |
| native | phenopackets:Allele |
LinkML Source
Direct
name: Allele
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
attributes:
Id:
name: Id
annotations:
rank:
tag: rank
value: 1
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
domain_of:
- Allele
- ChromosomeLocation
- CopyNumber
- Haplotype
- SequenceLocation
- Text
- VariationSet
range: string
chromosomeLocation:
name: chromosomeLocation
annotations:
rank:
tag: rank
value: 3
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
domain_of:
- Allele
- Location
range: ChromosomeLocation
curie:
name: curie
annotations:
rank:
tag: rank
value: 2
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
domain_of:
- Allele
- CopyNumber
- HaplotypeMember
- VariationSetMember
range: string
derivedSequenceExpression:
name: derivedSequenceExpression
annotations:
rank:
tag: rank
value: 6
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
domain_of:
- Allele
- CopyNumber
- RepeatedSequenceExpression
- SequenceExpression
range: DerivedSequenceExpression
literalSequenceExpression:
name: literalSequenceExpression
annotations:
rank:
tag: rank
value: 5
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
domain_of:
- Allele
- CopyNumber
- RepeatedSequenceExpression
- SequenceExpression
range: LiteralSequenceExpression
repeatedSequenceExpression:
name: repeatedSequenceExpression
annotations:
rank:
tag: rank
value: 7
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
domain_of:
- Allele
- CopyNumber
- SequenceExpression
range: RepeatedSequenceExpression
sequenceLocation:
name: sequenceLocation
annotations:
rank:
tag: rank
value: 4
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
domain_of:
- Allele
- Location
range: SequenceLocation
sequenceState:
name: sequenceState
annotations:
rank:
tag: rank
value: 100
description: ''
deprecated: Marked as deprecated (deprecated=true) in the protobuf definition
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
domain_of:
- Allele
range: SequenceState
inlined: true
rules:
- postconditions:
exactly_one_of:
- slot_conditions:
curie:
name: curie
required: true
- slot_conditions:
chromosomeLocation:
name: chromosomeLocation
required: true
- slot_conditions:
sequenceLocation:
name: sequenceLocation
required: true
annotations:
oneof:
tag: oneof
value: location
- postconditions:
exactly_one_of:
- slot_conditions:
sequenceState:
name: sequenceState
required: true
- slot_conditions:
literalSequenceExpression:
name: literalSequenceExpression
required: true
- slot_conditions:
derivedSequenceExpression:
name: derivedSequenceExpression
required: true
- slot_conditions:
repeatedSequenceExpression:
name: repeatedSequenceExpression
required: true
annotations:
oneof:
tag: oneof
value: state
Induced
name: Allele
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
attributes:
Id:
name: Id
annotations:
rank:
tag: rank
value: 1
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
owner: Allele
domain_of:
- Allele
- ChromosomeLocation
- CopyNumber
- Haplotype
- SequenceLocation
- Text
- VariationSet
range: string
chromosomeLocation:
name: chromosomeLocation
annotations:
rank:
tag: rank
value: 3
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
owner: Allele
domain_of:
- Allele
- Location
range: ChromosomeLocation
curie:
name: curie
annotations:
rank:
tag: rank
value: 2
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
owner: Allele
domain_of:
- Allele
- CopyNumber
- HaplotypeMember
- VariationSetMember
range: string
derivedSequenceExpression:
name: derivedSequenceExpression
annotations:
rank:
tag: rank
value: 6
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
owner: Allele
domain_of:
- Allele
- CopyNumber
- RepeatedSequenceExpression
- SequenceExpression
range: DerivedSequenceExpression
literalSequenceExpression:
name: literalSequenceExpression
annotations:
rank:
tag: rank
value: 5
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
owner: Allele
domain_of:
- Allele
- CopyNumber
- RepeatedSequenceExpression
- SequenceExpression
range: LiteralSequenceExpression
repeatedSequenceExpression:
name: repeatedSequenceExpression
annotations:
rank:
tag: rank
value: 7
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
owner: Allele
domain_of:
- Allele
- CopyNumber
- SequenceExpression
range: RepeatedSequenceExpression
sequenceLocation:
name: sequenceLocation
annotations:
rank:
tag: rank
value: 4
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
owner: Allele
domain_of:
- Allele
- Location
range: SequenceLocation
sequenceState:
name: sequenceState
annotations:
rank:
tag: rank
value: 100
description: ''
deprecated: Marked as deprecated (deprecated=true) in the protobuf definition
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
owner: Allele
domain_of:
- Allele
range: SequenceState
inlined: true
rules:
- postconditions:
exactly_one_of:
- slot_conditions:
curie:
name: curie
required: true
- slot_conditions:
chromosomeLocation:
name: chromosomeLocation
required: true
- slot_conditions:
sequenceLocation:
name: sequenceLocation
required: true
annotations:
oneof:
tag: oneof
value: location
- postconditions:
exactly_one_of:
- slot_conditions:
sequenceState:
name: sequenceState
required: true
- slot_conditions:
literalSequenceExpression:
name: literalSequenceExpression
required: true
- slot_conditions:
derivedSequenceExpression:
name: derivedSequenceExpression
required: true
- slot_conditions:
repeatedSequenceExpression:
name: repeatedSequenceExpression
required: true
annotations:
oneof:
tag: oneof
value: state