XMS::Motif - Perl module for creating DNA motifs in XMS format
use XMS::Motif;
my $motif = XMS::Motif->new($wm,$name,$threshold) # $wm is weightmatrix, $name is name of the motif and $threshold is the threshold value. $motif -> toXML() # Create motifs in XMS format $motif -> toString() # Create motifs in string/xms format
The XMS::Motif package can be used to create the XMS format for a given set of motifs, their asscoiated weightmatrices and threshold values.
new()
toXML()
toString()
weblogo()
$w = XMS::Motif-
new() returns a new String handle.
$x = $w-
toXML() converts the weightmatrix into a XMS format.
$s = $w-
toString() converts the weightmatrix into a string.
$logo = $w-
This module has external dependencies on the following modules: Exporter XML::Writer, IO::File XMS::WeightMatrix
Nothing.
perl(1), XML::Writer, XMS::WeightMatrix, XMS::MotifSet
Harpreet Saini, hsaini@ebi.ac.uk
Copyright (C) 2009 by harpreet saini
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.9 or, at your option, any later version of Perl 5 you may have available.
To install XMS::Motif, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XMS::Motif
CPAN shell
perl -MCPAN -e shell install XMS::Motif
For more information on module installation, please visit the detailed CPAN module installation guide.