Question: How Can I Use Tomtom (From Meme Motif Suite) With My Own Custom Database Of Motifs?
1
gravatar for margiezilla
6.4 years ago by
margiezilla90
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 STRGGTCAN.meme JASPAR_CORE_2009.meme

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: http://meme.nbcr.net/meme/documentation.html
TOMTOM paper: http://genomebiology.com/2007/8/2/r24
Minimal MEME format: http://meme.nbcr.net/meme/examples/sample-dna-motif.meme-io

Many thanks for any advice you can give :)

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

I figured it out! I thought the .meme files were something specialized, but STRGGTCAN.meme is literally just the minimal MEME format (http://web.mit.edu/meme_v4.9.0/doc/examples/tomtom_example_output_files/STRGGTCAN.meme) and the JASPAR_CORE_2009.meme 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 motiflist.meme databaselist.meme

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 6.4 years ago • written 6.4 years ago by margiezilla90
0
gravatar for Neilfws
6.4 years ago by
Neilfws48k
Sydney, Australia
Neilfws48k 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 6.4 years ago by Neilfws48k
Please log in to add an answer.

Help
Access

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