Skip to content
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

raw h5ad OR filtered h5ad #378

Open
elegantmedstu opened this issue Aug 19, 2024 · 1 comment
Open

raw h5ad OR filtered h5ad #378

elegantmedstu opened this issue Aug 19, 2024 · 1 comment

Comments

@elegantmedstu
Copy link

Hi, I would like to ask, for the h5ad file input by cellbender, should I use the raw data or the filtered data?
Thank you for your time, thank you!

@maltekuehl
Copy link

Hi, not related to Cellbender, but came across this question and will try to answer. Assuming you are talking about Cellranger (or similar) output, you would want to use the unfiltered data since Cellbender needs surely empty droplets to learn the ambient RNA profile and correct for it. Together with the ambient RNA corrected counts, Cellbender will also output a cell probability that you can use to call cells instead of the EmptyDroplets algorithm implemented in other software such as Cellranger, see the Cellbender documentation for reference. While Cellbender should usually perform well for this task, I however usually also add some further selection steps afterwards such as requiring a minimum count, minimum number of UMIs, maximum number of UMIs, etc. What values you should use for this and whether that is necessary depends on the source of your data (e.g. single nuc) and you are best advised to review the count distribution. For more details, you might want to checkout Single Cell Best Practices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants