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

issue in Raw count processing 'Seurat_SCT_transform' function #2

Open
mbsai opened this issue Mar 6, 2024 · 1 comment
Open

issue in Raw count processing 'Seurat_SCT_transform' function #2

mbsai opened this issue Mar 6, 2024 · 1 comment

Comments

@mbsai
Copy link

mbsai commented Mar 6, 2024

I tried to replicate the process for Pan et al study. However facing trouble while running the step 2
seurat_obj <- Seurat_SCT_process(seurat_obj, seurat_filter = FALSE,
sample_id = "pan_rpe004",
study_name = "pan_et_al")
I got the following error:
Warning: The following features are not present in the object: CDCA7, DTL, RAD51, RRM2, CDC45, CDC6, EXO1, E2F8, not searching for symbol synonyms
Warning: The following features are not present in the object: UBE2C, BIRC5, MKI67, PIMREG, CCNB2, CKAP2L, AURKB, BUB1, HJURP, CDCA3, CDC20, TTK, CDC25C, DLGAP5, CDCA2, CDCA8, HMMR, NEK2, CENPA, not searching for symbol synonyms
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'rowMeans': subscript out of bounds
In addition: Warning message:
Layer ‘data’ is empty

When I looked deeper into the function,
I was getting this error while running the following line of the function
seurat_obj = CellCycleScoring(pan_p1_seurat_sct, s.features = s.genes,
g2m.features = g2m.genes)

@joseverdezoto
Copy link
Member

Hey,

Sorry for the late reply! I think that might be a bug intrinsic to the transition to Seurat v5. I fixed that bug on the dev branch of our R package https://github.com/MillerLab-CPHG/scRNAutils/tree/dev.
You can install it using:
devtools::install_github("MillerLab-CPHG/scRNAutils", ref = "dev")

You can run the entire processing pipeline or just the SCTtransform function. Hope this helps but let me know if you have any issues.

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