alignment = AlignIO.read('ma-all-mito.fa', 'fasta')
align_array = np.array(alignment, np.character)
print('Array shape %i by %i' % align_array.shape)
Transform dna alignment into numpy array using biopython