質問編集履歴
1
traceback 以降のスクリプト追加・scanpyについての説明追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,23 +18,75 @@
|
|
18
18
|
|
19
19
|
Python
|
20
20
|
|
21
|
-
import scanpy
|
21
|
+
>>> import scanpy
|
22
|
-
import numpy as np
|
22
|
+
>>> import numpy as np
|
23
|
-
import pandas as pd
|
23
|
+
>>> import pandas as pd
|
24
|
-
import scanpy as sc
|
24
|
+
>>> import scanpy as sc
|
25
|
-
sc.settings.verbosity = 3 # verbosity: errors (0), warnings (1), info (2), hints (3)
|
25
|
+
>>> sc.settings.verbosity = 3 # verbosity: errors (0), warnings (1), info (2), hints (3)
|
26
|
-
sc.logging.print_versions()
|
26
|
+
>>> sc.logging.print_versions()
|
27
|
+
-----
|
28
|
+
anndata 0.8.0
|
29
|
+
scanpy 1.9.1
|
30
|
+
-----
|
31
|
+
PIL 9.4.0
|
32
|
+
beta_ufunc NA
|
33
|
+
binom_ufunc NA
|
34
|
+
colorama 0.4.6
|
35
|
+
cycler 0.10.0
|
36
|
+
cython_runtime NA
|
37
|
+
dateutil 2.8.2
|
38
|
+
h5py 3.7.0
|
39
|
+
joblib 1.2.0
|
40
|
+
kiwisolver 1.4.4
|
41
|
+
llvmlite 0.39.1
|
42
|
+
matplotlib 3.5.3
|
43
|
+
mpl_toolkits NA
|
44
|
+
natsort 8.2.0
|
45
|
+
nbinom_ufunc NA
|
46
|
+
nt NA
|
47
|
+
numba 0.56.4
|
48
|
+
numpy 1.21.6
|
49
|
+
packaging 23.0
|
50
|
+
pandas 1.1.5
|
51
|
+
pyparsing 3.0.9
|
52
|
+
pytz 2022.7.1
|
53
|
+
scipy 1.7.3
|
54
|
+
session_info 1.0.0
|
55
|
+
six 1.16.0
|
56
|
+
sklearn 1.0.2
|
57
|
+
threadpoolctl 3.1.0
|
58
|
+
typing_extensions NA
|
59
|
+
zipp NA
|
60
|
+
-----
|
61
|
+
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
|
62
|
+
Windows-10-10.0.19041-SP0
|
63
|
+
-----
|
64
|
+
Session information updated at 2023-01-30 15:34
|
27
|
-
results_file = (r"
|
65
|
+
>>> results_file = (r"C:\Users\XXXX")
|
28
|
-
adata1 = sc.read_10x_mtx(
|
66
|
+
>>> adata1 = sc.read_10x_mtx(
|
29
|
-
|
67
|
+
... (r"F:\XXXXXX"),
|
30
|
-
|
68
|
+
... var_names='gene_symbols',
|
31
|
-
cache=True)
|
69
|
+
... cache=True)
|
70
|
+
... writing an h5ad cache file to speedup reading next time
|
71
|
+
Traceback (most recent call last):
|
72
|
+
File "<stdin>", line 4, in <module>
|
73
|
+
File "C:\Users\XXXXX\AppData\Roaming\Python\Python37\site-packages\scanpy\readwrite.py", line 496, in read_10x_mtx
|
74
|
+
prefix=prefix,
|
75
|
+
File "C:\Users\XXXXX\AppData\Roaming\Python\Python37\site-packages\scanpy\readwrite.py", line 557, in _read_v3_10x_mtx
|
76
|
+
cache_compression=cache_compression,
|
77
|
+
File "C:\Users\XXXXX\AppData\Roaming\Python\Python37\site-packages\scanpy\readwrite.py", line 122, in read
|
78
|
+
**kwargs,
|
79
|
+
File "C:\Users\XXXXX\AppData\Roaming\Python\Python37\site-packages\scanpy\readwrite.py", line 775, in _read
|
80
|
+
path_cache.parent.mkdir(parents=True)
|
81
|
+
File "C:\Program Files\Python37\lib\pathlib.py", line 1230, in mkdir
|
82
|
+
self._accessor.mkdir(self, mode)
|
83
|
+
PermissionError: [WinError 5] アクセスが拒否されました。: 'cache'
|
32
84
|
|
33
85
|
### 試したこと
|
34
86
|
moduleのアンインストール>再インストール
|
35
87
|
pipアップグレード
|
36
88
|
|
37
89
|
### 補足情報(FW/ツールのバージョンなど)
|
90
|
+
scanpy (single-cell RNAの発現量データを解析するためのツール)
|
91
|
+
https://scanpy.readthedocs.io/en/stable/
|
38
92
|
|
39
|
-
ここにより詳細な情報を記載してください。
|
40
|
-
|