Algorithm 1 Motif XP_EM(init_aligns, seqs, l)