Entering edit mode
5.3 years ago
rthapa
▴
90
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.'