The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

OBO::CCO::XMLIntactParser - An IntAct XML parser

SYNOPSIS

my $XMLIntactParser = XMLIntactParser->new; $XMLIntactParser->work($intact_xml_file); my @xml_interactors = @{$XMLIntactParser->interactors()}; my @xml_interactions = @{$XMLIntactParser->interactions()};

DESCRIPTION

A parser for XML Intact files. It produces two arrays of interactor and interaction objects.

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.

work

  Usage    - $XMLIntactParser->work($intact_xml_file)
  Returns  - Nothing
  Args     - An IntAct XML file
  Function - Reads an IntAct XML file and generates two arrays of interactor and interaction objects, to be obtained with the interactors and interactions methods
  

interactors

  Usage    - $XMLIntactParser->interactors()
  Returns  - Array of interactor objects
  Args     - None
  Function - Get interactor objects
  

interactions

  Usage    - $XMLIntactParser->interactions()
  Returns  - Array of interaction objects
  Args     - None
  Function - Get interaction objects