M3Drop 0.5.2__tar.gz → 0.5.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {m3drop-0.5.2 → m3drop-0.5.4}/M3Drop/CoexpressionGPU.py +3 -1
- {m3drop-0.5.2 → m3drop-0.5.4}/M3Drop/FeatureSelectionGPU.py +3 -1
- {m3drop-0.5.2 → m3drop-0.5.4}/M3Drop/NormalizationGPU.py +3 -1
- {m3drop-0.5.2 → m3drop-0.5.4}/M3Drop/__init__.py +1 -1
- {m3drop-0.5.2 → m3drop-0.5.4/M3Drop.egg-info}/PKG-INFO +3 -4
- {m3drop-0.5.2 → m3drop-0.5.4}/M3Drop.egg-info/requires.txt +0 -3
- {m3drop-0.5.2/M3Drop.egg-info → m3drop-0.5.4}/PKG-INFO +3 -4
- {m3drop-0.5.2 → m3drop-0.5.4}/pyproject.toml +7 -4
- {m3drop-0.5.2 → m3drop-0.5.4}/LICENSE +0 -0
- {m3drop-0.5.2 → m3drop-0.5.4}/M3Drop/CoexpressionCPU.py +0 -0
- {m3drop-0.5.2 → m3drop-0.5.4}/M3Drop/ComputeBlockCPU.py +0 -0
- {m3drop-0.5.2 → m3drop-0.5.4}/M3Drop/ComputeBlockGPU.py +0 -0
- {m3drop-0.5.2 → m3drop-0.5.4}/M3Drop/ControlDeviceCPU.py +0 -0
- {m3drop-0.5.2 → m3drop-0.5.4}/M3Drop/ControlDeviceGPU.py +0 -0
- {m3drop-0.5.2 → m3drop-0.5.4}/M3Drop/FeatureSelectionCPU.py +0 -0
- {m3drop-0.5.2 → m3drop-0.5.4}/M3Drop/NormalizationCPU.py +0 -0
- {m3drop-0.5.2 → m3drop-0.5.4}/M3Drop.egg-info/SOURCES.txt +0 -0
- {m3drop-0.5.2 → m3drop-0.5.4}/M3Drop.egg-info/dependency_links.txt +0 -0
- {m3drop-0.5.2 → m3drop-0.5.4}/M3Drop.egg-info/top_level.txt +0 -0
- {m3drop-0.5.2 → m3drop-0.5.4}/README.md +0 -0
- {m3drop-0.5.2 → m3drop-0.5.4}/setup.cfg +0 -0
|
@@ -162,7 +162,9 @@ def NBumiCoexpressionGPU(
|
|
|
162
162
|
|
|
163
163
|
if nnz > 0:
|
|
164
164
|
|
|
165
|
-
data_gpu = cp.
|
|
165
|
+
data_gpu = cp.empty(nnz, dtype=active_payload['data'].dtype)
|
|
166
|
+
data_gpu.set(active_payload['data'], stream=cp.cuda.get_current_stream())
|
|
167
|
+
data_gpu = data_gpu.astype(cp.float64, copy=False)
|
|
166
168
|
indices_gpu = cp.asarray(active_payload['indices'])
|
|
167
169
|
indptr_gpu = cp.asarray(active_payload['indptr'])
|
|
168
170
|
|
|
@@ -203,7 +203,9 @@ def FitBasicModelGPU(
|
|
|
203
203
|
|
|
204
204
|
with streams[idx]:
|
|
205
205
|
start_events[idx].record(streams[idx])
|
|
206
|
-
data_gpu = cp.
|
|
206
|
+
data_gpu = cp.empty(nnz, dtype=payload['data'].dtype)
|
|
207
|
+
data_gpu.set(payload['data'], stream=streams[idx])
|
|
208
|
+
data_gpu = data_gpu.astype(cp.float64, copy=False)
|
|
207
209
|
indices_gpu = cp.asarray(payload['indices'])
|
|
208
210
|
indptr_gpu = cp.asarray(payload['indptr'])
|
|
209
211
|
end_events[idx].record(streams[idx])
|
|
@@ -271,7 +271,9 @@ def NBumiPearsonResidualsCombinedGPU(
|
|
|
271
271
|
|
|
272
272
|
with streams[idx]:
|
|
273
273
|
start_events[idx].record(streams[idx])
|
|
274
|
-
data_gpu_raw = cupy.
|
|
274
|
+
data_gpu_raw = cupy.empty(nnz, dtype=payload['data'].dtype)
|
|
275
|
+
data_gpu_raw.set(payload['data'], stream=streams[idx])
|
|
276
|
+
data_gpu_raw = data_gpu_raw.astype(cupy.float64, copy=False)
|
|
275
277
|
indices_gpu_raw = cupy.asarray(payload['indices'])
|
|
276
278
|
indptr_gpu_raw = cupy.asarray(payload['indptr'])
|
|
277
279
|
end_events[idx].record(streams[idx])
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: M3Drop
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.4
|
|
4
4
|
Summary: A Python implementation of the M3Drop single-cell RNA-seq analysis tool.
|
|
5
5
|
Author-email: Tallulah Andrews <tandrew6@uwo.ca>
|
|
6
6
|
License: MIT
|
|
7
|
-
Project-URL: Homepage, https://github.com/
|
|
8
|
-
Project-URL: Repository, https://github.com/
|
|
7
|
+
Project-URL: Homepage, https://github.com/M3Drop/main
|
|
8
|
+
Project-URL: Repository, https://github.com/M3Drop/main
|
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.8
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.9
|
|
@@ -30,7 +30,6 @@ Requires-Dist: statsmodels>=0.13.0
|
|
|
30
30
|
Requires-Dist: numba>=0.57.0
|
|
31
31
|
Requires-Dist: threadpoolctl>=3.0.0
|
|
32
32
|
Requires-Dist: questionary>=2.0.0
|
|
33
|
-
Requires-Dist: cupy-cuda12x; sys_platform != "darwin"
|
|
34
33
|
Dynamic: license-file
|
|
35
34
|
|
|
36
35
|
# M3Drop
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: M3Drop
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.4
|
|
4
4
|
Summary: A Python implementation of the M3Drop single-cell RNA-seq analysis tool.
|
|
5
5
|
Author-email: Tallulah Andrews <tandrew6@uwo.ca>
|
|
6
6
|
License: MIT
|
|
7
|
-
Project-URL: Homepage, https://github.com/
|
|
8
|
-
Project-URL: Repository, https://github.com/
|
|
7
|
+
Project-URL: Homepage, https://github.com/M3Drop/main
|
|
8
|
+
Project-URL: Repository, https://github.com/M3Drop/main
|
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.8
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.9
|
|
@@ -30,7 +30,6 @@ Requires-Dist: statsmodels>=0.13.0
|
|
|
30
30
|
Requires-Dist: numba>=0.57.0
|
|
31
31
|
Requires-Dist: threadpoolctl>=3.0.0
|
|
32
32
|
Requires-Dist: questionary>=2.0.0
|
|
33
|
-
Requires-Dist: cupy-cuda12x; sys_platform != "darwin"
|
|
34
33
|
Dynamic: license-file
|
|
35
34
|
|
|
36
35
|
# M3Drop
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "M3Drop"
|
|
7
|
-
version = "0.5.
|
|
7
|
+
version = "0.5.4"
|
|
8
8
|
description = "A Python implementation of the M3Drop single-cell RNA-seq analysis tool."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.8"
|
|
@@ -24,6 +24,10 @@ classifiers = [
|
|
|
24
24
|
"Intended Audience :: Science/Research",
|
|
25
25
|
"Topic :: Scientific/Engineering :: Bio-Informatics",
|
|
26
26
|
]
|
|
27
|
+
# Note: cupy is NOT listed here. The GPU pipeline requires cupy at runtime,
|
|
28
|
+
# but users must install it themselves (`pip install cupy` on HPC systems
|
|
29
|
+
# after `module load cuda`, or `pip install cupy-cuda12x` on workstations).
|
|
30
|
+
# This keeps `pip install M3Drop` working on login nodes and CPU-only machines.
|
|
27
31
|
dependencies = [
|
|
28
32
|
"anndata>=0.8.0",
|
|
29
33
|
"h5py>=3.8.0",
|
|
@@ -36,12 +40,11 @@ dependencies = [
|
|
|
36
40
|
"numba>=0.57.0",
|
|
37
41
|
"threadpoolctl>=3.0.0",
|
|
38
42
|
"questionary>=2.0.0",
|
|
39
|
-
"cupy-cuda12x; sys_platform != 'darwin'",
|
|
40
43
|
]
|
|
41
44
|
|
|
42
45
|
[project.urls]
|
|
43
|
-
Homepage = "https://github.com/
|
|
44
|
-
Repository = "https://github.com/
|
|
46
|
+
Homepage = "https://github.com/M3Drop/main"
|
|
47
|
+
Repository = "https://github.com/M3Drop/main"
|
|
45
48
|
|
|
46
49
|
[tool.setuptools.packages.find]
|
|
47
50
|
include = ["M3Drop", "M3Drop.*"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|