Question: How Can I Use Tomtom (From Meme Motif Suite) With My Own Custom Database Of Motifs?
gravatar for margiezilla
7.0 years ago by
United States
margiezilla90 wrote:

Hi all,

It seems like it should be possible to use the TOMTOM software (locally installed and running via command line) to quantify motif similarity between motifs discovered via MEME/DREME and a custom set/database of motifs. I am wondering if anyone knows how to do this.

I can see that tomtom runs a command like this: tomtom -oc tomtom_example_output_files -min-overlap 5 -dist pearson -evalue -thresh 10 -no-ssc

in this example the STTRGGCTCAN(?) and JASPAR CORE 2009 databases being specified. Are these .meme databases consisting of motifs in the minimal MEME motif format? I have a custom set of thousands of PFMs in the minimal MEME format, can I run TOMTOM to compare my experimental motifs against these? I was trying to look at the source files of my MEME installation to look at where the .meme database files are being kept but I haven't been able to locate them.

Link to MEME suite:
TOMTOM paper:
Minimal MEME format:

Many thanks for any advice you can give :)

meme • 4.8k views
ADD COMMENTlink modified 6.4 years ago by Biostar ♦♦ 20 • written 7.0 years ago by margiezilla90
gravatar for margiezilla
7.0 years ago by
United States
margiezilla90 wrote:

I figured it out! I thought the .meme files were something specialized, but is literally just the minimal MEME format ( and the is literally just another MEME file as well.

So you can just literally run:

tomtom -oc trial -min-overlap 5 -dist pearson -evalue -thresh 10 -no-ssc

and it generates a tomtom.html, tomtom.xml, and tomtom.txt

I was able to run my experimental motifs against a custom motif curation set.

ADD COMMENTlink modified 7.0 years ago • written 7.0 years ago by margiezilla90
gravatar for Neilfws
7.0 years ago by
Sydney, Australia
Neilfws49k wrote:

It does sound as though installation of a custom database should be possible. There's a section in the manual titled Installing motif databases with some information about file paths.

There are also conversion utilities that convert to meme format, so it may be possible to go via an intermediate format, if you can get your data to look like one of those formats.

For more detailed advice I would contact the MEME developers; they are helpful and responsive in my experience.

ADD COMMENTlink written 7.0 years ago by Neilfws49k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2244 users visited in the last hour