OBO::CCO::CCO_ID_Term_Map - A map between CCO IDs and term names.


ONTO-PERL documentation  | view source Contained in the ONTO-PERL distribution.

Index


NAME

Top

OBO::CCO::CCO_ID_Term_Map - A map between CCO IDs and term names.

SYNOPSIS

Top

use OBO::CCO::CCO_ID_Term_Map;

$cco_id_set = CCO_ID_Term_Map -> new;

$cco_id_set->file("ontology.ids");

$file = $cco_id_set -> file;

$size = $cco_id_set -> size;

$cco_id_set->file("CCO");

if ($cco_id_set->add("CCO:C1234567")) { ... }

$new_id = $cco_id_set->get_new_id("CCO", "C");

DESCRIPTION

Top

The OBO::CCO::CCO_ID_Term_Map class implements a map for storing CCO IDs and their corresponding names.

AUTHOR

Top

Erick Antezana, <erick.antezana -@- gmail.com>

COPYRIGHT AND LICENSE

Top

get_new_id

  Usage    - $map->get_new_id("CCO", "P", "cell cycle") or $map->get_new_id("CCO", "Pa", "cell cycle")
  Returns  - a new CCO ID (string)
  Args     - idspace (string), subnamespace (string), term (string)
  Function - get a new CCO ID and insert it (put) into this map


ONTO-PERL documentation  | view source Contained in the ONTO-PERL distribution.