OBO::CCO::GoaAssociation - A GOA association record.


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

Index


NAME

Top

OBO::CCO::GoaAssociation - A GOA association record.

SYNOPSIS

Top

use OBO::CCO::GoaAssociation; use strict;

# three new assoc's my $goa_association1 = OBO::CCO::GoaAssociation->new(); my $goa_association2 = OBO::CCO::GoaAssociation->new(); my $goa_association3 = OBO::CCO::GoaAssociation->new();

$goa_association1->assc_id("CCO:vm"); $goa_association1->description("this is a description");

$goa_association2->assc_id("CCO:ls"); $goa_association3->assc_id("CCO:ea");

my $goa_association4 = $goa_association3;

my $goa_association5 = OBO::CCO::GoaAssociation->new(); $goa_association5->assc_id("CCO:vm"); $goa_association5->description("this is a description");

DESCRIPTION

Top

A goa_association object encapsulates the structure of a GOA association record.

COPYRIGHT AND LICENSE

Top

assc_id

  Usage    - print $goa_association->assc_id() or $goa_association->assc_id($assc_id)
  Returns  - the association ID  (string)
  Args     - the association ID (string)
  Function - gets/sets the association ID

obj_id

  Usage    - print $goa_association->obj_id() or $goa_association->obj_id($obj_id)
  Returns  - the ID of the object being annotated (string)
  Args     - the ID of the object being annotated (string)
  Function - gets/sets the ID of the object being annotated 

obj_symb

  Usage    - print $goa_association->obj_symb() or $goa_association->obj_symb($obj_symb)
  Returns  - the symbol of the object being annotated (string)
  Args     - the symbol of the object being annotated (string)
  Function - gets/sets the symbol of the object being annotated 

qualifier

  Usage    - print $goa_association->qualifier() or $goa_association->qualifier($qualifier)
  Returns  - the qualifier of the annotation (string)
  Args     - the qualifier of the annotation (string)
  Function - gets/sets the qualifier of the annotation 

go_id

  Usage    - print $goa_association->go_id() or $goa_association->go_id($go_id)
  Returns  - the GO term ID associated with the object (string)
  Args     - the GO term ID associated with the object (string)
  Function - gets/sets the GO term ID associated with the object 

evid_code

  Usage    - print $goa_association->evid_code() or $goa_association->evid_code($evid_code)
  Returns  - the code of the supporting evidence (string)
  Args     - the code of the supporting evidence (string)
  Function - gets/sets the code of the supporting evidence

description

  Usage    - print $goa_association->description() or $goa_association->description($description)
  Returns  - the description of the object (string)
  Args     - the description of the object (string)
  Function - gets/sets the description of the object

synonym

  Usage    - print $goa_association->synonym() or $goa_association->synonym($synonym)
  Returns  - the Iternational Protein Index identifier of the object (string)
  Args     - the Iternational Protein Index identifier of the object (string)
  Function - gets/sets the Iternational Protein Index identifier of the object

type

  Usage    - print $goa_association->type() or $goa_association->type($type)
  Returns  - the type of the object (here "protein")
  Args     - the type of the object (here "protein")
  Function - gets/sets the type of the object

taxon

  Usage    - print $goa_association->taxon() or $goa_association->taxon($taxon)
  Returns  - the NCBI identifier of the biological species (string)
  Args     - the NCBI identifier of the biological species (string)
  Function - gets/sets the NCBI identifier of the biological species 

date

  Usage    - print $goa_association->date() or $goa_association->date($date)
  Returns  - the date of last annotation update (string)
  Args     - the date of last annotation update (string)
  Function - gets/sets the date of last annotation update

annot_src

  Usage    - print $goa_association->annot_src() or $goa_association->annot_src($annot_src)
  Returns  - the the source of the annotation (string)
  Args     - the the source of the annotation (string)
  Function - gets/sets the source of the annotation

equals

  Usage    - print $goa_association->equals($another_association)
  Returns  - either 1(true) or 0 (false)
  Args     - the association (OBO::CCO::GoaAssociation) to compare with
  Function - tells whether the two associations are identical


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