-
Notifications
You must be signed in to change notification settings - Fork 7
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
Issue due to missing spot barcodes in raw matrix #15
Comments
Hi @mattcai10x , Thanks for sharing your findings! Unfortunately I won't be able to investigate the issue until the week of 04/08. Are you saying that, forget about SpotClean, the raw barcode matrix from SpaceRanger output would be pre-filtered to remove empty barcodes? This seems inconsistent with CellRanger where I remembered the raw barcode matrix usually has a fixed dimension (~737,280 barcodes?) Or are there recent updates in CellRanger and SpaceRanger where the empty barcodes are now filtered out? |
I actually did not know this but it looks like the change happened in CellRanger 6.0 and SpaceRanger 1.3. |
Hey! I am facing the same issue. Upon reviewing my slide_info file, I noticed a discrepancy of 120 barcodes, which are different from the 14216 barcodes in my raw data. Is there an existing solution to address this problem, or is it sufficient to simply eliminate those inconsistent barcodes and proceed with the analysis? Thank you! |
Hi @Streisenberg , thanks for reporting your issue. Are you seeing 120 barcodes in |
Hi @zijianni , thank you for your prompt attention to this matter. Yes, that is correct, I have 120 more barcodes in my And yes the data comes from the Visium CytAssist platform. I attached their 11x11mm slides here which contain >14000 barcodes within the capture area. ![]() Thank you! |
Thanks for sharing! Yes, you are good to drop the 120 missing barcodes from Note that the bigger Visium slide (~ 14000 spots) was not available at the time our paper was published, so you might want to validate the generated results before downstream analysis. Another note that the computation time and memory usage will increase with more spots in your data. The optimization process cannot easily be parallelized due to the iterative nature of EM algorithm. |
Thanks a lot (: |
I have the same issue in one of my data. Discard those not in the raw matrix can solve this.
|
Given that more people are facing the same issue, I will implement a fix in |
Addressed in #24 . After the PR merge, this feature is available in the dev package. The Bioconductor version needs to wait for the next release. |
Hi @zijianni ,
It was brought to my attention that running
spotclean
can have issues when the set of barcodes in the raw matrix does not match the set of barcodes in the tissue positions csv. This occurs when one or more spots has 0 reads, since the raw matrix only contains spot barcodes with > 0 reads and the tissue positions csv contains all barcodes. While this isn't very common in Visium data, it is the intended behavior of Space Ranger.Thanks for developing and maintaining this package for Visium users,
Matt
The text was updated successfully, but these errors were encountered: