Bio::Das::ProServer::SourceAdaptor::Transport::sif


NAME

Bio::Das::ProServer::SourceAdaptor::Transport::sif

Back to Top


VERSION

$LastChangedRevision: 688 $

Back to Top


SYNOPSIS

my $hInteractions = $oTransport->query('interactorA'); my $hInteractions = $oTransport->query('interactorA', 'interactorB');

Back to Top


DESCRIPTION

A data transport exposing interactions stored in a SIF file, along with attributes stored in Cytoscape attribute files. Access is via the 'query' method.

Back to Top


FILE FORMAT

Each line of a Simple Interaction Format (SIF) file describes one or more binary interactions, and takes the form: nodeA lineType nodeB [nodeC ...]

This example describes a protein-protein interaction between interactorA and interactorB: interactorA pp interactorB

This example describes three separate interactions, each involving interactorA: interactorA pp interactorB interactorC interactor D

Node attribute files may be used to add DAS 'detail' elements to interactors: description interactorA = An example interactor interactorB = Another example of an interactor ...

Edge attribute files may be used to add DAS 'detail' elements to interactions: score interactorA pp interactorB = 2.43 interactorX pp interactorY = 5.1 ...

Back to Top


CONFIGURATION AND ENVIRONMENT

Configured as part of each source's ProServer 2 INI file:

  [mysif]
  ... source configuration ...
  transport  = sif
  filename   = /data/interactions.sif
  attributes = /data/node-attribute.noa ; /data/edge-attributes.eda

Back to Top


SUBROUTINES/METHODS

query : Retrieves interactions for one or two interactors

  Retrieves interactions involving interactorA:
  $hInteractions = $oTransport->query('interactorA');
  
  Retrieves an interaction involving both interactorA and interactorB:
  $hInteractions = $oTransport->query('interactorA', 'interactorB');
  
  The returned hash is of the structure expected by ProServer.

DESTROY : object destructor - disconnect filehandles

  Generally not directly invoked, but if you really want to:
  $transport->DESTROY();

Back to Top


DIAGNOSTICS

Run ProServer with the -debug flag.

Back to Top


SEE ALSO

Cytoscape - SIF
Cytoscape - Attributes

Back to Top


DEPENDENCIES

Carp
Bio::Das::ProServer::SourceAdaptor::Transport::file

Back to Top


BUGS AND LIMITATIONS

The Simple Interaction Format is very simple, and therefore only supports a limited range of DAS annotation details. It also only handles binary interactions (i.e. those with exactly two interactors).

Back to Top


INCOMPATIBILITIES

None reported.

Back to Top


AUTHOR

Andy Jenkinson <andy.jenkinson@ebi.ac.uk>

Back to Top


LICENSE AND COPYRIGHT

Copyright (c) 2008 EMBL-EBI

Back to Top

 Bio::Das::ProServer::SourceAdaptor::Transport::sif