Skip to content

ipr.types

IprVariant

IprVariant = Union[IprGeneVariant, IprStructuralVariant]

class KbMatch

inherits TypedDict

Attributes

  • variant (str)
  • variantType (str)
  • approvedTherapy (bool)
  • category (str)
  • context (str)
  • kbContextId (str)
  • disease (str)
  • evidenceLevel (str)
  • kbStatementId (str)
  • kbVariant (str)
  • kbVariantId (str)
  • matchedCancer (bool)
  • reference (str)
  • relevance (str)
  • kbRelevanceId (str)
  • externalSource (str)
  • externalStatementId (str)
  • reviewStatus (str)

class IprGeneVariant

inherits TypedDict

Attributes

  • gene (str)
  • key (str)
  • variantType (str)
  • variant (str)

class IprGene

inherits TypedDict

Attributes

  • name (str)
  • cancerRelated (Optional[bool])
  • knownFusionPartner (Optional[bool])
  • knownSmallMutation (Optional[bool])
  • tumourSuppressor (Optional[bool])
  • oncogene (Optional[bool])
  • therapeuticAssociated (Optional[bool])

class IprStructuralVariant

inherits TypedDict

Attributes

  • key (str)
  • variantType (str)
  • variant (str)
  • gene1 (str)
  • gene2 (str)
  • exon1 (int)
  • exon2 (int)

class ImageDefinition

inherits TypedDict

Attributes

  • key (str)
  • path (str)
Back to top