GithubHelp home page GithubHelp logo

Error loading 10x data about soupx HOT 6 CLOSED

anaccsilva avatar anaccsilva commented on August 22, 2024 2
Error loading 10x data

from soupx.

Comments (6)

julicudini avatar julicudini commented on August 22, 2024 1

I got this error when I tried to give the path to the raw_feature_bc_matrix directory instead of the top-level directory that contained both the raw_feature_bc_matrix and filtered_feature_bc_matrix. This was simply fixed by removing raw_feature_bc_matrix from the path. And then I had to also remove the backslash from the end of that path or it fails later down the line too.

from soupx.

constantAmateur avatar constantAmateur commented on August 22, 2024 1

Hmm, that does sound like a problem with the files or folder structure of your data. It could also be to do with the meta-data that SoupX tries to automatically load when using 10X data.

Can you try loading the data manually without the helper function with:

tod = Seurat::Read10X('soup_x_msg11/raw_feature_bc_matrix')
toc = Seurat::Read10X('soup_x_msg11/filtered_feature_bc_matrix')
sc = SoupChannel(tod,toc)

and see if you still get an error?

from soupx.

anaccsilva avatar anaccsilva commented on August 22, 2024

Hi @julicudini , thanks for your comment. I didn't put the whole code before, but I gave the path to the top-level directory containing both raw and filtered files as you said.

dataDirs = c("soup_x_msg11/")
sc = load10X(dataDirs)

I am wondering if it is a problem with the file. Each one, raw and filtered folders, should have 3 files in each, correct? Barcodes.tsv.gz, features.tsv.gz and matrix.mtx.gz?

from soupx.

anaccsilva avatar anaccsilva commented on August 22, 2024

Hi, thanks. It worked.
Sorry for this next question, but as I said previously, I am pretty new to this. I don't know exactly where to restart with this object following the Vignette steps. I tried few options but none worked.

from soupx.

constantAmateur avatar constantAmateur commented on August 22, 2024

You'll need to add clustering information with setClusters. You will need to generate clustering using some other package, such as Seurat. Usually this is loaded from cellranger, but I suspect there is something non-standard in your analysis folder that is causing load10X to fail. Look at the help for setClusters for details how to do this.

If you want to do any of the visualisation steps in the vignette you also need to provide some kind of dimension reduction using setDR. This is not essential, but be aware that some of the visualisation examples in the vignette won't work without it.

After that you should be able to proceed from the section starting "Visual sanity checks" in the vignette.

from soupx.

anaccsilva avatar anaccsilva commented on August 22, 2024

Hello, thanks again for your help.
Just an update. As we work with a core, all the information that we needed was with them. So they helped me to get the whole cellranger outs folder and it worked just fine.
Thanks a lot!

from soupx.

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.