(ic)
return max_ic, max_base
Return per base max info
Return per base max info
Return per base max info
def max_motif_ic(ic):
    """"Return per base max info"""
    bases = ['A', 'C', 'G', 'T']
    max_bases = []
    max_ic = []
    for postion in ic:
        max_base, m_ic = position[-1]
        max_ic.append(m_ic)
        max_bases.append(max_base)

    return max_ic, max_base
def max_motif_ic ( ic ) : bases = [ 'A' , 'C' , 'G' , 'T' ] max_bases = [ ] max_ic = [ ] for postion in ic : max_base , m_ic = position [ - 1 ] max_ic . append ( m_ic ) max_bases . append ( max_base ) return max_ic , max_base