ice
ice copied to clipboard
AttributeError: 'MultipleSeqAlignment' object has no attribute 'format'
Hi Thanks for sharing this tool. After installation when running the example I get the following error:
$ synthego_ice --control ./ice/tests/test_data/good_example_control.ab1 --edited ./ice/tests/test_data/good_example_edited.ab1 --target AACCAGTTGCAGGCGCCCCA --out results/testing --verbose
Synthego ICE (https://synthego.com)
Version: 1.1.1-alpha1
Base dir: /rhampseq/kkiaee/ice/ice/results
Exception Caught!
Traceback (most recent call last):
File "/home/ccadmin/anaconda3/envs/ice_env/lib/python3.8/site-packages/ice/analysis.py", line 82, in single_sanger_analysis
sa.analyze_sample()
File "/home/ccadmin/anaconda3/envs/ice_env/lib/python3.8/site-packages/ice/classes/sanger_analysis.py", line 799, in analyze_sample
alignment.align_all()
File "/home/ccadmin/anaconda3/envs/ice_env/lib/python3.8/site-packages/ice/classes/pair_alignment.py", line 94, in align_all
self.all_aligned_clustal = self.align_list_to_clustal(aln, "control", "edited")
File "/home/ccadmin/anaconda3/envs/ice_env/lib/python3.8/site-packages/ice/classes/pair_alignment.py", line 80, in align_list_to_clustal
alignment_txt = aln_objs[0].format("clustal").split('\n', 2)[2]
AttributeError: 'MultipleSeqAlignment' object has no attribute 'format'
I'd appreciate your help in troubleshooting this.
change format
to __format__
Hi, I've encoutered the same error message. I tried change 'format' to 'format' for analysis.py, sanger_analysis.py and pair_alignment.py, but it did not work. How did you solve it?
I have a same problem. please help.
change
format
to__format__
I do not understand what do you mean by change format
to __format__
. In which file I need to change it?