rrwick / Unicycler

hybrid assembly pipeline for bacterial genomes
GNU General Public License v3.0
535 stars 132 forks source link

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1:invalid start byte #309

Open 540889956 opened 1 year ago

540889956 commented 1 year ago

Hi All, The issue shows below: Using provided long read assembly instead of running Racon: MMH5in0E.fastq.gz

Traceback (most recent call last): File "/home//anaconda3/envs/unicycler/bin/unicycler", line 10, in sys.exit(main()) File "/home//anaconda3/envs/unicycler/lib/python3.10/site-packages/unicycler/unicycler.py", line 118, in main string_graph = make_miniasm_string_graph(graph, read_dict, long_read_filename, File "/home//anaconda3/envs/unicycler/lib/python3.10/site-packages/unicycler/miniasm_assembly.py", line 192, in make_miniasm_string_graph unitig_graph = StringGraph(existing_long_read_assembly) File "/home//anaconda3/envs/unicycler/lib/python3.10/site-packages/unicycler/string_graph.py", line 47, in init self.load_from_gfa(filename) File "/home//anaconda3/envs/unicycler/lib/python3.10/site-packages/unicycler/string_graph.py", line 53, in load_from_gfa for line in gfa_file: File "/home/anaconda3/envs/unicycler/lib/python3.10/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

I just dont know what happened during the assembly and don't know how to fix it? Can anyone help me?

540889956 commented 1 year ago

And did the progress finish? I guess it has finished but failed to output the results?