def valueDictsFromGroups(groups):
    """
    Transforms each group from 'groups' into a list of dictionaries, one for each Protein column.
    The dictionaries map each AminoAcid found in that column to their count.
    Returns the list of dictionaries and a list of the size (in Sequences) of their groups.
    """
    seqSize = len(groups[0][0])
    groupCount = len(groups)
    groupValues = []
    groupSizes = []
    for group in groups:
        groupAAs = []
        groupSize = len(group)
        for col in range(seqSize):
            groupCol = {}
            for seq in group:
                try:
                    groupCol[seq[col]] += 1
                except:
                    groupCol[seq[col]] = 1
            groupAAs.append(groupCol)
        groupValues.append(groupAAs)
        groupSizes.append(groupSize)
    return groupValues, groupSizes
