MOSES::MOBY::Data::Xref - a Moby cross-reference
use MOSES::MOBY::Data::Xref; # create a simple cross-reference my $simple_xref = new MOSES::MOBY::Data::Xref ( id => 'At263644', namespace => 'TIGR' ); # create an advanced cross-reference my $advanced_xref = new MOSES::MOBY::Data::Xref ( id => 'X112345', namespace => 'EMBL', service => 'getEMBLRecord', authority => 'www.illuminae.com', evidenceCode => 'IEA', xrefType => 'transform' );
An object representing a cross reference. A cross reference is an optional component of any Moby object. It can be of a simple or of an advanced version.
A simple cross reference is a base Moby object (named 'Object') that can have only attributes 'namespace' and 'id' (no value, no article name, no children). In XML, it look like this:
<Object namespace="TAIR" id="TG1989"/>
An advanced cross reference additionally includes a reference to a Biomoby service that a creator of this cross reference (which is a Biomoby service provider) suggests to execute in order to get more about the cross-referenced data. Again, in XML it may look like this:
<moby:Xref moby:namespace="EMBL" moby:id="X112345" authURI="www.illuminae.com" serviceName="getEMBLRecord" evidenceCode="IEA" xrefType="transform"/>
Edward Kawas (edward.kawas [at] gmail [dot] com) Martin Senger (martin.senger [at] gmail [dot] com)
Details are in MOSES::MOBY::Base. Here just a list of them. All of them are of type string.
To install MOSES::MOBY, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MOSES::MOBY
CPAN shell
perl -MCPAN -e shell install MOSES::MOBY
For more information on module installation, please visit the detailed CPAN module installation guide.