OBO::APO::GoaAssociation - A GOA association record.
use OBO::APO::GoaAssociation; use strict;
# three new assoc's my $goa_association1 = OBO::APO::GoaAssociation->new(); my $goa_association2 = OBO::APO::GoaAssociation->new(); my $goa_association3 = OBO::APO::GoaAssociation->new();
$goa_association1->assc_id("APO:vm"); $goa_association1->description("this is a description");
$goa_association2->assc_id("APO:ls"); $goa_association3->assc_id("APO:ea");
my $goa_association4 = $goa_association3;
my $goa_association5 = OBO::APO::GoaAssociation->new(); $goa_association5->assc_id("APO:vm"); $goa_association5->description("this is a description");
A goa_association object encapsulates the structure of a GOA association record.
Copyright (C) 2006 by ONTO-perl
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.
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
Usage - print $goa_association->obj_src() or $goa_association->obj_src($obj_src) Returns - the source database of the object being annotated (string) Args - the source database of the object being annotated (string) Function - gets/sets the source database of the object being annotated
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
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
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
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
Usage - print $goa_association->refer() or $goa_association->refer($refer) Returns - the reference cited to support the annotation (string) Args - the reference cited to support the annotationt (string) Function - gets/sets the reference cited to support the annotation
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
Usage - print $goa_association->sup_ref() or $goa_association->sup_ref($sup_ref) Returns - the supplementary reference to support annotation (string) Args - the supplementary reference to support annotation (string) Function - gets/sets the supplementary reference to support annotation
Usage - print $goa_association->aspect() or $goa_association->aspect($aspect) Returns - the aspect (P, F or C) Args - the aspect (P, F or C) Function - gets/sets the aspect
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
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
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
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
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
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
Usage - print $goa_association->equals($another_association) Returns - either 1(true) or 0 (false) Args - the association (OBO::APO::GoaAssociation) to compare with Function - tells whether the two associations are identical
To install OBO::Util::Set, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OBO::Util::Set
CPAN shell
perl -MCPAN -e shell install OBO::Util::Set
For more information on module installation, please visit the detailed CPAN module installation guide.