codon adaptation index (CAI) estimation
Entering edit mode
2.9 years ago
rthapa ▴ 60

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/", line 186, in CAI
    raise ValueError("Input sequence not divisible by three")
ValueError: Input sequence not divisible by three
codon usage • 644 views

Login before adding your answer.

Traffic: 854 users visited in the last hour
Help About
Access RSS

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

Powered by the version 2.3.6