def reshape(dna_sequence, reshape_info):
    """
    Generate chromosome population.
    :param dna_sequence: a string sequence of DNA bases
    :param reshape_info: the length of each chromosome
    :return: an array of chromosomes, chromosome population
    """

    chromosome_length = int(reshape_info[0])
    chromosomes = []

    # retrieve the population
    for i in range(0, len(dna_sequence), chromosome_length):
        chromosomes.append(dna_sequence[i:i + chromosome_length])

    return chromosomes