getCAIweights function

Calculate the CAI codon weigths for a reference genome