
Many examples can be found in the man pages. This page will be updated with additional examples.
These files may be used to try the examples below
example.mat example.libmatcompare -l example.lib -o output.factor \ example.matCompare motifs in example.mat with motifs in the library example.lib. Add an attribute to each input motif with the computed divergence between motifs in example.mat and example.lib
matcompare -h 2 -t 1.5 -n 10 -l example.lib -o \ output.factor example.matCompare motifs in example.mat with motifs in the library example.lib. An overhang of 2 bases is allowed when comparing motifs, the threshold for similarity has been set at 1.5 and only the top 10 matches are printed for each motif in example.mat.
matcompare -l example.lib -M -o output.factor \ example.modCompare the motifs comprising the modules in example.mod with motifs in the library example.lib.
matcompare -a AlignmentFile -t 1.5 -l example.lib \ example.matThe file AlignmentFile displays the alignment between the motifs pairs with divergence scores less than threshold 1.5.
matcompare -L -t 1.5 -l example.lib \ example.matCompare motifs in example.mat to library of motifs example.lib and return results as a list of matching motifs.
matcompare -C -t 0 -o output.factor -l example.lib \ example.matCompare the motifs in example.mat to those in example.lib using the chi squared test.
matcompare -F -t 0 -o output.factor -l example.lib \ example.matCompare the motifs in example.mat to those in example.lib using the Fisher exact contingency table test.