Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

go::model::xref(3pm) [debian man page]

GO::Model::Xref(3pm)					User Contributed Perl Documentation				      GO::Model::Xref(3pm)

NAME
GO::Model::Xref - cross reference to an external database SYNOPSIS
my $xrefs = $term->dbxref_list(); foreach my $xref (@$xrefs) P printf "Term %s has an xref %s:%s ", $term->name, $xref->xref_key, $xref->dbname; } DESCRIPTION
represents a cross reference to an external database. an Xref is made up of a key (ie the accession number, or whatever the value of the unique field being keyed off of is) and a database name. this should theorerically be enough to uniquely identify any databased entity. NOTES
Like all the GO::Model::* classes, this uses accessor methods to get or set the attributes. by using the accessor method without any arguments gets the value of the attribute. if you pass in an argument, then the attribuet will be set according to that argument. for instance # this sets the value of the attribute $my_object->attribute_name("my value"); # this gets the value of the attribute $my_value = $my_object->attribute_name(); xref_key Alias - acc Alias - accession Usage - Returns - Args - accessor: gets/sets the key/id of the cross reference xref_keytype Usage - Returns - Args - accessor: gets/sets the key/id type of the cross reference as_str Usage - Returns - Args - xref_dbname Alias - dbname Usage - Returns - Args - accessor: gets/sets the database name of the cross reference must be a valid database name xref_desc Alias - name Usage - Returns - Args - accessor: gets/sets the description of the accession no useful for interpro to_xml Usage - print $xref->to_xml() Returns - string Args - indent [integer] XML representation; you probably shouldnt call this directly, this will be called by entities that own xrefs perl v5.14.2 2013-02-07 GO::Model::Xref(3pm)

Check Out this Related Man Page

GO::Model::TreeIterator(3pm)				User Contributed Perl Documentation			      GO::Model::TreeIterator(3pm)

NAME
GO::Model::GraphIterator - wraps GO::Model::GraphIterator SYNOPSIS
DESCRIPTION
This is a hack. It wraps GO::Model::GraphIterator and provides a tree like iteration, rather than a graph-like iteration. This is done by giving TreeIterator a template array. The array looks like this : [ [3674, 'isa', 3673], [9277, 'isa', 5618] ] 3674 is selected iff it is the child of 3673. 9277 is selected iff it is the child of 5618. order Usage - $graphiter->order("breadth"); Returns - string Args - string gets/sets traversal order; breadth or depth; default is depth direction Usage - $graphiter->direction("up"); Returns - string Args - string gets/sets direction; default is "down" reset_cursor Usage - Returns - GO::Model::Term Args - next_node Usage - Returns - GO::Model::Term Args - set_bootstrap_mode Usage - Returns - Args - get_bootstrap_mode Usage - Returns - Args - get_current_path Usage - Returns - array ref Args - none next_node_instance Usage - Returns - GO::Model::GraphNodeInstance Args - perl v5.14.2 2013-02-07 GO::Model::TreeIterator(3pm)
Man Page

We Also Found This Discussion For You

1. UNIX for Dummies Questions & Answers

Really simple cross-platform database?

I'm looking for a really simple to use lightweight database. Ideally something open-source that stores data in a (semi-) human-readable format, in case the software isn't working. Something cross-platform enough that I can use it on my Linux machine, my Mac, or stick it on a USB stick and... (2 Replies)
Discussion started by: emdan
2 Replies