gsMap 1.62__tar.gz → 1.63__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.
- {gsmap-1.62 → gsmap-1.63}/PKG-INFO +16 -46
- gsmap-1.63/README.md +39 -0
- gsmap-1.63/docs/source/_static/schematic.svg +13633 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/api/format_sumstats.rst +2 -1
- gsmap-1.63/docs/source/api/quick_mode.rst +8 -0
- gsmap-1.63/docs/source/api/report.rst +8 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/api.rst +11 -16
- {gsmap-1.62 → gsmap-1.63}/docs/source/data.rst +6 -5
- gsmap-1.63/docs/source/data_format.md +63 -0
- gsmap-1.63/docs/source/index.rst +68 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/install.rst +3 -1
- gsmap-1.63/docs/source/mouse.rst +5 -0
- gsmap-1.63/docs/source/mouse_example.md +264 -0
- gsmap-1.63/docs/source/quick_mode.md +141 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/release.rst +1 -1
- {gsmap-1.62 → gsmap-1.63}/docs/source/tutorials.rst +4 -2
- {gsmap-1.62 → gsmap-1.63}/pyproject.toml +9 -2
- gsmap-1.63/schematic.png +0 -0
- {gsmap-1.62 → gsmap-1.63}/src/gsMap/GNN_VAE/adjacency_matrix.py +1 -1
- {gsmap-1.62 → gsmap-1.63}/src/gsMap/GNN_VAE/model.py +5 -5
- {gsmap-1.62 → gsmap-1.63}/src/gsMap/GNN_VAE/train.py +1 -1
- {gsmap-1.62 → gsmap-1.63}/src/gsMap/__init__.py +1 -1
- {gsmap-1.62 → gsmap-1.63}/src/gsMap/cauchy_combination_test.py +14 -36
- gsmap-1.63/src/gsMap/config.py +803 -0
- gsmap-1.63/src/gsMap/diagnosis.py +273 -0
- {gsmap-1.62 → gsmap-1.63}/src/gsMap/find_latent_representation.py +22 -86
- {gsmap-1.62 → gsmap-1.63}/src/gsMap/format_sumstats.py +79 -82
- {gsmap-1.62 → gsmap-1.63}/src/gsMap/generate_ldscore.py +145 -78
- {gsmap-1.62 → gsmap-1.63}/src/gsMap/latent_to_gene.py +65 -104
- {gsmap-1.62 → gsmap-1.63}/src/gsMap/main.py +1 -9
- gsmap-1.63/src/gsMap/report.py +160 -0
- gsmap-1.63/src/gsMap/run_all_mode.py +195 -0
- gsmap-1.63/src/gsMap/spatial_ldsc_multiple_sumstats.py +382 -0
- gsmap-1.63/src/gsMap/templates/report_template.html +198 -0
- gsmap-1.63/src/gsMap/utils/__init__.py +0 -0
- {gsmap-1.62/src/gsMap → gsmap-1.63/src/gsMap/utils}/generate_r2_matrix.py +1 -9
- {gsmap-1.62/src/gsMap → gsmap-1.63/src/gsMap/utils}/make_annotations.py +1 -43
- gsmap-1.63/src/gsMap/utils/manhattan_plot.py +639 -0
- {gsmap-1.62/src/gsMap → gsmap-1.63/src/gsMap/utils}/regression_read.py +1 -1
- gsmap-1.63/src/gsMap/visualize.py +199 -0
- gsmap-1.62/.github/workflows/sphinx.yml +0 -24
- gsmap-1.62/README.md +0 -70
- gsmap-1.62/docs/source/_static/architecture.svg +0 -1
- gsmap-1.62/docs/source/api/visualization.rst +0 -8
- gsmap-1.62/docs/source/data_format.md +0 -120
- gsmap-1.62/docs/source/index.rst +0 -72
- gsmap-1.62/docs/source/mouse.rst +0 -26
- gsmap-1.62/docs/source/mouse_example.md +0 -389
- gsmap-1.62/src/gsMap/config.py +0 -734
- gsmap-1.62/src/gsMap/spatial_ldsc_multiple_sumstats.py +0 -307
- gsmap-1.62/src/gsMap/visualize.py +0 -154
- {gsmap-1.62 → gsmap-1.63}/.github/workflows/publish-to-pypi.yml +0 -0
- {gsmap-1.62 → gsmap-1.63}/.gitignore +0 -0
- {gsmap-1.62 → gsmap-1.63}/LICENSE +0 -0
- {gsmap-1.62 → gsmap-1.63}/docs/Makefile +0 -0
- {gsmap-1.62 → gsmap-1.63}/docs/make.bat +0 -0
- {gsmap-1.62 → gsmap-1.63}/docs/requirements.txt +0 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/api/cauchy_combination.rst +0 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/api/find_latent_representations.rst +0 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/api/generate_ldscore.rst +0 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/api/latent_to_gene.rst +0 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/api/spatial_ldsc.rst +0 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/charts/cortex/Cortex_151507_Height.json +0 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/charts/cortex/Cortex_151507_IQ.json +0 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/charts/cortex/Cortex_151507_MCHC.json +0 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/charts/cortex/Cortex_151507_SCZ.json +0 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/charts/mouse_embryo/E16.5_E1S1_Height.json +0 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/charts/mouse_embryo/E16.5_E1S1_IQ.json +0 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/charts/mouse_embryo/E16.5_E1S1_MCHC.json +0 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/charts/mouse_embryo/E16.5_E1S1_SCZ.json +0 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/charts/test.json +0 -0
- {gsmap-1.62 → gsmap-1.63}/docs/source/conf.py +0 -0
- {gsmap-1.62 → gsmap-1.63}/src/gsMap/GNN_VAE/__init__.py +0 -0
- {gsmap-1.62 → gsmap-1.63}/src/gsMap/__main__.py +0 -0
- {gsmap-1.62/src/gsMap → gsmap-1.63/src/gsMap/utils}/jackknife.py +0 -0
- {gsmap-1.62 → gsmap-1.63}/test/GPS-snakemake-workflow-macaque.smk +0 -0
- {gsmap-1.62 → gsmap-1.63}/test/GPS-snakemake-workflow.smk +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: gsMap
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.63
|
4
4
|
Summary: Genetics-informed pathogenic spatial mapping
|
5
5
|
Author-email: liyang <songliyang@westlake.edu.cn>, wenhao <chenwenhao@westlake.edu.cn>
|
6
6
|
Requires-Python: >=3.8
|
@@ -26,6 +26,7 @@ Requires-Dist: pyranges
|
|
26
26
|
Requires-Dist: pyfiglet
|
27
27
|
Requires-Dist: plotly
|
28
28
|
Requires-Dist: kaleido
|
29
|
+
Requires-Dist: jinja2
|
29
30
|
Requires-Dist: sphinx ; extra == "doc"
|
30
31
|
Requires-Dist: sphinx-argparse ; extra == "doc"
|
31
32
|
Requires-Dist: sphinx-autobuild ; extra == "doc"
|
@@ -46,21 +47,22 @@ Requires-Dist: sphinxcontrib-serializinghtml ; extra == "doc"
|
|
46
47
|
Requires-Dist: furo ; extra == "doc"
|
47
48
|
Requires-Dist: myst-parser ; extra == "doc"
|
48
49
|
Requires-Dist: nbsphinx ; extra == "doc"
|
49
|
-
Project-URL: Documentation, https
|
50
|
+
Project-URL: Documentation, https://yanglab.westlake.edu.cn/gsmap/document
|
50
51
|
Project-URL: Home, https://github.com/LeonSong1995/gsMap
|
51
|
-
Project-URL: Website, https
|
52
|
+
Project-URL: Website, https://yanglab.westlake.edu.cn/gsmap/home
|
52
53
|
Provides-Extra: doc
|
53
54
|
|
54
55
|
# gsMap (genetically informed spatial mapping of cells for complex traits)
|
55
|
-
[](https://github.com/LeonSong1995/gsMap/stargazers)
|
57
|
+
[](https://pypi.org/p/gsMap)
|
56
58
|
[](https://opensource.org/licenses/MIT)
|
57
59
|
|
60
|
+

|
58
61
|
|
59
|
-
##
|
62
|
+
## 1.Citation
|
63
|
+
Liyang Song, Wenhao Chen, Junren Hou, Minmin Guo, Jian Yang (2024) Spatially resolved mapping of cells associated with human complex traits. (Under review)
|
60
64
|
|
61
|
-
|
62
|
-
|
63
|
-
## Installation
|
65
|
+
## 2.Installation
|
64
66
|
|
65
67
|
install use pip:
|
66
68
|
|
@@ -71,52 +73,20 @@ pip install gsMap
|
|
71
73
|
install from source:
|
72
74
|
|
73
75
|
```bash
|
74
|
-
git clone
|
76
|
+
git clone https://github.com/LeonSong1995/gsMap.git
|
75
77
|
cd gsMap
|
76
78
|
pip install -e .
|
77
79
|
```
|
78
80
|
|
79
|
-
## Usage
|
80
|
-
|
81
|
-
To use gsMap, navigate to the command line and enter `gsMap` followed by the subcommand that corresponds to the desired operation. Each subcommand may require specific arguments to run.
|
82
|
-
|
83
|
-
### Basic Command Structure
|
84
|
-
|
85
|
-
```bash
|
86
|
-
gsmap subcommand [arguments...]
|
87
|
-
```
|
88
|
-
|
89
|
-
- `subcommand`: The specific operation you wish to perform.
|
90
|
-
- `arguments`: The arguments and options required for the subcommand.
|
91
|
-
|
92
|
-
### Available Subcommands
|
93
|
-
|
94
|
-
(Provide a list and brief description of each available subcommand. For example:)
|
95
|
-
|
96
|
-
- `run_find_latent_representations`: Finds latent representations using a GNN-VAE model.
|
97
|
-
- `run_latent_to_gene`: Maps latent representations to gene markers.
|
98
|
-
- `run_generate_ldscore`: Generates LD scores for genomic spots.
|
99
|
-
- `run_spatial_ldsc`: Conducts spatial LDSC analysis.
|
100
|
-
- `run_cauchy_combination`: Performs Cauchy combination tests for annotations.
|
101
|
-
- `run_all_mode`: Executes a comprehensive pipeline covering all steps.
|
102
|
-
|
103
|
-
### Examples
|
104
|
-
|
105
|
-
To run a specific functionality, you need to provide the appropriate subcommand and arguments. For example:
|
106
|
-
### Running Requirement
|
107
|
-
|
108
|
-
|
109
|
-
```bash
|
110
|
-
gsmap run_find_latent_representations --input_hdf5_path <path> --output_hdf5_path <path> --sample_name <name>
|
111
|
-
```
|
81
|
+
## 3.Usage
|
112
82
|
|
113
|
-
|
83
|
+
Please checkout the documentations and tutorials at
|
84
|
+
[gsMap.docs](https://yanglab.westlake.edu.cn/gsmap/document).
|
114
85
|
|
115
|
-
## Contributing
|
116
86
|
|
117
|
-
|
87
|
+
## 4.Online visualization
|
118
88
|
|
119
|
-
|
89
|
+
To visualize the traits-embryo or traits-brain association spatial maps, please refer to [gsmap.visualization](https://yanglab.westlake.edu.cn/gsmap/visualize).
|
120
90
|
|
121
91
|
....
|
122
92
|
|
gsmap-1.63/README.md
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# gsMap (genetically informed spatial mapping of cells for complex traits)
|
2
|
+
[](https://github.com/LeonSong1995/gsMap/stargazers)
|
3
|
+
[](https://pypi.org/p/gsMap)
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
5
|
+
|
6
|
+

|
7
|
+
|
8
|
+
## 1.Citation
|
9
|
+
Liyang Song, Wenhao Chen, Junren Hou, Minmin Guo, Jian Yang (2024) Spatially resolved mapping of cells associated with human complex traits. (Under review)
|
10
|
+
|
11
|
+
## 2.Installation
|
12
|
+
|
13
|
+
install use pip:
|
14
|
+
|
15
|
+
```bash
|
16
|
+
pip install gsMap
|
17
|
+
```
|
18
|
+
|
19
|
+
install from source:
|
20
|
+
|
21
|
+
```bash
|
22
|
+
git clone https://github.com/LeonSong1995/gsMap.git
|
23
|
+
cd gsMap
|
24
|
+
pip install -e .
|
25
|
+
```
|
26
|
+
|
27
|
+
## 3.Usage
|
28
|
+
|
29
|
+
Please checkout the documentations and tutorials at
|
30
|
+
[gsMap.docs](https://yanglab.westlake.edu.cn/gsmap/document).
|
31
|
+
|
32
|
+
|
33
|
+
## 4.Online visualization
|
34
|
+
|
35
|
+
To visualize the traits-embryo or traits-brain association spatial maps, please refer to [gsmap.visualization](https://yanglab.westlake.edu.cn/gsmap/visualize).
|
36
|
+
|
37
|
+
....
|
38
|
+
|
39
|
+
---
|