Bio::Das::ProServer::SourceAdaptor::Transport::sif - Bio::Das::ProServer::SourceAdaptor::Transport::sif documentation


Bio-Das-ProServer documentation  | view source Contained in the Bio-Das-ProServer distribution.

Index


NAME

Top

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

VERSION

Top

$LastChangedRevision: 544 $

SYNOPSIS

Top

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

DESCRIPTION

Top

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

FILE FORMAT

Top

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 ...

CONFIGURATION AND ENVIRONMENT

Top

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

SUBROUTINES/METHODS

Top

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();

DIAGNOSTICS

Top

Run ProServer with the -debug flag.

SEE ALSO

Top

http://www.cytoscape.org/cgi-bin/moin.cgi/Cytoscape_User_Manual/Network_Formats Cytoscape - SIF
http://www.cytoscape.org/cgi-bin/moin.cgi/Cytoscape_User_Manual/Attributes Cytoscape - Attributes

DEPENDENCIES

Top

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

BUGS AND LIMITATIONS

Top

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).

INCOMPATIBILITIES

Top

None reported.

AUTHOR

Top

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

LICENSE AND COPYRIGHT

Top


Bio-Das-ProServer documentation  | view source Contained in the Bio-Das-ProServer distribution.