Entering edit mode
2.6 years ago
Robert
•
0
Please Assist, I have struggled with this error
ERROR IN FULL
I am building a streamlit app and I want to read FASTA Files with the App
I am getting the error when I try to read a fasta file on my streamlit app
File "C:\Users\Sir Roberto\AppData\Local\Programs\Python\Python310\lib\site-packages\streamlit\scriptrunner\script_runner.py", line 475, in _run_script
exec(code, module._dict_)
File "C:\Users\Sir Roberto\PycharmProjects\SARS_CoV_2_Mutation_Forecasting_GUI\SARS_CoV_2_Mutation_Forecasting_GUI.py", line 51, in <module>
main()
File "C:\Users\Sir Roberto\PycharmProjects\SARS_CoV_2_Mutation_Forecasting_GUI\SARS_CoV_2_Mutation_Forecasting_GUI.py", line 24, in main
protein_sample = SeqIO.read(seq_file, 'fasta', 'faa', )
File "C:\Users\Sir Roberto\AppData\Local\Programs\Python\Python310\lib\site-packages\Bio\SeqIO\_init_.py", line 652, in read
iterator = parse(handle, format, alphabet)
File "C:\Users\Sir Roberto\AppData\Local\Programs\Python\Python310\lib\site-packages\Bio\SeqIO\_init_.py", line 601, in parse
raise ValueError("The alphabet argument is no longer supported")
duplicate of ValueError: The alphabet argument is no longer supported.
Thanks, how do I check that? But I didn't call any Alphabet function