Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Dataset Objects

Natalie Catlett edited this page Sep 18, 2015 · 15 revisions

This page contains information about the dataset objects defined in datasets.py

classes:

  • DataSet
    • contains any data relevant to the BEL Namespace and Annotation resource generator pipeline
    • methods
      • get_values - returns all non-obsolete values used as keys in the data dictionary
      • _str_ - returns identifying string for data object
  • OrthologyDataSet
    • contains orthology relationship data
    • parent class - DataSet
    • methods
      • get_orthologs(term_id) - returns set of orthologs associated with term_id
  • NamespaceDataSet
    • contains data for BEL Namespaces and Annotations including ids, terms, synonyms, and equivalences
    • parent class - DataSet
    • methods
      • get_label(term_id) - returns the value to be used as the preferred label for an associated term_id
      • get_name(term_id) - returns the term name to use as a title (or None)
      • get_xrefs(term_id) - returns set of equivalences for the term_id to other namespaces
      • get_species(term_id) - returns species associated with a term_id as NCBI tax ID, or None as applicable
      • get_encoding(term_id) - returns the encoding (allowed bel functions) for the term_id
      • get_concept_type(term_id) - if from an annotation concept schemes, returns set of AnnotationConcept types associated with then term_id
      • get_alt_symbols(term_id) - returns set of synonym symbols associated with the term_id
      • get_alt_names(term_id) - returns set of name synonyms associated with the term_id
      • *get_alt_ids(term_id)
Clone this wiki locally