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 0x85 in position 28: invalid start byte #43

Closed
paolamaragno opened this issue Mar 25, 2024 · 1 comment

Comments

@paolamaragno
Copy link

Hello,

I created a conda environment where I successfully installed kneaddata 0.12.0, bowtie2 2.5.3, trf 4.09.1 and python 3.10.14.
However, I ran into this error when executing the command "kneaddata -un seq_fastq.zip --reference-db ./databases -t 15 --output ./output_dir":

Traceback (most recent call last):
File "/miniconda3/envs/meta_env/bin/kneaddata", line 8, in
sys.exit(main())
File "/miniconda3/envs/meta_env/lib/python3.10/site-packages/kneaddata/knead_data.py", line 480, in main
file_format=utilities.get_file_format(args.input[0])
File "/miniconda3/envs/meta_env/lib/python3.10/site-packages/kneaddata/utilities.py", line 552, in get_file_format
first_line = file_handle.readline()
File "/miniconda3/envs/meta_env/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 0x85 in position 28: invalid start byte

I tried different solutions proposed on the web but they didn't work. Do you have any suggestions?

Thank you very much,
Paola Maragno

Copy link

Thank you for creating this issue.
We currently field issues through our bioBakery Discourse Support Forum.
If you would please post the issue to discourse we would be happy to sync up with you to get it resolved.

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