codon bias estimation (CAI)
0
0
Entering edit mode
4.5 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.'
protein • 836 views
ADD COMMENT

Login before adding your answer.

Traffic: 1948 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6