This is a test version of Biostars. For the public version, visit https://www.biostars.org.
ValueError: The alphabet argument is no longer supported

Please Assist, I have struggled with this error

Error Screenshot

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")
valueerror

Thanks, how do I check that? But I didn't call any Alphabet function

0 answers

No answers yet.

Log in to answer this question.