TillMacher / apscale_gui

Advanced Pipeline for Simple yet Comprehensive AnaLysEs of DNA metabarcoding data
https://pypi.org/project/apscale-gui/
MIT License
6 stars 1 forks source link

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

Open MerjanK opened 10 months ago

MerjanK commented 10 months ago

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 commented 10 months ago

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.