gsMap 1.71.2__py3-none-any.whl → 1.73.0__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,169 @@
1
+ Metadata-Version: 2.4
2
+ Name: gsMap
3
+ Version: 1.73.0
4
+ Summary: Genetics-informed pathogenic spatial mapping
5
+ Author-email: liyang <songliyang@westlake.edu.cn>, wenhao <chenwenhao@westlake.edu.cn>
6
+ Requires-Python: >=3.10
7
+ Description-Content-Type: text/markdown
8
+ Classifier: Development Status :: 3 - Alpha
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Programming Language :: Python :: 3.10
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Operating System :: POSIX :: Linux
15
+ License-File: LICENSE
16
+ Requires-Dist: numpy < 2.0.0
17
+ Requires-Dist: pandas
18
+ Requires-Dist: scipy
19
+ Requires-Dist: scikit-learn
20
+ Requires-Dist: matplotlib
21
+ Requires-Dist: seaborn
22
+ Requires-Dist: tqdm
23
+ Requires-Dist: pyyaml
24
+ Requires-Dist: torch
25
+ Requires-Dist: torch-geometric
26
+ Requires-Dist: pyranges
27
+ Requires-Dist: pyfiglet
28
+ Requires-Dist: plotly
29
+ Requires-Dist: kaleido
30
+ Requires-Dist: jinja2
31
+ Requires-Dist: scanpy >=1.8.0
32
+ Requires-Dist: zarr>=2,<3
33
+ Requires-Dist: bitarray >=2.9.2, <3.0.0
34
+ Requires-Dist: pyarrow
35
+ Requires-Dist: scikit-misc
36
+ Requires-Dist: sphinx ; extra == "doc"
37
+ Requires-Dist: sphinx-argparse ; extra == "doc"
38
+ Requires-Dist: sphinx-autobuild ; extra == "doc"
39
+ Requires-Dist: sphinx-autodoc-typehints ; extra == "doc"
40
+ Requires-Dist: sphinx-basic-ng ; extra == "doc"
41
+ Requires-Dist: sphinx-charts ; extra == "doc"
42
+ Requires-Dist: sphinx-copybutton ; extra == "doc"
43
+ Requires-Dist: sphinx_inline_tabs ; extra == "doc"
44
+ Requires-Dist: sphinx-markdown-tables ; extra == "doc"
45
+ Requires-Dist: sphinx-rtd-theme ; extra == "doc"
46
+ Requires-Dist: sphinxcontrib-applehelp ; extra == "doc"
47
+ Requires-Dist: sphinxcontrib-devhelp ; extra == "doc"
48
+ Requires-Dist: sphinxcontrib-htmlhelp ; extra == "doc"
49
+ Requires-Dist: sphinxcontrib-jquery ; extra == "doc"
50
+ Requires-Dist: sphinxcontrib-jsmath ; extra == "doc"
51
+ Requires-Dist: sphinxcontrib-qthelp ; extra == "doc"
52
+ Requires-Dist: sphinxcontrib-serializinghtml ; extra == "doc"
53
+ Requires-Dist: furo ; extra == "doc"
54
+ Requires-Dist: myst-parser ; extra == "doc"
55
+ Requires-Dist: nbsphinx ; extra == "doc"
56
+ Requires-Dist: pytest>=7.0.0 ; extra == "tests"
57
+ Requires-Dist: pytest-cov>=4.0.0 ; extra == "tests"
58
+ Requires-Dist: coverage ; extra == "tests"
59
+ Project-URL: Documentation, https://yanglab.westlake.edu.cn/gsmap/document/software
60
+ Project-URL: Home, https://github.com/JianYang-Lab/gsMap
61
+ Project-URL: Website, https://yanglab.westlake.edu.cn/gsmap/home
62
+ Provides-Extra: doc
63
+ Provides-Extra: tests
64
+
65
+ # gsMap
66
+
67
+ | | | | |
68
+ | ------------- | ---------------------------------------------------------------------------------------------------- | -------------- | -------------------------------------------------------------------------------------------------- |
69
+ | __Version__ | [![PyPI version][pypi-badge]][pypi-url] [![Python][python-badge]][python-url] | __Status__ | [![Project Status][status-badge]][status-url] [![Maintenance][maintenance-badge]][maintenance-url] |
70
+ | __Activity__ | [![GitHub commits][commits-badge]][commits-url] [![Last Commit][last-commit-badge]][last-commit-url] | __Quality__ | [![codecov][codecov-badge]][codecov-url] [![Ruff][ruff-badge]][ruff-url] |
71
+ | __CI/CD__ | [![Docs][docs-badge]][docs-url] [![test][test-badge]][test-url] | __Community__ | [![GitHub stars][stars-badge]][stars-url] [![GitHub forks][forks-badge]][forks-url] |
72
+ | __Downloads__ | [![Downloads][downloads-badge]][downloads-url] | __License__ | [![License: MIT][license-badge]][license-url] [![DOI][doi-badge]][doi-url] |
73
+ | __Platform__ | [![Linux][linux-badge]][linux-url] | __Contribute__ | [![Issues][issues-badge]][issues-url] [![PRs Welcome][pr-badge]][pr-url] |
74
+
75
+ ## Introduction
76
+
77
+ `gsMap` (genetically informed spatial mapping of cells for complex traits)
78
+ integrates spatial transcriptomics (ST) data with genome-wide association study (GWAS)
79
+ summary statistics to map cells to human complex traits, including diseases,
80
+ in a spatially resolved manner.
81
+
82
+ ## Key Features
83
+
84
+ - __Spatially-aware High-Resolution Trait Mapping__
85
+ - __Spatial Region Identification__
86
+ - __Putative Causal Genes Identification__
87
+
88
+ ![Model Architecture](schematic.png)
89
+
90
+ ## Installation
91
+
92
+ Install using pip:
93
+
94
+ ```bash
95
+ conda create -n gsMap python>=3.10
96
+ conda activate gsMap
97
+ pip install gsMap
98
+ ```
99
+
100
+ Install from source:
101
+
102
+ ```bash
103
+ git clone https://github.com/JianYang-Lab/gsMap
104
+ cd gsMap
105
+ pip install -e .
106
+ ```
107
+
108
+ Verify the installation by running the following command:
109
+
110
+ ```bash
111
+ gsmap --help
112
+ ```
113
+
114
+ ## Usage
115
+
116
+ Please check out the documentation and tutorials at [gsMap Documentation](https://yanglab.westlake.edu.cn/gsmap/document/software).
117
+
118
+ ## Online Visualization
119
+
120
+ To visualize the traits-cell association spatial maps,
121
+ please refer to [gsMap Visualization](https://yanglab.westlake.edu.cn/gsmap/visualize).
122
+
123
+ ## Citation
124
+
125
+ Song, L., Chen, W., Hou, J., Guo, M. & Yang, J.
126
+ [Spatially resolved mapping of cells associated with human complex traits.](https://doi.org/10.1038/s41586-025-08757-x)
127
+ Nature (2025).
128
+
129
+ Please cite the paper and give us a STAR if you find gsMap useful for your research.
130
+
131
+ <!-- Badge links -->
132
+
133
+ [codecov-badge]: https://codecov.io/gh/JianYang-Lab/gsMap/graph/badge.svg?token=NFZFXZIEUU
134
+ [codecov-url]: https://codecov.io/gh/JianYang-Lab/gsMap
135
+ [commits-badge]: https://img.shields.io/github/commit-activity/m/JianYang-Lab/gsMap
136
+ [commits-url]: https://github.com/JianYang-Lab/gsMap/commits/main
137
+ [docs-badge]: https://github.com/JianYang-Lab/gsMap/actions/workflows/docs.yml/badge.svg
138
+ [docs-url]: https://github.com/JianYang-Lab/gsMap/actions/workflows/docs.yml
139
+ [doi-badge]: https://img.shields.io/badge/DOI-10.1038%2Fs41586--025--08757--x-blue
140
+ [doi-url]: https://doi.org/10.1038/s41586-025-08757-x
141
+ [downloads-badge]: https://static.pepy.tech/badge/gsMap
142
+ [downloads-url]: https://pepy.tech/project/gsMap
143
+ [forks-badge]: https://img.shields.io/github/forks/JianYang-Lab/gsMap
144
+ [forks-url]: https://github.com/JianYang-Lab/gsMap/network/members
145
+ [issues-badge]: https://img.shields.io/github/issues/JianYang-Lab/gsMap
146
+ [issues-url]: https://github.com/JianYang-Lab/gsMap/issues
147
+ [last-commit-badge]: https://img.shields.io/github/last-commit/JianYang-Lab/gsMap
148
+ [last-commit-url]: https://github.com/JianYang-Lab/gsMap/commits/main
149
+ [license-badge]: https://img.shields.io/badge/License-MIT-yellow.svg
150
+ [license-url]: https://opensource.org/licenses/MIT
151
+ [linux-badge]: https://img.shields.io/badge/Linux-%E2%9C%93-success
152
+ [linux-url]: https://github.com/JianYang-Lab/gsMap/actions/workflows/test_linux.yml
153
+ [maintenance-badge]: https://img.shields.io/badge/Maintained%3F-yes-green.svg
154
+ [maintenance-url]: https://github.com/JianYang-Lab/gsMap/graphs/commit-activity
155
+ [pr-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg
156
+ [pr-url]: https://github.com/JianYang-Lab/gsMap/pulls
157
+ [pypi-badge]: https://img.shields.io/pypi/v/gsMap
158
+ [pypi-url]: https://pypi.org/project/gsMap/
159
+ [python-badge]: https://img.shields.io/pypi/pyversions/gsMap
160
+ [python-url]: https://www.python.org
161
+ [ruff-badge]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
162
+ [ruff-url]: https://github.com/astral-sh/ruff
163
+ [stars-badge]: https://img.shields.io/github/stars/JianYang-Lab/gsMap
164
+ [stars-url]: https://github.com/JianYang-Lab/gsMap/stargazers
165
+ [status-badge]: https://www.repostatus.org/badges/latest/active.svg
166
+ [status-url]: https://www.repostatus.org/#active
167
+ [test-badge]: https://github.com/JianYang-Lab/gsMap/actions/workflows/test_linux.yml/badge.svg
168
+ [test-url]: https://github.com/JianYang-Lab/gsMap/actions/workflows/test_linux.yml
169
+
@@ -0,0 +1,31 @@
1
+ gsMap/__init__.py,sha256=knR7dQ3TSoHO6p9wIF50N1FMi0Y-hqQLVLblUN0V3xE,77
2
+ gsMap/__main__.py,sha256=Vdhw8YA1K3wPMlbJQYL5WqvRzAKVeZ16mZQFO9VRmCo,62
3
+ gsMap/cauchy_combination_test.py,sha256=SiUyqJKr4ATFtRgsCEJ43joGcSagCOnnurkB1FlQiB4,5105
4
+ gsMap/config.py,sha256=QaDM3Um6p3rcQO-HTMts8-mQ85RmPCJ2RK2kjC32Bgg,51246
5
+ gsMap/create_slice_mean.py,sha256=bkobWq1kPSvVUZb5RUxYR6ckGGmsftVYCcHfU4xpT6w,5676
6
+ gsMap/diagnosis.py,sha256=RcoIQoK2rtHpEqmSVwOG_amfKWuu1r5T8e2POPfIpOM,13362
7
+ gsMap/find_latent_representation.py,sha256=ktC1nQ_dDqL0uwV6f-E2EwLKX7fwX8TRj9jWGpDrKJw,4745
8
+ gsMap/format_sumstats.py,sha256=1c9OgbqDQWOgXeSrbAhbJfChv_2IwXIgLE6Pbw2sx0s,13778
9
+ gsMap/generate_ldscore.py,sha256=lqw5KGegptZlNjXBoVDLT0UB9Rft-KaIPuEd9GkvEm4,27937
10
+ gsMap/latent_to_gene.py,sha256=CqvlH2qriuzWTt-hjfzgMD1VEd4PNSSG4A4ODvSbUfA,12398
11
+ gsMap/main.py,sha256=SzfAXhrlr4LXnSD4gkvAtUUPYXyra6a_MzVCxDBZjr0,1170
12
+ gsMap/report.py,sha256=_1FYkzGhVGMnvHgEQ8z51iMrVEVlh48a31jLqbV2o9w,6953
13
+ gsMap/run_all_mode.py,sha256=0fJWV6TL7o2OAUXyhC0okHav6gydVUXOinP-HJ-DaAQ,9325
14
+ gsMap/setup.py,sha256=lsIQCChHwR0ojWZs7xay8rukRaLlueuLkc83bp-B2ZE,103
15
+ gsMap/spatial_ldsc_multiple_sumstats.py,sha256=-mawOBjn8-Y5Irl8mv8ye83hfiEJ1mkLrRIQiI-XaMM,17973
16
+ gsMap/visualize.py,sha256=N55s-xmzSd_DtIesrGewfDeoytYUcMd2acDsjEpChCA,7242
17
+ gsMap/GNN/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
+ gsMap/GNN/adjacency_matrix.py,sha256=MfkhgpAHJcC-3l_iZDQQYD30w4bpe29-8s6kkGxiwQw,3231
19
+ gsMap/GNN/model.py,sha256=75In9sxBkaqqpCQSrQEUO-zsQQVQnkXVbKsAgyAZjiQ,2918
20
+ gsMap/GNN/train.py,sha256=S6s-AufN9GJNcgC5Mqe6MjcJAsaNnbDlHUoYHcvxFmA,3069
21
+ gsMap/templates/report_template.html,sha256=QODZEbVxpW1xsLz7lDrD_DyUfzYoi9E17o2tLJlf8OQ,8016
22
+ gsMap/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
+ gsMap/utils/generate_r2_matrix.py,sha256=Hwp70pQfMoWjvDa8LyrtZsvws3YHKj5oGYB_LB2CSqs,17293
24
+ gsMap/utils/jackknife.py,sha256=w_qMj9GlqViouHuOw1U80N6doWuCTXuPoAVU4P-5mm8,17673
25
+ gsMap/utils/manhattan_plot.py,sha256=N7jd0Cn-7JMsTBgv41k1w0174rqnPT-v7xLIV2cfY5U,25241
26
+ gsMap/utils/regression_read.py,sha256=rKA0nkUpTJf6WuGddhKrsBCExchDNEyojOWu_qddZNw,5474
27
+ gsmap-1.73.0.dist-info/entry_points.txt,sha256=s_P2Za22O077tc1FPLKMinbdRVXaN_HTcDBgWMYpqA4,41
28
+ gsmap-1.73.0.dist-info/licenses/LICENSE,sha256=fb5WP6qQytSKO5rM0ZSqQXg_92Fdt0aAeFNwSi3Lpmc,1069
29
+ gsmap-1.73.0.dist-info/WHEEL,sha256=_2ozNFCLWc93bK4WKHCO-eDUENDlo-dgc9cU3qokYO4,82
30
+ gsmap-1.73.0.dist-info/METADATA,sha256=Z6rfdCCrlRN1_DRzoIhCwshs9b94LDJVwHNYRLF5bko,8075
31
+ gsmap-1.73.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: flit 3.10.0
2
+ Generator: flit 3.11.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ MIT License
2
2
 
3
- Copyright (c) 2023 liyang
3
+ Copyright (c) 2025 JianYang-Lab
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
9
  copies of the Software, and to permit persons to whom the Software is
10
10
  furnished to do so, subject to the following conditions:
11
11
 
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
14
 
15
15
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
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
21
- THE SOFTWARE.
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.