gsMap 1.61a0__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.
Files changed (77) hide show
  1. {gsmap-1.61a0 → gsmap-1.63}/PKG-INFO +16 -46
  2. gsmap-1.63/README.md +39 -0
  3. gsmap-1.63/docs/source/_static/schematic.svg +13633 -0
  4. {gsmap-1.61a0 → gsmap-1.63}/docs/source/api/format_sumstats.rst +2 -1
  5. gsmap-1.63/docs/source/api/quick_mode.rst +8 -0
  6. gsmap-1.63/docs/source/api/report.rst +8 -0
  7. {gsmap-1.61a0 → gsmap-1.63}/docs/source/api.rst +11 -16
  8. {gsmap-1.61a0 → gsmap-1.63}/docs/source/data.rst +6 -5
  9. gsmap-1.63/docs/source/data_format.md +63 -0
  10. gsmap-1.63/docs/source/index.rst +68 -0
  11. {gsmap-1.61a0 → gsmap-1.63}/docs/source/install.rst +3 -1
  12. gsmap-1.63/docs/source/mouse.rst +5 -0
  13. gsmap-1.63/docs/source/mouse_example.md +264 -0
  14. gsmap-1.63/docs/source/quick_mode.md +141 -0
  15. {gsmap-1.61a0 → gsmap-1.63}/docs/source/release.rst +1 -1
  16. {gsmap-1.61a0 → gsmap-1.63}/docs/source/tutorials.rst +4 -2
  17. {gsmap-1.61a0 → gsmap-1.63}/pyproject.toml +9 -2
  18. gsmap-1.63/schematic.png +0 -0
  19. {gsmap-1.61a0 → gsmap-1.63}/src/gsMap/GNN_VAE/adjacency_matrix.py +1 -1
  20. {gsmap-1.61a0 → gsmap-1.63}/src/gsMap/GNN_VAE/model.py +5 -5
  21. {gsmap-1.61a0 → gsmap-1.63}/src/gsMap/GNN_VAE/train.py +1 -1
  22. {gsmap-1.61a0 → gsmap-1.63}/src/gsMap/__init__.py +1 -1
  23. {gsmap-1.61a0 → gsmap-1.63}/src/gsMap/cauchy_combination_test.py +14 -36
  24. gsmap-1.63/src/gsMap/config.py +803 -0
  25. gsmap-1.63/src/gsMap/diagnosis.py +273 -0
  26. {gsmap-1.61a0 → gsmap-1.63}/src/gsMap/find_latent_representation.py +22 -86
  27. {gsmap-1.61a0 → gsmap-1.63}/src/gsMap/format_sumstats.py +79 -82
  28. {gsmap-1.61a0 → gsmap-1.63}/src/gsMap/generate_ldscore.py +145 -78
  29. {gsmap-1.61a0 → gsmap-1.63}/src/gsMap/latent_to_gene.py +65 -104
  30. {gsmap-1.61a0 → gsmap-1.63}/src/gsMap/main.py +1 -9
  31. gsmap-1.63/src/gsMap/report.py +160 -0
  32. gsmap-1.63/src/gsMap/run_all_mode.py +195 -0
  33. gsmap-1.63/src/gsMap/spatial_ldsc_multiple_sumstats.py +382 -0
  34. gsmap-1.63/src/gsMap/templates/report_template.html +198 -0
  35. gsmap-1.63/src/gsMap/utils/__init__.py +0 -0
  36. {gsmap-1.61a0/src/gsMap → gsmap-1.63/src/gsMap/utils}/generate_r2_matrix.py +1 -9
  37. {gsmap-1.61a0/src/gsMap → gsmap-1.63/src/gsMap/utils}/make_annotations.py +1 -43
  38. gsmap-1.63/src/gsMap/utils/manhattan_plot.py +639 -0
  39. {gsmap-1.61a0/src/gsMap → gsmap-1.63/src/gsMap/utils}/regression_read.py +1 -1
  40. gsmap-1.63/src/gsMap/visualize.py +199 -0
  41. gsmap-1.61a0/.github/workflows/sphinx.yml +0 -24
  42. gsmap-1.61a0/README.md +0 -70
  43. gsmap-1.61a0/docs/source/_static/architecture.svg +0 -1
  44. gsmap-1.61a0/docs/source/api/visualization.rst +0 -8
  45. gsmap-1.61a0/docs/source/data_format.md +0 -120
  46. gsmap-1.61a0/docs/source/index.rst +0 -72
  47. gsmap-1.61a0/docs/source/mouse.rst +0 -26
  48. gsmap-1.61a0/docs/source/mouse_example.md +0 -389
  49. gsmap-1.61a0/src/gsMap/config.py +0 -734
  50. gsmap-1.61a0/src/gsMap/spatial_ldsc_multiple_sumstats.py +0 -307
  51. gsmap-1.61a0/src/gsMap/visualize.py +0 -154
  52. {gsmap-1.61a0 → gsmap-1.63}/.github/workflows/publish-to-pypi.yml +0 -0
  53. {gsmap-1.61a0 → gsmap-1.63}/.gitignore +0 -0
  54. {gsmap-1.61a0 → gsmap-1.63}/LICENSE +0 -0
  55. {gsmap-1.61a0 → gsmap-1.63}/docs/Makefile +0 -0
  56. {gsmap-1.61a0 → gsmap-1.63}/docs/make.bat +0 -0
  57. {gsmap-1.61a0 → gsmap-1.63}/docs/requirements.txt +0 -0
  58. {gsmap-1.61a0 → gsmap-1.63}/docs/source/api/cauchy_combination.rst +0 -0
  59. {gsmap-1.61a0 → gsmap-1.63}/docs/source/api/find_latent_representations.rst +0 -0
  60. {gsmap-1.61a0 → gsmap-1.63}/docs/source/api/generate_ldscore.rst +0 -0
  61. {gsmap-1.61a0 → gsmap-1.63}/docs/source/api/latent_to_gene.rst +0 -0
  62. {gsmap-1.61a0 → gsmap-1.63}/docs/source/api/spatial_ldsc.rst +0 -0
  63. {gsmap-1.61a0 → gsmap-1.63}/docs/source/charts/cortex/Cortex_151507_Height.json +0 -0
  64. {gsmap-1.61a0 → gsmap-1.63}/docs/source/charts/cortex/Cortex_151507_IQ.json +0 -0
  65. {gsmap-1.61a0 → gsmap-1.63}/docs/source/charts/cortex/Cortex_151507_MCHC.json +0 -0
  66. {gsmap-1.61a0 → gsmap-1.63}/docs/source/charts/cortex/Cortex_151507_SCZ.json +0 -0
  67. {gsmap-1.61a0 → gsmap-1.63}/docs/source/charts/mouse_embryo/E16.5_E1S1_Height.json +0 -0
  68. {gsmap-1.61a0 → gsmap-1.63}/docs/source/charts/mouse_embryo/E16.5_E1S1_IQ.json +0 -0
  69. {gsmap-1.61a0 → gsmap-1.63}/docs/source/charts/mouse_embryo/E16.5_E1S1_MCHC.json +0 -0
  70. {gsmap-1.61a0 → gsmap-1.63}/docs/source/charts/mouse_embryo/E16.5_E1S1_SCZ.json +0 -0
  71. {gsmap-1.61a0 → gsmap-1.63}/docs/source/charts/test.json +0 -0
  72. {gsmap-1.61a0 → gsmap-1.63}/docs/source/conf.py +0 -0
  73. {gsmap-1.61a0 → gsmap-1.63}/src/gsMap/GNN_VAE/__init__.py +0 -0
  74. {gsmap-1.61a0 → gsmap-1.63}/src/gsMap/__main__.py +0 -0
  75. {gsmap-1.61a0/src/gsMap → gsmap-1.63/src/gsMap/utils}/jackknife.py +0 -0
  76. {gsmap-1.61a0 → gsmap-1.63}/test/GPS-snakemake-workflow-macaque.smk +0 -0
  77. {gsmap-1.61a0 → 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.61a0
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
- [![stars-badge](https://img.shields.io/github/stars/LeonSong1995/MeDuSA?logo=GitHub&color=yellow)](https://github.com/LeonSong1995/gsMap/stargazers)
56
+ [![stars-badge](https://img.shields.io/github/stars/LeonSong1995/gsMap?logo=GitHub&color=yellow)](https://github.com/LeonSong1995/gsMap/stargazers)
57
+ [![pypi-badge](https://img.shields.io/pypi/v/gsMap)](https://pypi.org/p/gsMap)
56
58
  [![license-badge](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
57
59
 
60
+ ![Model architecture](schematic.png)
58
61
 
59
- ## Features
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
- This command initiates the process of finding latent representations based on the given HDF5 input and output paths and sample name.
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
- ## License
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
+ [![stars-badge](https://img.shields.io/github/stars/LeonSong1995/gsMap?logo=GitHub&color=yellow)](https://github.com/LeonSong1995/gsMap/stargazers)
3
+ [![pypi-badge](https://img.shields.io/pypi/v/gsMap)](https://pypi.org/p/gsMap)
4
+ [![license-badge](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
+
6
+ ![Model architecture](schematic.png)
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
+ ---