Skip to content

Metaquast 5.2 summary error #237

@JianxinS0806

Description

@JianxinS0806

When I run quast successfully, the following error occurs in the summarizing result stage

Summarizing results...
Drawing # contigs metaQUAST summary plot...
saved to /media/jxs/Data/metagenomic_data/BN221214NY01S03N1/rawdata/1883-1/megahit_out/metaquast_out/summary/PDF/num_contigs.pdf
Drawing Largest contig metaQUAST summary plot...
saved to /media/jxs/Data/metagenomic_data/BN221214NY01S03N1/rawdata/1883-1/megahit_out/metaquast_out/summary/PDF/Largest_contig.pdf
Drawing Total length metaQUAST summary plot...
saved to /media/jxs/Data/metagenomic_data/BN221214NY01S03N1/rawdata/1883-1/megahit_out/metaquast_out/summary/PDF/Total_length.pdf
Drawing Largest alignment metaQUAST summary plot...
saved to /media/jxs/Data/metagenomic_data/BN221214NY01S03N1/rawdata/1883-1/megahit_out/metaquast_out/summary/PDF/Largest_alignment.pdf
Drawing Total aligned length metaQUAST summary plot...
saved to /media/jxs/Data/metagenomic_data/BN221214NY01S03N1/rawdata/1883-1/megahit_out/metaquast_out/summary/PDF/Total_aligned_length.pdf
Drawing Total length (>= 1000 bp) metaQUAST summary plot...

[Errno 22] Invalid parameter: '/media/jxs/Data/metagenomic_data/BN221214NY01S03N1/rawdata/1883-1/megahit_out/metaquast_out/summary/coordTotal_length_(>=1000_bp).json'
Traceback (most recent call last):
File "/home/jxs/anaconda3/envs/quast/bin/metaquast", line 427, in
return_code = main(sys.argv[1:])
File "/home/jxs/anaconda3/envs/quast/bin/metaquast", line 411, in main
output_dirpath_per_ref, metrics_for_plots, misassembly_metrics, full_ref_names)
File "/home/jxs/anaconda3/envs/quast/opt/quast-5.2.0/quast_libs/create_meta_summary.py", line 108, in do
print_all_refs=True, logger=logger)
File "/home/jxs/anaconda3/envs/quast/opt/quast-5.2.0/quast_libs/plotter.py", line 685, in draw_meta_summary_plot
title.replace(' ', '
'), labels, refs_for_html)
File "/home/jxs/anaconda3/envs/quast/opt/quast-5.2.0/quast_libs/html_saver/html_saver.py", line 451, in save_meta_summary
json_fpath = json_saver.save_meta_summary(results_dirpath, coord_x, coord_y, name_coord, labels, refs)
File "/home/jxs/anaconda3/envs/quast/opt/quast-5.2.0/quast_libs/html_saver/json_saver.py", line 169, in save_meta_summary
'refnames': refs_names
File "/home/jxs/anaconda3/envs/quast/opt/quast-5.2.0/quast_libs/html_saver/json_saver.py", line 50, in save
json_file = open(fpath, 'w')
OSError: [Errno 22] Invalid parameter
: '/media/jxs/Data/metagenomic_data/BN221214NY01S03N1/rawdata/1883-1/megahit_out/metaquast_out/summary/coordTotal_length_(>=_1000_bp).json'
metaquast.log
This confuses me a lot. And hope to get your help, thanks.

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