calculate the aa distribution in an alignment fasta