Bug report: cell-type-wilms-tumor-06 - prepare-fetal-references.R - zellkonverter::readH5AD #968
Replies: 4 comments 3 replies
-
Hi @maud-p - Happy New Year, and very glad to see you return to the project! 😄 I am sorry to hear that you've run into an issue. Pinging @jashapiro and @allyhawkins, who I know have worked with |
Beta Was this translation helpful? Give feedback.
-
Looking at what you posted, I don't have an obvious solution, but I will look into it and comment if I find anything! |
Beta Was this translation helpful? Give feedback.
-
I don't have a quick fix either: My guess is that it is something to do with |
Beta Was this translation helpful? Give feedback.
-
Hi @maud-p: I did some investigating, and I think that the issue is partly in how we set up To get around this, you should be able to launch the container with one more environment variable. Add the following option to your launch command: Then you should be able to run I don't think this is a permanent solution, but hopefully it will work for what you need now. We may need to modify how we create the Dockerfile to improve this for the future. |
Beta Was this translation helpful? Give feedback.
-
Summary
Dear Childhood Cancer Data Lab,
I am back in the analysis of the Wilms tumor 06 dataset and just wanted to re-run the entire workflow
00_run_workflow.sh
.It seems that I have a bug running
prepare-fetal-references.R
line 138sce_kidney <- zellkonverter::readH5AD(opts$kidney_ref_file, raw = TRUE)
.I get the error
Error in lock(plock, exclusive = FALSE) : Cannot open lock file: Permission denied
Code or step
[OpenScPCA-analysis](https://github.com/AlexsLemonade/OpenScPCA-analysis)
directory.download-data.py --projects SCPCP000006
podman buildx build . -t openscpca/cell-type-wilms-tumor-06
00_run_workflow.sh
PS: I wasn't sure how to run it directly from my Terminal (MobaXterm).
Desired outcome
get the workflow running and the updated annotation table. I then would like to play with some parameters to see how it affects the annotations.
Observed outcome or error message
I get the following message:
`Loading required package: SeuratObject
Loading required package: sp
‘SeuratObject’ was built under R 4.4.0 but the current version is
4.4.1; it is recomended that you reinstall ‘SeuratObject’ as the ABI
for R may have changed
Attaching package: ‘SeuratObject’
The following objects are masked from ‘package:base’:
Registered S3 method overwritten by 'SeuratDisk':
method from
as.sparse.H5Group Seurat
Attaching shinyBS
Registered S3 method overwritten by 'zellkonverter':
method from
py_to_r.pandas.core.arrays.categorical.Categorical reticulate
Loading required package: SummarizedExperiment
Loading required package: MatrixGenerics
Loading required package: matrixStats
Attaching package: 'MatrixGenerics'
The following objects are masked from 'package:matrixStats':
Loading required package: GenomicRanges
Loading required package: stats4
Loading required package: BiocGenerics
Attaching package: 'BiocGenerics'
The following object is masked from 'package:SeuratObject':
The following objects are masked from 'package:stats':
The following objects are masked from 'package:base':
Loading required package: S4Vectors
Attaching package: 'S4Vectors'
The following object is masked from 'package:utils':
The following objects are masked from 'package:base':
Loading required package: IRanges
Attaching package: 'IRanges'
The following object is masked from 'package:sp':
Loading required package: GenomeInfoDb
Loading required package: Biobase
Welcome to Bioconductor
Attaching package: 'Biobase'
The following object is masked from 'package:MatrixGenerics':
The following objects are masked from 'package:matrixStats':
Attaching package: 'SummarizedExperiment'
The following object is masked from 'package:Seurat':
The following object is masked from 'package:SeuratObject':
Error in lock(plock, exclusive = FALSE) :
Cannot open lock file: Permission denied
Calls: ... installConda -> lockExternalDir -> lockDirectory -> lock
Execution halted`
Example
I run the different step separatly and I thing the bug comes from the script
prepare-fetal-references.R
line 138sce_kidney <- zellkonverter::readH5AD(opts$kidney_ref_file, raw = TRUE)
.I tried to use
Seurat
to open the h5ad fileSeuratDisk::LoadH5Seurat(opts$kidney_ref_file)
but it did help and I got the error:Validating h5Seurat file Error: Invalid h5Seurat file: cannot find attribute 'version'
I am not familiar with
zellkonverter
. Do you have any idea?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions