This is a test version of Biostars. For the public version, visit https://www.biostars.org.
codon bias estimation (CAI)

Hi,

I am trying to find CAI values from cds sequences using CAI package in python. I am getting an error. Does anyone have suggestion? Thanks

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/CAI/CAI.py", line 204, in CAI
    sequence_weights.append(weights[codon])
KeyError: 'SOB'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 11, in <module>
  File "/usr/local/lib/python3.7/dist-packages/CAI/CAI.py", line 210, in CAI
    raise KeyError("Bad weights dictionary passed: missing weight for codon.")
KeyError: 'Bad weights dictionary passed: missing weight for codon.'
protein

0 answers

No answers yet.

Log in to answer this question.