-
Notifications
You must be signed in to change notification settings - Fork 37
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 when writing fromfq output loom file #141
Comments
Hi - can you paste the full stack trace? It would help me understand where the error comes from. It seems that an invalid ascii character has crept in somewhere. |
Hi, thanks a lot! See below (this run is one I tried overnight on my own machine and I am getting the same error): Loompy v3.0.6 by Linnarsson Lab 🌸 (http://linnarssonlab.org & http://loompy.org) 2020-11-20 02:37:22,853 - INFO - Using 4 threads. |
Hm. Perhaps you have a non-standard unicode character in the metadata? Although I think it should still work (unless it's really invalid Unicode), at least with the latest loompy. Could you try with the latest version (not released) by cloning it to your computer?
(don't miss the dot on the pip install) |
I also have this error for 10X data, very similar stack trace. Updating to the latest version of loompy did not help. Might be relevant that my fastq is coming from |
Same here, my metadata looks fine and the latest loompy did not fix it. I am getting this error both on my personal machine (macOS) and on my university servers (classic academic HPC structure). |
Hi, I also seem to be having this error on 10X data. I am on macOS. The log is as follows:
I'm not sure if the low number of UMIs is an issue, but I suspected that even if there was little output or none at all it would still write without a codec error. As above, I've tried it with the latest version from this repo. I've also tried Thanks |
Hi @slinnarsson, Happy new year! Would you have another suggestion to try to solve this issue? Thanks |
Hi - sorry it's difficult to troubleshoot without a reproducible example. Would you be able to share a minimal input that reliable produces the error? |
Hi @slinnarsson,
|
I'm also having the identical issue, with identical stack trace, while using the 10x 1kPBMC dataset. Has anyone found a solution/workaround for this? Thanks! |
Hello, I am also having this issue using the 10X 1kPBMC dataset. Has anyone managed to find a solution? Thanks! |
Hi, |
Hi,
I am trying to generate a .loom file out of 10X fastqs using the fromfq command. Everthing seems to run smoothly up to saving the loom file (everything prompted as expected, "INFO - Saving" included) but the file is never written because the following error is thrown:
File "[path_to_loompy]/loompy/normalize.py", line 98, in materialize_attr_values
result = np.array([html.unescape(x) for x in temp.astype(str)], dtype=object)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 45: ordinal not in range(128)
Could you please help me solve this?
Thank you in advance!
The text was updated successfully, but these errors were encountered: