NAME

GO::Model::GeneProduct;

DESCRIPTION

represents a gene product in a particular species (this will effectively always be refered to implicitly by the gene symbol even though a gene may have >1 product)

acc

Usage   -
Returns -
Args    -

symbol

Usage   -
Returns -
Args    -

type

Usage   -
Returns -
Args    -

full_name

Usage   -
Returns -
Args    -

as_str

Usage   -
Returns -
Args    -

add_synonym

synonym_list

accessor: gets/set list of synonyms [array reference]

speciesdb

Usage   -
Returns -
Args    -

add_seq

Usage   -
Returns -
Args    - GO::Model::Seq

seq_list

Usage   -
Returns - GO::Model::Seq listref
Args    -

seq

Usage   -
Returns - GO::Model::Seq
Args    -

returns representative sequence object for this product

properties

Usage   -
Returns - hashref
Args    - hashref

set_property

Usage   - $sf->set_property("wibble", "on");
Returns -
Args    - property key, property scalar

note: the property is assumed to be multivalued, therefore $sf->set_property($k, $scalar) will add to the array, and $sf->set_property($k, $arrayref) will set the array

get_property

Usage   -
Returns - first element of the property
Args    - property key

get_property_list

Usage   -
Returns - the property arrayref
Args    - property key

to_fasta

Usage   -
Returns -
Args    -

returns the longest seq by default