{'fraction_non_alphanumeric': 0.015625, 'fraction_numerical': 0.0, 'mean_word_length': 5.346846846846847, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Evolutionary metropolis sampling in sequence alignment space

Metropolis sampling is the earliest Markov chain Monte Carlo (MCMC) method and MCMC has been widely used in motif-finding via sequence local alignment. A key issue in the design of MCMC algorithms is to improve the proposal mechanism and the mixing behavior. To overcome these difficulties, it is common either to run a population of chains or incorporate the evolutionary computing techniques into the MCMC framework. This paper combines a simple evolutionary (genetic) algorithm (GA) with the metropolis sampler and proposes the new motif algorithm GAMS to carry out motif heuristic search throughout the multiple alignment space. GAMS first initializes a population of multiple local alignments (initial MCMC chains) each of which is encoded on a chromosome that represents a potential solution. GAMS then conducts a genetic algorithm-based search in the sequence alignment space using a motif scoring function as the fitness measure. The genetic algorithm gradually moves this population towards the best alignment from which the motif model is derived. Experimental results show that the new algorithm compares favorably to the simple multiple-run MCMC in some difficult cases, and it also exhibits higher precision than some popular motif-finding algorithms while testing on the annotated prokaryotic and eukaryotic binding sites data sets.