Skip to content

Class: SequenceLocation

URI: phenopackets:SequenceLocation

erDiagram DefiniteRange { integer max integer min } IndefiniteRange { string comparator integer value } Number { integer value } SequenceInterval { } SequenceLocation { string sequenceId string Id } SimpleInterval { integer end integer start } 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
sequenceId 0..1
String
direct
sequenceInterval 0..1
SequenceInterval
direct
simpleInterval 0..1
SimpleInterval
direct

Usages

used by used in type used
Allele sequenceLocation range SequenceLocation
DerivedSequenceExpression location range SequenceLocation
Location sequenceLocation range SequenceLocation

Rules

Rule Applied Preconditions Postconditions Elseconditions
exactly_one_of [{'slot_conditions': {'sequenceInterval': {'required': True}}}, {'slot_conditions': {'simpleInterval': {'required': True}}}]

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/linkml/phenopackets/phenopackets

Mappings

Mapping Type Mapped Value
self phenopackets:SequenceLocation
native phenopackets:SequenceLocation

LinkML Source

Direct

name: SequenceLocation
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
    domain_of:
    - Allele
    - ChromosomeLocation
    - CopyNumber
    - Haplotype
    - SequenceLocation
    - Text
    - VariationSet
    range: string
  sequenceId:
    name: sequenceId
    annotations:
      rank:
        tag: rank
        value: 2
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    domain_of:
    - SequenceLocation
    range: string
  sequenceInterval:
    name: sequenceInterval
    annotations:
      rank:
        tag: rank
        value: 3
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    domain_of:
    - SequenceLocation
    range: SequenceInterval
  simpleInterval:
    name: simpleInterval
    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:
    - SequenceLocation
    range: SimpleInterval
    inlined: true
rules:
- postconditions:
    exactly_one_of:
    - slot_conditions:
        sequenceInterval:
          name: sequenceInterval
          required: true
    - slot_conditions:
        simpleInterval:
          name: simpleInterval
          required: true
  annotations:
    oneof:
      tag: oneof
      value: interval

Induced

name: SequenceLocation
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
    owner: SequenceLocation
    domain_of:
    - Allele
    - ChromosomeLocation
    - CopyNumber
    - Haplotype
    - SequenceLocation
    - Text
    - VariationSet
    range: string
  sequenceId:
    name: sequenceId
    annotations:
      rank:
        tag: rank
        value: 2
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    owner: SequenceLocation
    domain_of:
    - SequenceLocation
    range: string
  sequenceInterval:
    name: sequenceInterval
    annotations:
      rank:
        tag: rank
        value: 3
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    owner: SequenceLocation
    domain_of:
    - SequenceLocation
    range: SequenceInterval
  simpleInterval:
    name: simpleInterval
    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: SequenceLocation
    domain_of:
    - SequenceLocation
    range: SimpleInterval
    inlined: true
rules:
- postconditions:
    exactly_one_of:
    - slot_conditions:
        sequenceInterval:
          name: sequenceInterval
          required: true
    - slot_conditions:
        simpleInterval:
          name: simpleInterval
          required: true
  annotations:
    oneof:
      tag: oneof
      value: interval