(ic)
return motif_scores_agg
Return per base motif information content
Return per base motif information content
Return per base motif information content
def aggregate_motif_ic(ic):
    """Return per base motif information content"""
    motif_scores_agg = []
    for position in ic:
        motif_scores_agg.append(sum([x[1] for x in position]))
    return motif_scores_agg
def aggregate_motif_ic ( ic ) : motif_scores_agg = [ ] for position in ic : motif_scores_agg . append ( sum ( [ x [ 1 ] for x in position ] ) ) return motif_scores_agg