NAME
XMS::MotifSet - Perl module for creating XMS Motifset from a given array of motifs
SYNOPSIS
use XMS::MotifSet;
my $motifset = XMS::MotifSet->new(@motif); # @motif is an array of motifs
$motifset->toXML(); # Creating motifset in xms format
$motifset->toString(); # Creatin motifset in string format
DESCRIPTION
The XMS::MotifSet package is used to create motifset in XMS and string format from a given array of motifs.
METHODS XMS::MotifSet provides three methods, new()
, toXML()
and toString()
:
$m = XMS::MotifSet-
new([array]);>-
new() returns a new String handle.
$x = $m-
toXML();>-
toXML() converts an array of motifs into a XMS format motifset.
= item
$s = $m-
toString();>toString() converts an array of motifs into a string motifset.
DEPENDENCIES
This module has external dependencies on the following modules: Exporter XML::Writer, IO::File XML::DOM XMS::Motif XMS::WeightMatrix
EXPORT
Nothing
SEE ALSO perl(1), XML::Writer, XML::DOM, XMS::WeightMatrix, XMS::Motif
AUTHOR
Harpreet Saini, hsaini@ebi.ac.uk
COPYRIGHT AND LICENSE
Copyright (C) 2009 by hsaini
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.8 or, at your option, any later version of Perl 5 you may have available.