cellmapper 0.0.1__py3-none-any.whl

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.
@@ -0,0 +1,127 @@
1
+ Metadata-Version: 2.4
2
+ Name: cellmapper
3
+ Version: 0.0.1
4
+ Summary: k-NN-based mapping of cells across representations
5
+ Project-URL: Documentation, https://cellmapper.readthedocs.io/
6
+ Project-URL: Homepage, https://github.com/quadbio/cellmapper
7
+ Project-URL: Source, https://github.com/quadbio/cellmapper
8
+ Author: Marius Lange
9
+ Maintainer-email: Marius Lange <marius.lange@bsse.ethz.ch>
10
+ License: MIT License
11
+
12
+ Copyright (c) 2025, Marius Lange
13
+
14
+ Permission is hereby granted, free of charge, to any person obtaining a copy
15
+ of this software and associated documentation files (the "Software"), to deal
16
+ in the Software without restriction, including without limitation the rights
17
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
18
+ copies of the Software, and to permit persons to whom the Software is
19
+ furnished to do so, subject to the following conditions:
20
+
21
+ The above copyright notice and this permission notice shall be included in all
22
+ copies or substantial portions of the Software.
23
+
24
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
29
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30
+ SOFTWARE.
31
+ License-File: LICENSE
32
+ Classifier: Programming Language :: Python :: 3 :: Only
33
+ Classifier: Programming Language :: Python :: 3.10
34
+ Classifier: Programming Language :: Python :: 3.11
35
+ Classifier: Programming Language :: Python :: 3.12
36
+ Classifier: Programming Language :: Python :: 3.13
37
+ Requires-Python: >=3.10
38
+ Requires-Dist: anndata
39
+ Requires-Dist: numpy
40
+ Requires-Dist: packaging
41
+ Requires-Dist: pandas
42
+ Requires-Dist: pynndescent
43
+ Requires-Dist: rich
44
+ Requires-Dist: scanpy
45
+ Requires-Dist: scikit-learn
46
+ Requires-Dist: scipy
47
+ Requires-Dist: session-info2
48
+ Provides-Extra: dev
49
+ Requires-Dist: pre-commit; extra == 'dev'
50
+ Requires-Dist: twine>=4.0.2; extra == 'dev'
51
+ Provides-Extra: doc
52
+ Requires-Dist: docutils!=0.18.*,!=0.19.*,>=0.8; extra == 'doc'
53
+ Requires-Dist: ipykernel; extra == 'doc'
54
+ Requires-Dist: ipython; extra == 'doc'
55
+ Requires-Dist: myst-nb>=1.1; extra == 'doc'
56
+ Requires-Dist: pandas; extra == 'doc'
57
+ Requires-Dist: setuptools; extra == 'doc'
58
+ Requires-Dist: sphinx-autodoc-typehints; extra == 'doc'
59
+ Requires-Dist: sphinx-book-theme>=1; extra == 'doc'
60
+ Requires-Dist: sphinx-copybutton; extra == 'doc'
61
+ Requires-Dist: sphinx-tabs; extra == 'doc'
62
+ Requires-Dist: sphinx>=4; extra == 'doc'
63
+ Requires-Dist: sphinxcontrib-bibtex>=1; extra == 'doc'
64
+ Requires-Dist: sphinxext-opengraph; extra == 'doc'
65
+ Provides-Extra: test
66
+ Requires-Dist: coverage; extra == 'test'
67
+ Requires-Dist: pytest; extra == 'test'
68
+ Description-Content-Type: text/markdown
69
+
70
+ # CellMapper
71
+
72
+ [![Tests][badge-tests]][tests]
73
+ [![Coverage][badge-coverage]][coverage]
74
+ [![Pre-commit.ci][badge-pre-commit]][pre-commit]
75
+
76
+ [badge-tests]: https://github.com/quadbio/cellmapper/actions/workflows/test.yaml/badge.svg
77
+ [badge-coverage]: https://codecov.io/gh/quadbio/cellmapper/branch/main/graph/badge.svg
78
+ [badge-pre-commit]: https://results.pre-commit.ci/badge/github/quadbio/cellmapper/main.svg
79
+
80
+ k-NN-based mapping of cells across representations to tranfer labels, embeddings and expression values. Works for millions of cells, on CPU and GPU, across molecular modalities, between spatial and non-spatial data, for arbitrary query and reference datasets. Using `faiss` to compute k-NN graphs, CellMapper takes about 30 seconds to transfer cell type labels from 1.5M cells to 1.5M cells on a single RTX 4090 with 60 GB CPU memory.
81
+
82
+ ## Getting started
83
+
84
+ Please refer to the [documentation][],
85
+ in particular, the [API documentation][].
86
+
87
+ ## Installation
88
+
89
+ You need to have Python 3.10 or newer installed on your system.
90
+ If you don't have Python installed, we recommend installing [uv][].
91
+
92
+ There are several alternative options to install cellmapper:
93
+
94
+ <!--
95
+ 1) Install the latest release of `cellmapper` from [PyPI][]:
96
+
97
+ ```bash
98
+ pip install cellmapper
99
+ ```
100
+ -->
101
+
102
+ 1. Install the latest development version:
103
+
104
+ ```bash
105
+ pip install git+https://github.com/quadbio/cellmapper.git@main
106
+ ```
107
+
108
+ ## Release notes
109
+
110
+ See the [changelog][].
111
+
112
+ ## Contact
113
+
114
+ If you found a bug, please use the [issue tracker][].
115
+
116
+ ## Citation
117
+
118
+ Please cite this GitHub repo if you find CellMapper useful for your research.
119
+
120
+ [uv]: https://github.com/astral-sh/uv
121
+ [issue tracker]: https://github.com/quadbio/cellmapper/issues
122
+ [tests]: https://github.com/quadbio/cellmapper/actions/workflows/test.yaml
123
+ [changelog]: https://cellmapper.readthedocs.io/en/latest/changelog.html
124
+ [api documentation]: https://cellmapper.readthedocs.io/en/latest/api.html
125
+ [pypi]: https://pypi.org/project/cellmapper
126
+ [coverage]: https://codecov.io/gh/quadbio/cellmapper
127
+ [pre-commit]: https://results.pre-commit.ci/latest/github/quadbio/cellmapper/main
@@ -0,0 +1,10 @@
1
+ cellmapper/__init__.py,sha256=BnHriJxrt4JGqOlI_lx2AGjovh-KQZuRmZ5tKEEm92c,176
2
+ cellmapper/cellmapper.py,sha256=TeIXxF-H9FvpTW6vYrJwJL0Hw1e436pM5MNpm7jRKYA,20129
3
+ cellmapper/check.py,sha256=YErVXa529wLZ3D7xSivhVv74tZTCQgT5yE50K88euKY,2571
4
+ cellmapper/evaluate.py,sha256=kDVGOOFeppN6I_uiGLhArZPwuYL2pP8tGGVKhDXrnxs,11814
5
+ cellmapper/knn.py,sha256=KrBATwJON_uOlj5h9AwhdYSkDZm341XS_i59hXraNoE,11091
6
+ cellmapper/logging.py,sha256=e2J8aGJt9XVxCEPPA4P_ishaGhvjGDpPNK5QziYoFj4,657
7
+ cellmapper-0.0.1.dist-info/METADATA,sha256=BtTx7z_qHrLKQLGC7o_b9-Aqo3YqCeN_EYa9VZik3v4,5125
8
+ cellmapper-0.0.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
9
+ cellmapper-0.0.1.dist-info/licenses/LICENSE,sha256=sGi0s0pN4gKicToB3fwRiX9Vg0LcnzR-1TEeD1qzOI8,1070
10
+ cellmapper-0.0.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.27.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025, Marius Lange
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.