Closed vtosevski closed 4 years ago
Hi @vtosevski , thanks for trying it out. Glad the tool ran okay for you. For loading and working with the data, there are a couple of options. Two of the methods (scanpy
and pytables
) are mentioned here
I'd recommend loading the data in scanpy
for any downstream work.
import scanpy as sc
# load the data
adata = sc.read_10x_h5('cellbender_out_filtered.h5')
But if you just want to take a look at the h5 file itself, I'd recommend pytables
, using something like
import tables
with tables.open_file('cellbender_out_filtered.h5') as f:
print(f) # display the structure of the h5 file
However, I do not know why the method you tried didn't work. I am not familiar with h5ls
, so I'm not sure I can be super helpful with debugging the command you tried.
Thanks for the quick reply Stephen. h5ls
is just a generic HDF5 list function from R rhdf5 package. I don't quite understand why I was able to read other h5 files but not cellbender. Anyhow, I went back to the basics after your reply and it turns out I was missing system library libhdf5-dev
. After installing it, I am now able to read in cellbender output into Seurat.
Thanks for doing a great work supporting the package!
Vinko
Hi Vinko, thanks so much for posting that here, hopefully it can also help others who run into this issue!
Hi there, I am very excited to try cellbender but somehow I haven't gotten very far. I ran it on a little study with 18 samples (10x 3' v3 chemistry) and cellbender run goes smooth and log and pdf look good. I am unable, however, to read in the h5 output file and am getting the following error:
What is the problem there? I am able to read other files fine (for instance, the default
raw_feature_bc_matrix.h5
that was an input to cellbender.I am on Ubuntu 18.04
Linux DESKTOP-01 5.4.0-47-generic #51~18.04.1-Ubuntu
and this is the listing of my CellBender environment: