Giter Club home page Giter Club logo

Comments (3)

vtosevski avatar vtosevski commented on August 13, 2024 1

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

from cellbender.

sjfleming avatar sjfleming commented on August 13, 2024

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

https://cellbender.readthedocs.io/en/latest/getting_started/remove_background/index.html#use-output-count-matrix-in-downstream-analyses

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.

from cellbender.

sjfleming avatar sjfleming commented on August 13, 2024

Hi Vinko, thanks so much for posting that here, hopefully it can also help others who run into this issue!

from cellbender.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.