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

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

Open
540889956 opened this issue Jan 17, 2023 · 1 comment

Comments

@540889956
Copy link

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
Copy link
Author

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

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

1 participant