M3Drop 0.4.50__tar.gz → 0.4.52__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.4.50 → m3drop-0.4.52/M3Drop.egg-info}/PKG-INFO +1 -1
- {m3drop-0.4.50/M3Drop.egg-info → m3drop-0.4.52}/PKG-INFO +1 -1
- {m3drop-0.4.50 → m3drop-0.4.52}/m3Drop/NormalizationGPU.py +5 -3
- {m3drop-0.4.50 → m3drop-0.4.52}/setup.py +1 -1
- {m3drop-0.4.50 → m3drop-0.4.52}/LICENSE +0 -0
- {m3drop-0.4.50 → m3drop-0.4.52}/M3Drop.egg-info/SOURCES.txt +0 -0
- {m3drop-0.4.50 → m3drop-0.4.52}/M3Drop.egg-info/dependency_links.txt +0 -0
- {m3drop-0.4.50 → m3drop-0.4.52}/M3Drop.egg-info/requires.txt +0 -0
- {m3drop-0.4.50 → m3drop-0.4.52}/M3Drop.egg-info/top_level.txt +0 -0
- {m3drop-0.4.50 → m3drop-0.4.52}/README.md +0 -0
- {m3drop-0.4.50 → m3drop-0.4.52}/m3Drop/ControlDeviceCPU.py +0 -0
- {m3drop-0.4.50 → m3drop-0.4.52}/m3Drop/ControlDeviceGPU.py +0 -0
- {m3drop-0.4.50 → m3drop-0.4.52}/m3Drop/CoreCPU.py +0 -0
- {m3drop-0.4.50 → m3drop-0.4.52}/m3Drop/CoreGPU.py +0 -0
- {m3drop-0.4.50 → m3drop-0.4.52}/m3Drop/DiagnosticsCPU.py +0 -0
- {m3drop-0.4.50 → m3drop-0.4.52}/m3Drop/DiagnosticsGPU.py +0 -0
- {m3drop-0.4.50 → m3drop-0.4.52}/m3Drop/NormalizationCPU.py +0 -0
- {m3drop-0.4.50 → m3drop-0.4.52}/m3Drop/__init__.py +0 -0
- {m3drop-0.4.50 → m3drop-0.4.52}/pyproject.toml +0 -0
- {m3drop-0.4.50 → m3drop-0.4.52}/setup.cfg +0 -0
|
@@ -187,9 +187,11 @@ def NBumiPearsonResidualsCombinedGPU(
|
|
|
187
187
|
n_samples_chunk = int(chunk_total_items * sampling_rate)
|
|
188
188
|
|
|
189
189
|
if n_samples_chunk > 0:
|
|
190
|
-
#
|
|
191
|
-
#
|
|
192
|
-
|
|
190
|
+
# [CRITICAL FIX] Use randint (with replacement) instead of choice(replace=False).
|
|
191
|
+
# 'choice' with replace=False tries to allocate a permutation of the ENTIRE chunk (3GB+).
|
|
192
|
+
# 'randint' only allocates the indices we need (KB).
|
|
193
|
+
# Given the huge population (300M+) and small sample (100k+), collisions are statistically negligible.
|
|
194
|
+
sample_indices = cupy.random.randint(0, int(chunk_total_items), size=n_samples_chunk)
|
|
193
195
|
else:
|
|
194
196
|
sample_indices = None
|
|
195
197
|
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
5
5
|
|
|
6
6
|
setuptools.setup(
|
|
7
7
|
name="M3Drop", # Name for pip (pip install M3Drop)
|
|
8
|
-
version="0.4.
|
|
8
|
+
version="0.4.52",
|
|
9
9
|
author="Tallulah Andrews",
|
|
10
10
|
author_email="tandrew6@uwo.ca",
|
|
11
11
|
description="A Python implementation of the M3Drop single-cell RNA-seq analysis tool.",
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|