Skip to content

Error creating Krona plots in metaquast.py #251

@rayomics

Description

@rayomics

Hello!

I have recently run the command metaquast.py -o quast_ANT001 --large -l metaSPAdes,MEGAHIT meta_assembly_001ANT/contigs.fasta mega_assembly_001ANT/final.contigs.fa

At the final step of the software, I got the following error, which was also obtained in #216, #246 and #237 and still not solved:

Drawing interactive Krona plots...

'NoneType' object is not iterable
Traceback (most recent call last):
File "/home/rayana/Desktop/tools/quast/metaquast.py", line 427, in
return_code = main(sys.argv[1:])
File "/home/rayana/Desktop/tools/quast/metaquast.py", line 417, in main
html_saver.create_meta_report(output_dirpath, json_texts)
File "/home/rayana/Desktop/tools/quast/quast_libs/html_saver/html_saver.py", line 257, in create_meta_report
create_krona_charts(taxons_for_krona, meta_log, results_dirpath, json_texts)
File "/home/rayana/Desktop/tools/quast/quast_libs/html_saver/html_saver.py", line 363, in create_krona_charts
for section in report:
TypeError: 'NoneType' object is not iterable

I have also tried to install Krona separately and put ~/Desktop/tools/Krona/KronaTools in the ~/.bashrc file, but nothing has changed.

I really need to solve this to continue my work and would appreciate any help.

Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions