Skip to content

Class: MolecularVariation

URI: phenopackets:MolecularVariation

erDiagram Allele { string Id string curie } ChromosomeLocation { string chr string speciesId string Id } DerivedSequenceExpression { boolean reverseComplement } Haplotype { string Id } HaplotypeMember { string curie } LiteralSequenceExpression { string sequence } MolecularVariation { } RepeatedSequenceExpression { } SequenceLocation { string sequenceId string Id } SequenceState { string sequence } 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" Haplotype ||--}o HaplotypeMember : "members" HaplotypeMember ||--|o Allele : "allele" MolecularVariation ||--|o Allele : "allele" MolecularVariation ||--|o Haplotype : "haplotype" RepeatedSequenceExpression ||--|o DefiniteRange : "definiteRange" RepeatedSequenceExpression ||--|o DerivedSequenceExpression : "derivedSequenceExpression" RepeatedSequenceExpression ||--|o IndefiniteRange : "indefiniteRange" RepeatedSequenceExpression ||--|o LiteralSequenceExpression : "literalSequenceExpression" RepeatedSequenceExpression ||--|o Number : "number" SequenceLocation ||--|o SequenceInterval : "sequenceInterval" SequenceLocation ||--|o SimpleInterval : "simpleInterval"

Slots

Name Cardinality and Range Description Inheritance
allele 0..1
Allele
direct
haplotype 0..1
Haplotype
direct

Rules

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

Identifier and Mapping Information

Schema Source

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

Mappings

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

LinkML Source

Direct

name: MolecularVariation
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
  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
rules:
- postconditions:
    exactly_one_of:
    - slot_conditions:
        allele:
          name: allele
          required: true
    - slot_conditions:
        haplotype:
          name: haplotype
          required: true
  annotations:
    oneof:
      tag: oneof
      value: molecular_variation

Induced

name: MolecularVariation
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: MolecularVariation
    domain_of:
    - CopyNumber
    - HaplotypeMember
    - MolecularVariation
    - Variation
    - VariationSetMember
    range: Allele
  haplotype:
    name: haplotype
    annotations:
      rank:
        tag: rank
        value: 2
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    owner: MolecularVariation
    domain_of:
    - CopyNumber
    - MolecularVariation
    - Variation
    - VariationSetMember
    range: Haplotype
rules:
- postconditions:
    exactly_one_of:
    - slot_conditions:
        allele:
          name: allele
          required: true
    - slot_conditions:
        haplotype:
          name: haplotype
          required: true
  annotations:
    oneof:
      tag: oneof
      value: molecular_variation