Skip to content

Class: Variation

URI: phenopackets:Variation

erDiagram Allele { string Id string curie } CopyNumber { string Id string curie } DefiniteRange { integer max integer min } DerivedSequenceExpression { boolean reverseComplement } Gene { string geneId } Haplotype { string Id } HaplotypeMember { string curie } IndefiniteRange { string comparator integer value } LiteralSequenceExpression { string sequence } Number { integer value } RepeatedSequenceExpression { } Text { string definition string Id } Variation { } VariationSet { string Id } VariationSetMember { string curie } Allele ||--|o ChromosomeLocation : "chromosomeLocation" Allele ||--|o DerivedSequenceExpression : "derivedSequenceExpression" Allele ||--|o LiteralSequenceExpression : "literalSequenceExpression" Allele ||--|o RepeatedSequenceExpression : "repeatedSequenceExpression" Allele ||--|o SequenceLocation : "sequenceLocation" Allele ||--|o SequenceState : "sequenceState" CopyNumber ||--|o Allele : "allele" CopyNumber ||--|o DefiniteRange : "definiteRange" CopyNumber ||--|o DerivedSequenceExpression : "derivedSequenceExpression" CopyNumber ||--|o Gene : "gene" CopyNumber ||--|o Haplotype : "haplotype" CopyNumber ||--|o IndefiniteRange : "indefiniteRange" CopyNumber ||--|o LiteralSequenceExpression : "literalSequenceExpression" CopyNumber ||--|o Number : "number" CopyNumber ||--|o RepeatedSequenceExpression : "repeatedSequenceExpression" DerivedSequenceExpression ||--|o SequenceLocation : "location" Haplotype ||--}o HaplotypeMember : "members" HaplotypeMember ||--|o Allele : "allele" RepeatedSequenceExpression ||--|o DefiniteRange : "definiteRange" RepeatedSequenceExpression ||--|o DerivedSequenceExpression : "derivedSequenceExpression" RepeatedSequenceExpression ||--|o IndefiniteRange : "indefiniteRange" RepeatedSequenceExpression ||--|o LiteralSequenceExpression : "literalSequenceExpression" RepeatedSequenceExpression ||--|o Number : "number" Variation ||--|o Allele : "allele" Variation ||--|o CopyNumber : "copyNumber" Variation ||--|o Haplotype : "haplotype" Variation ||--|o Text : "text" Variation ||--|o VariationSet : "variationSet" VariationSet ||--}o VariationSetMember : "members" VariationSetMember ||--|o Allele : "allele" VariationSetMember ||--|o CopyNumber : "copyNumber" VariationSetMember ||--|o Haplotype : "haplotype" VariationSetMember ||--|o Text : "text" VariationSetMember ||--|o VariationSet : "variationSet"

Slots

Name Cardinality and Range Description Inheritance
allele 0..1
Allele
direct
copyNumber 0..1
CopyNumber
direct
haplotype 0..1
Haplotype
direct
text 0..1
Text
direct
variationSet 0..1
VariationSet
direct

Usages

used by used in type used
VariationDescriptor variation range Variation

Rules

Rule Applied Preconditions Postconditions Elseconditions
exactly_one_of [{'slot_conditions': {'allele': {'required': True}}}, {'slot_conditions': {'haplotype': {'required': True}}}, {'slot_conditions': {'copyNumber': {'required': True}}}, {'slot_conditions': {'text': {'required': True}}}, {'slot_conditions': {'variationSet': {'required': True}}}]

Identifier and Mapping Information

Schema Source

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

Mappings

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

LinkML Source

Direct

name: Variation
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
attributes:
  allele:
    name: allele
    annotations:
      rank:
        tag: rank
        value: 1
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    domain_of:
    - CopyNumber
    - HaplotypeMember
    - MolecularVariation
    - Variation
    - VariationSetMember
    range: Allele
  copyNumber:
    name: copyNumber
    annotations:
      rank:
        tag: rank
        value: 3
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    domain_of:
    - Abundance
    - SystemicVariation
    - Variation
    - VariationSetMember
    range: CopyNumber
  haplotype:
    name: haplotype
    annotations:
      rank:
        tag: rank
        value: 2
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    domain_of:
    - CopyNumber
    - MolecularVariation
    - Variation
    - VariationSetMember
    range: Haplotype
  text:
    name: text
    annotations:
      rank:
        tag: rank
        value: 4
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    domain_of:
    - UtilityVariation
    - Variation
    - VariationSetMember
    range: Text
  variationSet:
    name: variationSet
    annotations:
      rank:
        tag: rank
        value: 5
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    domain_of:
    - UtilityVariation
    - Variation
    - VariationSetMember
    range: VariationSet
rules:
- postconditions:
    exactly_one_of:
    - slot_conditions:
        allele:
          name: allele
          required: true
    - slot_conditions:
        haplotype:
          name: haplotype
          required: true
    - slot_conditions:
        copyNumber:
          name: copyNumber
          required: true
    - slot_conditions:
        text:
          name: text
          required: true
    - slot_conditions:
        variationSet:
          name: variationSet
          required: true
  annotations:
    oneof:
      tag: oneof
      value: variation

Induced

name: Variation
description: ''
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
attributes:
  allele:
    name: allele
    annotations:
      rank:
        tag: rank
        value: 1
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    owner: Variation
    domain_of:
    - CopyNumber
    - HaplotypeMember
    - MolecularVariation
    - Variation
    - VariationSetMember
    range: Allele
  copyNumber:
    name: copyNumber
    annotations:
      rank:
        tag: rank
        value: 3
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    owner: Variation
    domain_of:
    - Abundance
    - SystemicVariation
    - Variation
    - VariationSetMember
    range: CopyNumber
  haplotype:
    name: haplotype
    annotations:
      rank:
        tag: rank
        value: 2
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    owner: Variation
    domain_of:
    - CopyNumber
    - MolecularVariation
    - Variation
    - VariationSetMember
    range: Haplotype
  text:
    name: text
    annotations:
      rank:
        tag: rank
        value: 4
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    owner: Variation
    domain_of:
    - UtilityVariation
    - Variation
    - VariationSetMember
    range: Text
  variationSet:
    name: variationSet
    annotations:
      rank:
        tag: rank
        value: 5
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    owner: Variation
    domain_of:
    - UtilityVariation
    - Variation
    - VariationSetMember
    range: VariationSet
rules:
- postconditions:
    exactly_one_of:
    - slot_conditions:
        allele:
          name: allele
          required: true
    - slot_conditions:
        haplotype:
          name: haplotype
          required: true
    - slot_conditions:
        copyNumber:
          name: copyNumber
          required: true
    - slot_conditions:
        text:
          name: text
          required: true
    - slot_conditions:
        variationSet:
          name: variationSet
          required: true
  annotations:
    oneof:
      tag: oneof
      value: variation