You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to produce Giotto results for the Spatial LIBD data using the SEDR Analyses
The issue seems to be that the par files are not getting created via the do_gpd.R script called within the python stack. I'm not sure why this is happening. Thoughts?
Output
`R version 4.0.4 (2021-02-15) -- "Lost Library Book"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
no external python path was provided, but a giotto python environment was found and will be used
sh: /geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/lib/libtinfo.so.6: no version information available (required by /lib64/libreadline.so.7)
Consider to install these (optional) packages to run all possible Giotto commands for spatial analyses: scran MAST smfishHmrf trendsceek SPARK multinet RTriangle FactoMiner
Giotto does not automatically install all these packages as they are not absolutely required and this reduces the number of dependenciessh: /geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/lib/libtinfo.so.6: no version information available (required by /lib64/libreadline.so.7)
Warning messages:
1: In createGiottoObject(raw_exprs = raw_matrix, spatial_locs = spatial_locations[, :
module: igraph was not found with python path: /geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/bin/python
2: In createGiottoObject(raw_exprs = raw_matrix, spatial_locs = spatial_locations[, :
module: leidenalg was not found with python path: /geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/bin/python
3: In createGiottoObject(raw_exprs = raw_matrix, spatial_locs = spatial_locations[, :
module: community was not found with python path: /geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/bin/python
4: In createGiottoObject(raw_exprs = raw_matrix, spatial_locs = spatial_locations[, :
module: networkx was not found with python path: /geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/bin/python
sh: /geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/lib/libtinfo.so.6: no version information available (required by /lib64/libreadline.so.7)
Reading gene expression...
Reading cell coordinates...
Calculate all pairwise Euclidean distance between cells using their physical coordinates
For rbp_p 0.95:
Start ranking forward...
Done 0 of 4224
Done 1000 of 4224
Done 2000 of 4224
Done 3000 of 4224
Done 4000 of 4224
Start ranking backward...
Done 0 of 4224
Done 1000 of 4224
Done 2000 of 4224
Done 3000 of 4224
Done 4000 of 4224
Calculate mutual rank...
Calculate exponential transform...
For rbp_p 0.99:
Start ranking forward...
Done 0 of 4224
Done 1000 of 4224
Done 2000 of 4224
Done 3000 of 4224
Done 4000 of 4224
Start ranking backward...
Done 0 of 4224
Done 1000 of 4224
Done 2000 of 4224
Done 3000 of 4224
Done 4000 of 4224
Calculate mutual rank...
Calculate exponential transform...
Start calculating silhouette rank, saving logs to log directory (check progress here)...
sh: /usr/bin/parallel: No such file or directory
cat: write error: Broken pipe
Start randomization, saving logs to log directory (check progress here)...
sh: /usr/bin/parallel: No such file or directory
cat: write error: Broken pipe
Start computing P-values...
Entering silhouette.exact.rbp.0.95.top.0.005.txt...
Setting query size 3 instead of 10
Error in py_call_impl(callable, dots$args, dots$keywords) :
FileNotFoundError: [Errno 2] No such file or directory: '../output/DLPFC//151507/Giotto/sil.result/silhouetteRank_output//result_5000_0.95_0.005/par.43'
Detailed traceback:
File "", line 100, in silhouette_rank
File "/geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/lib/python3.6/site-packages/silhouetteRank/use_previous_cluster.py", line 140, in do_one
f = open("%s/par.%d" % (outdir,target))
Calls: silhouetteRankTest -> silhouette_rank -> py_call_impl
Execution halted`
Session Info
R version 4.0.4 (2021-02-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: SUSE Linux Enterprise Server 15 SP2
It also requires the parallel unix command (typically located in /usr/bin/parallel, but it could be different if you are using Macs).
Once you have both, specify the parallel_path parameter in silhouetteRankTest function.
Also make sure that when you install SilhouetteRankTest python package, you are installing it to the python used by Giotto. I see you are not specifying the python path in createGiottoInstruction. So to avoid any confusion or errors in not able to find python package, explicitly define python_path.
I'm attempting to produce Giotto results for the Spatial LIBD data using the SEDR Analyses
The issue seems to be that the par files are not getting created via the do_gpd.R script called within the python stack. I'm not sure why this is happening. Thoughts?
Output
`R version 4.0.4 (2021-02-15) -- "Lost Library Book"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
no external python path was provided, but a giotto python environment was found and will be used
sh: /geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/lib/libtinfo.so.6: no version information available (required by /lib64/libreadline.so.7)
Consider to install these (optional) packages to run all possible Giotto commands for spatial analyses: scran MAST smfishHmrf trendsceek SPARK multinet RTriangle FactoMiner
Giotto does not automatically install all these packages as they are not absolutely required and this reduces the number of dependenciessh: /geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/lib/libtinfo.so.6: no version information available (required by /lib64/libreadline.so.7)
Warning messages:
1: In createGiottoObject(raw_exprs = raw_matrix, spatial_locs = spatial_locations[, :
module: igraph was not found with python path: /geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/bin/python
2: In createGiottoObject(raw_exprs = raw_matrix, spatial_locs = spatial_locations[, :
module: leidenalg was not found with python path: /geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/bin/python
3: In createGiottoObject(raw_exprs = raw_matrix, spatial_locs = spatial_locations[, :
module: community was not found with python path: /geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/bin/python
4: In createGiottoObject(raw_exprs = raw_matrix, spatial_locs = spatial_locations[, :
module: networkx was not found with python path: /geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/bin/python
Number of cells removed: 2 out of 4226
Number of genes removed: 23711 out of 33538
first scale genes and then cells
a custom vector of genes will be used to subset the matrix
sh: /geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/lib/libtinfo.so.6: no version information available (required by /lib64/libreadline.so.7)
Reading gene expression...
Reading cell coordinates...
Calculate all pairwise Euclidean distance between cells using their physical coordinates
For rbp_p 0.95:
Start ranking forward...
Done 0 of 4224
Done 1000 of 4224
Done 2000 of 4224
Done 3000 of 4224
Done 4000 of 4224
Start ranking backward...
Done 0 of 4224
Done 1000 of 4224
Done 2000 of 4224
Done 3000 of 4224
Done 4000 of 4224
Calculate mutual rank...
Calculate exponential transform...
For rbp_p 0.99:
Start ranking forward...
Done 0 of 4224
Done 1000 of 4224
Done 2000 of 4224
Done 3000 of 4224
Done 4000 of 4224
Start ranking backward...
Done 0 of 4224
Done 1000 of 4224
Done 2000 of 4224
Done 3000 of 4224
Done 4000 of 4224
Calculate mutual rank...
Calculate exponential transform...
Start calculating silhouette rank, saving logs to log directory (check progress here)...
sh: /usr/bin/parallel: No such file or directory
cat: write error: Broken pipe
Start randomization, saving logs to log directory (check progress here)...
sh: /usr/bin/parallel: No such file or directory
cat: write error: Broken pipe
Start computing P-values...
Entering silhouette.exact.rbp.0.95.top.0.005.txt...
Setting query size 3 instead of 10
Error in py_call_impl(callable, dots$args, dots$keywords) :
FileNotFoundError: [Errno 2] No such file or directory: '../output/DLPFC//151507/Giotto/sil.result/silhouetteRank_output//result_5000_0.95_0.005/par.43'
Detailed traceback:
File "", line 100, in silhouette_rank
File "/geode2/home/u100/whitealj/BigRed3/.local/share/r-miniconda/envs/giotto_env/lib/python3.6/site-packages/silhouetteRank/use_previous_cluster.py", line 140, in do_one
f = open("%s/par.%d" % (outdir,target))
Calls: silhouetteRankTest -> silhouette_rank -> py_call_impl
Execution halted`
Session Info
R version 4.0.4 (2021-02-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: SUSE Linux Enterprise Server 15 SP2
Matrix products: default
BLAS/LAPACK: /geode2/soft/hps/cle6/intel/19.5/compilers_and_libraries_2019.5.281/linux/mkl/lib/intel64_lin/libmkl_rt.so
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] eva_0.2.6 patchwork_1.1.1 ggplot2_3.3.5 SeuratObject_4.0.4
[5] Seurat_4.1.0 Giotto_1.1.0
The text was updated successfully, but these errors were encountered: