BioinformaticsBioinformaticsPeer-reviewed journal article
dipwmsearch: a python package for searching di-PWM motifs
Marie Mille, Julie RipolliD, Bastien CazauxiD, Éric RivalsiD
Abstract
MotivationSeeking probabilistic motifs in a sequence is a common task to annotate putative transcription factor binding sites (TFBS). Useful motif representations include Position Weight Matrices (PWMs), dinucleotidic PWMs (di-PWMs), and Hidden Markov Models (HMMs). Dinucleotidic PWMs combine the simplicity of PWMs - a matrix form and a cumulative scoring function -, but also incoporate dependency between adjacent positions in the motif (unlike PWMs which disregard any dependency). For instance, to represent binding sites, the HOCOMOCO database provides di-PWM motifs derived from experimental data. Currently, two programs, SPRy-SARUS and MOODS, can search for di-PWMs in sequences. ResultsWe propose a Python package, dipwmsearch, which provides an original and efficient algorithm for this task (it first enumerates matching words for the di-PWM, and then search them at once in the sequence even if it contains IUPAC codes). The user benefits from an easy installation via Pypi or conda, a documented Python interface, and reusable example scripts that smooth the use of di-PWMs. Availability and Implementationdipwmsearch is available at https://pypi.org/project/dipwmsearch/ and https://gite.lirmm.fr/rivals/dipwmsearch/ under Cecill license.
- Citations
- 3
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Bayesian Markov models consistently outperform PWMs at predicting motifs in nucleotide sequences
Matthias Siebert, Johannes Soeding·bioRxiv·Apr 8, 2016
- Motto: Representing motifs in consensus sequences with minimum information loss
Mengchi Wang, David Wang, … Wei Wang·GeneticsPeer-reviewed·Aug 19, 2020
- Cross-platform DNA motif discovery and benchmarking to explore binding specificities of poorly studied human transcription factors
Ilya E. Vorontsov, Ivan Kozin, … Ivan V. Kulakovskiy·Communications BiologyPeer-reviewed·Nov 7, 2025
- DNA shape complements sequence-based representations of transcription factor binding sites
Peter DeFord, James Taylor·bioRxiv·Jun 17, 2019
- MIMoSA: A Tool for Model-Independent Comparison of Transcription Factor Binding Motifs
A. V. Tsukanov, V. G. Levitsky·bioRxiv·Sep 20, 2026
- iFORM: incorporating Find Occurrence of Regulatory Motifs
Chao Ren, Hebing Chen, … Wenjie Shu·PLOS ONEPeer-reviewed·Dec 19, 2016