codon adaptation index (CAI) estimation
0
0
Entering edit mode
4.5 years ago
rthapa ▴ 90

I am trying to get codon adaptation index score for all the fasta sequences. I have splitted the multifasta file to individual files with each fasta sequence. I tried to get CAI score using CAI python package and looping for each file. Although I could get scores result for some of my fasa files, after sometime it gave an error. It seems like one of my fasta file doesnot have fasta sequence divisible by 3. Is there any suggestion how could I deal with this? Thanks

Traceback (most recent call last):
  File "<stdin>", line 11, in <module>
  File "/usr/local/lib/python3.7/dist-packages/CAI/CAI.py", line 186, in CAI
    raise ValueError("Input sequence not divisible by three")
ValueError: Input sequence not divisible by three
codon usage • 831 views
ADD COMMENT

Login before adding your answer.

Traffic: 1867 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