Entering edit mode
5.1 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