Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NCBI Blast TypeError: argument of type 'float' is not iterable #9

Open
MerjanK opened this issue Nov 17, 2023 · 1 comment
Open

NCBI Blast TypeError: argument of type 'float' is not iterable #9

MerjanK opened this issue Nov 17, 2023 · 1 comment

Comments

@MerjanK
Copy link

MerjanK commented Nov 17, 2023

Hi, while i was trying to run ncbi blast in apscale, in some of the fasta subsets i keep encountering this error. I've tried to exclude uncultured sample sequences during blast search and downloaded xml2 files but i still had the same error. Has anyone had a similar issue? Could it be related with a specific OTU causing this error because it gets a hit in blastn that does not fit into the format of the program?
Thanks in advance!
Traceback (most recent call last):
File "c:\users\marja\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
return run_code(code, main_globals, None,
File "c:\users\marja\appdata\local\programs\python\python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\marja\AppData\Local\Programs\Python\Python39\Scripts\apscale_gui.exe_main
.py", line 7, in
File "c:\users\marja\appdata\local\programs\python\python39\lib\site-packages\apscale_gui_main
.py", line 611, in main
blast_xml_to_taxonomy(fasta_file, xml_files, read_table, limit)
File "c:\users\marja\appdata\local\programs\python\python39\lib\site-packages\apscale_gui\blast_utilities.py", line 237, in blast_xml_to_taxonomy
if 'uncultured' in hit[6]:
TypeError: argument of type 'float' is not iterable

@TillMacher
Copy link
Owner

Hi, I have not yet seen the particular error. I will have a look at it and try to provide a fix until end of the week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants