def consensus(seqs):
>>> profiel(seqs)
{'A': [0, 3, 1, 2, 3, 4, 0, 3], 'C': [0, 4, 3, 1, 0, 0, 5, 1], 'T': [3, 0, 1, 2, 4, 3, 1, 1], 'G': [4, 0, 2, 2, 0, 0, 1, 2]}
>>> consensus(profiel(seqs))
'GCCNTACA'
How can I return the key of the dictionary when it have the highest number in the list? So the first one is a G
because
A = 0 , C = 0, T = 3, G = 4
And so on.