zmap-tools 0.2.2__tar.gz → 0.2.2.2__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.
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/PKG-INFO +14 -10
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/pyproject.toml +16 -10
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/src/zmap/predict/predict.py +11 -2
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/src/zmap_tools.egg-info/PKG-INFO +14 -10
- zmap_tools-0.2.2.2/src/zmap_tools.egg-info/requires.txt +17 -0
- zmap_tools-0.2.2/src/zmap_tools.egg-info/requires.txt +0 -13
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/LICENSE +0 -0
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/README.md +0 -0
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/setup.cfg +0 -0
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/src/zmap/__init__.py +0 -0
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/src/zmap/dotplot/__init__.py +0 -0
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/src/zmap/dotplot/dotplot_gene.py +0 -0
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/src/zmap/dotplot/dotplot_group.py +0 -0
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/src/zmap/predict/__init__.py +0 -0
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/src/zmap/predict/knn_backend.py +0 -0
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/src/zmap/reference/__init__.py +0 -0
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/src/zmap/reference/load_h5ad.py +0 -0
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/src/zmap/reference/markers.py +0 -0
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/src/zmap_tools.egg-info/SOURCES.txt +0 -0
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/src/zmap_tools.egg-info/dependency_links.txt +0 -0
- {zmap_tools-0.2.2 → zmap_tools-0.2.2.2}/src/zmap_tools.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: zmap-tools
|
|
3
|
-
Version: 0.2.2
|
|
3
|
+
Version: 0.2.2.2
|
|
4
4
|
Summary: API for working with ZMAP (Zebrafish Multi-Atlas Project)
|
|
5
5
|
Author-email: Daniel Wagner <Daniel.Wagner@ucsf.edu>
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -47,19 +47,23 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
47
47
|
Requires-Python: >=3.10
|
|
48
48
|
Description-Content-Type: text/markdown
|
|
49
49
|
License-File: LICENSE
|
|
50
|
-
Requires-Dist: anndata
|
|
51
|
-
Requires-Dist: scanpy
|
|
52
|
-
Requires-Dist: numpy
|
|
50
|
+
Requires-Dist: anndata==0.12.18
|
|
51
|
+
Requires-Dist: scanpy==1.12.1
|
|
52
|
+
Requires-Dist: numpy==2.0.2
|
|
53
|
+
Requires-Dist: numba==0.60.0
|
|
54
|
+
Requires-Dist: llvmlite==0.43.0
|
|
53
55
|
Requires-Dist: pandas<3.0,>=2.0
|
|
54
|
-
Requires-Dist: matplotlib
|
|
56
|
+
Requires-Dist: matplotlib<4.0,>=3.7
|
|
55
57
|
Requires-Dist: requests>=2.31
|
|
56
|
-
Requires-Dist: scipy
|
|
57
|
-
Requires-Dist: scikit-learn
|
|
58
|
-
Requires-Dist: faiss-cpu
|
|
59
|
-
Requires-Dist: seaborn
|
|
58
|
+
Requires-Dist: scipy==1.16.3
|
|
59
|
+
Requires-Dist: scikit-learn==1.6.1
|
|
60
|
+
Requires-Dist: faiss-cpu==1.14.3
|
|
61
|
+
Requires-Dist: seaborn==0.13.2
|
|
60
62
|
Requires-Dist: tqdm>=4.66
|
|
61
63
|
Requires-Dist: adjustText>=0.8
|
|
62
|
-
Requires-Dist: symphonypy
|
|
64
|
+
Requires-Dist: symphonypy==0.2.4
|
|
65
|
+
Requires-Dist: igraph==1.0.0
|
|
66
|
+
Requires-Dist: leidenalg==0.12.0
|
|
63
67
|
Dynamic: license-file
|
|
64
68
|
|
|
65
69
|
# zmap-tools
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "zmap-tools"
|
|
7
|
-
version = "0.2.2"
|
|
7
|
+
version = "0.2.2.2"
|
|
8
8
|
description = "API for working with ZMAP (Zebrafish Multi-Atlas Project)"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -27,19 +27,25 @@ classifiers = [
|
|
|
27
27
|
]
|
|
28
28
|
|
|
29
29
|
dependencies = [
|
|
30
|
-
"anndata
|
|
31
|
-
"scanpy
|
|
32
|
-
|
|
30
|
+
"anndata==0.12.18",
|
|
31
|
+
"scanpy==1.12.1",
|
|
32
|
+
|
|
33
|
+
"numpy==2.0.2",
|
|
34
|
+
"numba==0.60.0",
|
|
35
|
+
"llvmlite==0.43.0",
|
|
36
|
+
|
|
33
37
|
"pandas>=2.0,<3.0",
|
|
34
|
-
"matplotlib>=3.7",
|
|
38
|
+
"matplotlib>=3.7,<4.0",
|
|
35
39
|
"requests>=2.31",
|
|
36
|
-
"scipy
|
|
37
|
-
"scikit-learn
|
|
38
|
-
"faiss-cpu
|
|
39
|
-
"seaborn
|
|
40
|
+
"scipy==1.16.3",
|
|
41
|
+
"scikit-learn==1.6.1",
|
|
42
|
+
"faiss-cpu==1.14.3",
|
|
43
|
+
"seaborn==0.13.2",
|
|
40
44
|
"tqdm>=4.66",
|
|
41
45
|
"adjustText>=0.8",
|
|
42
|
-
"symphonypy
|
|
46
|
+
"symphonypy==0.2.4",
|
|
47
|
+
"igraph==1.0.0",
|
|
48
|
+
"leidenalg==0.12.0",
|
|
43
49
|
]
|
|
44
50
|
|
|
45
51
|
[project.urls]
|
|
@@ -232,6 +232,7 @@ def preprocess_adata_query(
|
|
|
232
232
|
adata.X = np.log1p(X_tpm)
|
|
233
233
|
|
|
234
234
|
# ---- 5. bookkeeping ----
|
|
235
|
+
adata.uns["log1p"] = {"base": None}
|
|
235
236
|
adata.uns.setdefault("ZMAP_preprocessing", {})
|
|
236
237
|
adata.uns["ZMAP_preprocessing"]["query"] = {
|
|
237
238
|
"counts_source": counts_source,
|
|
@@ -3266,7 +3267,7 @@ def annotate_with_zmap(
|
|
|
3266
3267
|
predict_kwargs: Mapping[str, Any] | None = None,
|
|
3267
3268
|
|
|
3268
3269
|
# --- output controls ---
|
|
3269
|
-
verbosity: int =
|
|
3270
|
+
verbosity: int = 3, # 0=silent, 1=progress, 2=summary+UMAP+QC, 3=full
|
|
3270
3271
|
debug: bool = False, # if True, re-raise exceptions instead of catching
|
|
3271
3272
|
print_summary: bool | None = None, # deprecated → use verbosity
|
|
3272
3273
|
show_plots: bool | None = None, # deprecated → use verbosity
|
|
@@ -3362,7 +3363,7 @@ def annotate_with_zmap(
|
|
|
3362
3363
|
Extra keyword arguments forwarded to ``predict_labels_kNN``.
|
|
3363
3364
|
For common options, prefer the top-level ``tissue_aware`` and
|
|
3364
3365
|
``evaluate`` parameters instead of passing dicts manually.
|
|
3365
|
-
verbosity : int, default ``
|
|
3366
|
+
verbosity : int, default ``3``
|
|
3366
3367
|
Controls how much output is printed and displayed inline:
|
|
3367
3368
|
|
|
3368
3369
|
- ``0`` — silent (no print, no inline plots).
|
|
@@ -3737,6 +3738,7 @@ def annotate_with_zmap(
|
|
|
3737
3738
|
|
|
3738
3739
|
# ------------------------------------------------------------------
|
|
3739
3740
|
# 8. Copy colormap dict from reference → query (order-independent)
|
|
3741
|
+
# Also copy reference color palettes and order lists
|
|
3740
3742
|
# ------------------------------------------------------------------
|
|
3741
3743
|
cmap_src_key = _COLORMAP_UNS_KEY.get(ref_label_col)
|
|
3742
3744
|
if cmap_src_key and cmap_src_key in adata_ref.uns:
|
|
@@ -3756,6 +3758,13 @@ def annotate_with_zmap(
|
|
|
3756
3758
|
"arrays — palette may be incorrect if query categories differ from reference.",
|
|
3757
3759
|
stacklevel=2,
|
|
3758
3760
|
)
|
|
3761
|
+
|
|
3762
|
+
# Standard palettes
|
|
3763
|
+
keys = ["ZMAP_CellType_order","ZMAP_Tissue_order","ZMAP_colormap_C12","ZMAP_colormap_C79",
|
|
3764
|
+
"ZMAP_colormap_G7","ZMAP_colormap_T28","ZMAP_colormap_T7"]
|
|
3765
|
+
for k in keys:
|
|
3766
|
+
if k in adata_ref.uns:
|
|
3767
|
+
adata_query.uns[k] = adata_ref.uns[k]
|
|
3759
3768
|
|
|
3760
3769
|
# ------------------------------------------------------------------
|
|
3761
3770
|
# 9. UMAP overlay figure (v >= 2)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: zmap-tools
|
|
3
|
-
Version: 0.2.2
|
|
3
|
+
Version: 0.2.2.2
|
|
4
4
|
Summary: API for working with ZMAP (Zebrafish Multi-Atlas Project)
|
|
5
5
|
Author-email: Daniel Wagner <Daniel.Wagner@ucsf.edu>
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -47,19 +47,23 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
47
47
|
Requires-Python: >=3.10
|
|
48
48
|
Description-Content-Type: text/markdown
|
|
49
49
|
License-File: LICENSE
|
|
50
|
-
Requires-Dist: anndata
|
|
51
|
-
Requires-Dist: scanpy
|
|
52
|
-
Requires-Dist: numpy
|
|
50
|
+
Requires-Dist: anndata==0.12.18
|
|
51
|
+
Requires-Dist: scanpy==1.12.1
|
|
52
|
+
Requires-Dist: numpy==2.0.2
|
|
53
|
+
Requires-Dist: numba==0.60.0
|
|
54
|
+
Requires-Dist: llvmlite==0.43.0
|
|
53
55
|
Requires-Dist: pandas<3.0,>=2.0
|
|
54
|
-
Requires-Dist: matplotlib
|
|
56
|
+
Requires-Dist: matplotlib<4.0,>=3.7
|
|
55
57
|
Requires-Dist: requests>=2.31
|
|
56
|
-
Requires-Dist: scipy
|
|
57
|
-
Requires-Dist: scikit-learn
|
|
58
|
-
Requires-Dist: faiss-cpu
|
|
59
|
-
Requires-Dist: seaborn
|
|
58
|
+
Requires-Dist: scipy==1.16.3
|
|
59
|
+
Requires-Dist: scikit-learn==1.6.1
|
|
60
|
+
Requires-Dist: faiss-cpu==1.14.3
|
|
61
|
+
Requires-Dist: seaborn==0.13.2
|
|
60
62
|
Requires-Dist: tqdm>=4.66
|
|
61
63
|
Requires-Dist: adjustText>=0.8
|
|
62
|
-
Requires-Dist: symphonypy
|
|
64
|
+
Requires-Dist: symphonypy==0.2.4
|
|
65
|
+
Requires-Dist: igraph==1.0.0
|
|
66
|
+
Requires-Dist: leidenalg==0.12.0
|
|
63
67
|
Dynamic: license-file
|
|
64
68
|
|
|
65
69
|
# zmap-tools
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
anndata==0.12.18
|
|
2
|
+
scanpy==1.12.1
|
|
3
|
+
numpy==2.0.2
|
|
4
|
+
numba==0.60.0
|
|
5
|
+
llvmlite==0.43.0
|
|
6
|
+
pandas<3.0,>=2.0
|
|
7
|
+
matplotlib<4.0,>=3.7
|
|
8
|
+
requests>=2.31
|
|
9
|
+
scipy==1.16.3
|
|
10
|
+
scikit-learn==1.6.1
|
|
11
|
+
faiss-cpu==1.14.3
|
|
12
|
+
seaborn==0.13.2
|
|
13
|
+
tqdm>=4.66
|
|
14
|
+
adjustText>=0.8
|
|
15
|
+
symphonypy==0.2.4
|
|
16
|
+
igraph==1.0.0
|
|
17
|
+
leidenalg==0.12.0
|
|
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
|