Motifs and ILP
Image generated by Gemini AI . This post is about two subjects that I worked on extensively but separately in the past: motif finding and integer linear programming (ILP). Motif finding is the problem of finding approximately repeated patterns in unaligned data. In this particular case, the patterns of interest is in nucleotide data such as DNA or RNA sequences. The repeated patterns may correspond to locations where proteins bind to regulate genes, i.e. transcription factor binding sites or other cis-regulatory sites. Today, in practice, motif finding has is usually performed by position weight matrix (PWM) tools like STREME or Gibbs sampling , biophysical likelihood models fit to high-throughput binding data, and deep learning models . These approaches can find patters in thousands to hundreds of thousands of sequences. I won't attempt anything quite so ambitious here. Linear programming (LP) is an optimization method that maximizes or minimizes a linear objective function su...