def chunk_amino_acid(sequence):
    """
    Uses output of mRNA(sequence) and divides it into substrings of length 3,
    ignoring any "extra DNA" at the far end returning the relevant substrings in a list.

    :param sequence: the DNA sequence
    :return: A list where each element is a set of three DNA values
    """

    list_of_chunks = []

    for i in range(len(sequence)//3):
        list_of_chunks.append(sequence[i*3:i*3+3])

    return list_of_chunks