NAME

CCO::Core::Interaction - An interaction from IntAct

SYNOPSIS

my $interaction = CCO::Core::Interaction->new;

DESCRIPTION

An object that stores the needed information for an interaction from Intact

AUTHOR

Mikel Egana Aranguren, mikel.eganaaranguren@cs.man.ac.uk

COPYRIGHT AND LICENSE

Copyright (C) 2007 by Mikel Egana Aranguren

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.

primaryRef

Usage    - print $interaction->primaryRef() or $interaction->primaryRef($primaryRef)
Returns  - the IntAct id of the interaction (e.g. EBI-464846)
Args     - the IntAct id of the interaction (e.g. EBI-464846)
Function - gets/sets the IntAct id of the interaction (e.g. EBI-464846)

interactionType

Usage    - print $interaction->interactionType() or $interaction->interactionType($interactionType)
Returns  - the type of the interaction (e.g. "physical interaction")
Args     - the type of the interaction (e.g. "physical interaction")
Function - gets/sets the type of the interaction (e.g. "physical interaction")

shortLabel

Usage    - print $interaction->shortLabel() or $interaction->shortLabel($shortLabel)
Returns  - the short label of the interaction (e.g. "q9p7r6-rse1")
Args     - the short label of the interaction (e.g. "q9p7r6-rse1")
Function - gets/sets the short label of the interaction (e.g. "q9p7r6-rse1")

fullName

Usage    - print $interaction->fullName() or $interaction->fullName($fullName)
Returns  - the full name of the interaction (e.g. "Proteomic analysis identifies a new complex required for nuclear pre-mRNA retention and splicing")
Args     - the full name of the interaction (e.g. "Proteomic analysis identifies a new complex required for nuclear pre-mRNA retention and splicing")
Function - gets/sets the full name of the interaction (e.g. "Proteomic analysis identifies a new complex required for nuclear pre-mRNA retention and splicing")

interactorRef

Usage    - $interaction->interactorRef() or $interaction->interactorRef(@interactorRef)
Returns  - the array of interactor ids that participate in this interaction
Args     - the array of interactor ids that participate in this interaction
Function - gets/sets the array of interactor ids that participate in this interaction

interactorRefRoles

Usage    - $interaction->interactorRefRoles() or $interaction->interactorRefRoles(%interactorRefRoles)
Returns  - the hash of interactor ids and their roles
Args     - the hash of interactor ids and their roles
Function - gets/sets the hash of interactor ids and their roles