-
Notifications
You must be signed in to change notification settings - Fork 5
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
Troubles with running doublet annotation part #18
Comments
Hi Atai, Thank you for using the tool and bringing these to our attention. This pipeline was written for Seurat v3.0 and I have to update it to work with the updated functions from Seurat v4.0. The first error is likely due to that. In the new FindMarkersAll function from Seurat, the fold change values resulting DA on the peaks are returned with a column names "avg_log2FC". And this function is using the old column name. For the second error, i'm not sure at the moment. I'll rerun these functions on Signac's test data and find the bugs. And I'll keep you updated. Thank you again for letting us now. Best, |
Hi @AtaiDobrynin , I'm going through the code but I wasn't able to reproduce this error with the data that they have. It is possible that this is happening because you have negative or NA values in the raw counts slot of your Seurat object. I will handle those exceptions going forward, but I want to make sure that's the case for you as well and not something else. If you have time can you check if you have any NA or negative values in your count matrix? |
Hi @alperoglu, I checked my count matrix and didn't find any NA or negative values. Best, |
Hi Atai, I've updated the scripts used by the doublet annotation pipeline to the latest versions of Seurat and Signac, you can retry running it with these updates. Let me know if you still get this error or not, because I've included a part the error was occurring to capture it and identify the reason. Thank you, |
Hi Alper, Thank you for your reply, I will try your new version soon. Sincerely, |
Hi Alper, I tried to run newer version of your functions, but I still get some errors, sorry. Could you please share R vignette with data processing? For example, for open source data like PBMC 10X (https://www.10xgenomics.com/resources/datasets/pbmc-from-a-healthy-donor-no-cell-sorting-10-k-1-standard-2-0-0)? Sincerely, |
Hi Atai, You can follow the Signac vignette here: https://satijalab.org/signac/articles/pbmc_vignette.html. The functions that we're using and data structures are based on this R package. What are the errors that you're currently getting? Best, |
Hi Alper, Thanks for answering, I followed the vignette above. During the doublet annotation step I got this error
|
Hi, I am seeing the same error as Atai, and hope that the information below could help in finding out what’s going on. Before describing that error, I will start with another error that I have met: Error in h(simpleError(msg, call)) : I did a troubleshooting by running utilities.R, chunk by chunk, and found that if I changed the code in line 23, 28, 33, 38 and 40 from “..t_read_counts[j, row.names(probs)[i]]…” to “…t_read_counts[j, 3]…” , I got the code to run through these lines with no errors. Error in if (G[1] == 1) { : missing value where TRUE/FALSE needed Info on my session in RStudio:
Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): Best, Hanne |
Hi Atai and Hanne, I was a little busy last week but know I'll try to sort this out. It seems to be an issue with mclust I'll try regenerating the error somehow. Hanne for your initial problem, can you share the head of the output data frame you got from getMarkerPeaks? You can blackout the peaks if you want, I just want to make sure it's format is correct. Best, |
Hi Alper, Great that you will look into the issues. Unfortunately, I am not able to send the head of the dataframe for a while, I just went on a four weeks holiday. I will get back to you when I get home. I know that I had the same columns as in the vignette, but my peaks had "-" (and not ":") after "chr", matching the rownames of my Seurat object. Best, |
Hi Alper, Any luck in solving the above issues? Best, |
Hi, I tried to run your doublet annotation functions but I encountered several errors.
Firstly, I tried to run your getMarkerPeaks function:
After that I generated marker peaks by myself and used them in your annotateDoublets function:
I used ATAC peaks from 10X genomics and successfully generated file with possible multiplet barcodes, but on annotation step code stops working. Have you encountered this behavior? Thanks in advance!
The text was updated successfully, but these errors were encountered: