Chris Mungall > go-perl-0.14 > GO::Handlers::obj

Download:
go-perl-0.14.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  10
Open  1
View/Report Bugs
Source   Latest Release: go-perl-0.15

NAME ^

  GO::Handlers::obj     - parses GO files into GO object model

SYNOPSIS ^

  use GO::Handlers::obj

DESCRIPTION ^

PUBLIC METHODS ^

graph

  Usage   - my $terms = $obj_handler->graph->get_all_terms;
  Synonym - g
  Synonym - ontology
  Returns - GO::Model::Graph object
  Args    -

as files are parsed, objects are created; depending on what kind of datatype is being parsed, the classes of the created objects will be different - eg GO::Model::Term, GO::Model::Association etc

the way to access all of thses is through the top level graph object

eg

  $parser = GO::Parser->new({handler=>'obj'});
  $parser->parse(@files);
  my $graph = $parser->graph;
syntax highlighting: