fmicompbio / monaLisa

binned motif enrichment analysis and visualisation
https://fmicompbio.github.io/monaLisa/
GNU General Public License v3.0
36 stars 6 forks source link

`motifSimilarity` (former `clusterPWMs`) features #23

Open mbstadler opened 5 years ago

mbstadler commented 5 years ago

Currently, clusterPWMs accepts only motifs from a file and requires an output file name (outfile argument).

What about extending clusterPWMs to:

Finally, what about:

mbstadler commented 5 years ago

I have made an R implementation of the motif comparison used in compareMotifs.pl. It calculated the all-pairs similarity matrix for a set of 579 vertebrate factors in JASPAR2018 in less than 4 minutes (pure R implementation, single CPU). Results are identical.

I have added naive parallelization using mclapply as well, which brings this down to ~25s on 30 cores.

Is it worth considering that instead of compareMotifs.pl?

mbstadler commented 3 years ago

The function has been renamed motifSimilarity