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

Error in in CreateSeuratObject when running cbSeurat on an expression matrix #238

Closed
bugacov opened this issue Mar 29, 2022 · 5 comments
Closed

Comments

@bugacov
Copy link

bugacov commented Mar 29, 2022

Hi,
I'm trying to run cbSeurat on an expression matrix and keep getting this error on in CreateSeuratObject(..).
I downloaded your example from adultPancreas matrix and tried running it and get the same error than when running my matrix.

adultPancreas% ls -l
total 22396
-rw-r--r--. 1 root root 22707068 Feb 27 2019 exprMatrix.tsv.gz
-rw-r--r--. 1 root root 522326 Apr 2 2020 meta.tsv
adultPancreas% cbSeurat --exprMatrix=exprMatrix.tsv.gz --name=myDataset --outDir=seurat-out
WARNING:root:seurat.conf not found, using default values for all Seurat options. Use --init to create a sample file.
INFO:root:Creating seurat-out
INFO:root:Wrote R script to seurat-out/runSeurat.R
INFO:root:running seurat-out/runSeurat.R through Rscript
Loading required package: R.methodsS3
R.methodsS3 v1.8.1 (2020-08-26 16:20:06 UTC) successfully loaded. See ?R.methodsS3 for help.
R.oo v1.24.0 (2020-08-26 16:11:58 UTC) successfully loaded. See ?R.oo for help.
R.utils v2.11.0 (2021-09-26 08:30:02 UTC) successfully loaded. See ?R.utils for help.
R version 4.0.5 (2021-03-31)
Seurat loaded, version 4.1.0
[1] "Seurat: Reading data"
[1] "Seurat: Reading data"
[1] "Loading input data matrix"
NULL
[1] "Loading tsv file with read.delim"
[1] "Seurat: Setup"
Error in CreateSeuratObject(raw.data = mat, min.cells = 3, min.genes = 200) :
argument "counts" is missing, with no default
Execution halted

real 0m51.316s
user 0m44.770s
sys 0m3.390s
INFO:root:Wrote logfile of R run to seurat-out/analysisLog.txt
ERROR:root:R script did not complete successfully. Check seurat-out/runSeurat.R and analysisLog.txt.

@maximilianh
Copy link
Owner

maximilianh commented Mar 30, 2022 via email

@bugacov
Copy link
Author

bugacov commented Mar 31, 2022 via email

@maximilianh
Copy link
Owner

Sorry for the delay. This should be now fixed in the develop branch. Can you clone that and try it there? Otherwise I can make pip prerelease for you that you can install with pip --pre.

@bugacov
Copy link
Author

bugacov commented Apr 6, 2022

I tested it from the clone I made and seems to be working fine!! I'd really appreciate if you can do a pip prerelease!!!
Thanks!

@maximilianh
Copy link
Owner

maximilianh commented Apr 6, 2022 via email

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