tomtom [options] <query motifs>
<target motif database>+
<query motifs> I use meme to generate motifs so I use this meme.txt file here, but whatever motif matrix format you can use here following http://meme-suite.org/doc/meme-format.html. There programs can help you in converting your files into MEME format http://meme-suite.org/doc/overview.html#motif_conversion_utilities.
<target motif database>
Assuming you are using a specific organism then just give the path to that organism's name.meme file in your CISBP-RNA folder (part of motif database download).