Error loading loomxpy formatted files from Fly Cell Atlas
See original GitHub issueI am trying to load .loom files from https://flycellatlas.org and am getting an odd error. For example:
fly_ann = sc.read_loom('s_fca_biohub_antenna_10x.loom')
gives me
s_fca_biohub_antenna_10x.loom does not appead to be a valid Loom file according to Loom spec version '3.0.0'
error, even though it can be opened in R just fine. Link to the file: https://cloud.flycellatlas.org/index.php/s/PcHBoL23CmxGNsb.
I have a fresh conda environment, scanpy 1.8.1, loompy 3.0.6.
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Error loading loomxpy formatted files from Fly Cell Atlas #627
I am trying to load .loom files from https://flycellatlas.org and am getting an odd error.
Read more >SCope - FLY CELL ATLAS
Datasets can be uploaded in user sessions using the left sidebar. Files should be in the loom file format and will appear under...
Read more >Tutorial 4 : How to work with Loom files created by ASAP
Tutorial 4 : How to work with Loom files created by ASAP. In this tutorial we will show you how to use the...
Read more >SCENIC+: single-cell multiomic inference of enhancers and ...
We validated and benchmarked each of the SCENIC+ components on diverse data sets from different species, including human peripheral blood ...
Read more >Other Tools - Brain Cell Data Center (BCDC)
Loom is an efficient file format for very large omics datasets, ... The Blue Brain Cell Atlas is a comprehensive online resource that...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That looks to be an error in
loompy
fromloompy.LoomValidator()
. The file has a bunch of row and column attributes that are not part of the loom spec and conventions, which you can find in their documentation here and which you can see in the traceback tods = loompy.connect('s_fca_biohub_antenna_10x.loom')
. You can load the file without validation manually, which worked on my end:Or maybe you can pass the
validation=False
kwarg tosc.read_loom
:Thanks a lot!
So setting
validation=False
kwarg tosc.read_loom
does not work: it’s not a supported argument. Settingvalidate=False
resulted in the following error:But your code snippet worked beautifully!
Do you think it’s something that should be dealt with in scanpy, or should I close this issue and report the problem to the loompy team instead? Or possibly to the Fly Atlas team who created incorrect loom files (I wonder how)?