gwaslab 3.4.42__py3-none-any.whl → 3.4.44__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.
Potentially problematic release.
This version of gwaslab might be problematic. Click here for more details.
- gwaslab/cache_manager.py +687 -0
- gwaslab/g_Sumstats.py +4 -2
- gwaslab/g_version.py +2 -2
- gwaslab/hm_harmonize_sumstats.py +227 -33
- gwaslab/qc_fix_sumstats.py +134 -35
- gwaslab/viz_plot_mqqplot.py +12 -11
- {gwaslab-3.4.42.dist-info → gwaslab-3.4.44.dist-info}/METADATA +5 -3
- {gwaslab-3.4.42.dist-info → gwaslab-3.4.44.dist-info}/RECORD +12 -11
- {gwaslab-3.4.42.dist-info → gwaslab-3.4.44.dist-info}/LICENSE +0 -0
- {gwaslab-3.4.42.dist-info → gwaslab-3.4.44.dist-info}/LICENSE_before_v3.4.39 +0 -0
- {gwaslab-3.4.42.dist-info → gwaslab-3.4.44.dist-info}/WHEEL +0 -0
- {gwaslab-3.4.42.dist-info → gwaslab-3.4.44.dist-info}/top_level.txt +0 -0
gwaslab/viz_plot_mqqplot.py
CHANGED
|
@@ -1031,17 +1031,18 @@ def mqqplot(insumstats,
|
|
|
1031
1031
|
|
|
1032
1032
|
def _add_pad_to_x_axis(ax1, xpad, xpadl, xpadr, sumstats):
|
|
1033
1033
|
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1034
|
+
if ax1 is not None:
|
|
1035
|
+
xmin, xmax = ax1.get_xlim()
|
|
1036
|
+
|
|
1037
|
+
if xpad is not None:
|
|
1038
|
+
pad = xpad* sumstats["i"].max()
|
|
1039
|
+
ax1.set_xlim([xmin - pad, xmin + pad])
|
|
1040
|
+
if xpadl is not None:
|
|
1041
|
+
pad = xpadl* sumstats["i"].max()
|
|
1042
|
+
ax1.set_xlim([xmin - pad,xmax])
|
|
1043
|
+
if xpadr is not None:
|
|
1044
|
+
pad = xpadr* sumstats["i"].max()
|
|
1045
|
+
ax1.set_xlim([xmin, xmax + pad])
|
|
1045
1046
|
|
|
1046
1047
|
return ax1
|
|
1047
1048
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: gwaslab
|
|
3
|
-
Version: 3.4.
|
|
3
|
+
Version: 3.4.44
|
|
4
4
|
Summary: A collection of handy tools for GWAS SumStats
|
|
5
5
|
Author-email: Yunye <yunye@gwaslab.com>
|
|
6
6
|
Project-URL: Homepage, https://cloufield.github.io/gwaslab/
|
|
@@ -24,6 +24,7 @@ Requires-Dist: liftover >=1.1.13
|
|
|
24
24
|
Requires-Dist: scikit-allel >=1.3.5
|
|
25
25
|
Requires-Dist: pyensembl ==2.2.3
|
|
26
26
|
Requires-Dist: gtfparse ==1.3.0
|
|
27
|
+
Requires-Dist: h5py >=3.10.0
|
|
27
28
|
|
|
28
29
|
# GWASLab
|
|
29
30
|
|
|
@@ -50,7 +51,7 @@ Warning: Known issues of GWASLab are summarized in [https://cloufield.github.io/
|
|
|
50
51
|
### install via pip
|
|
51
52
|
|
|
52
53
|
```
|
|
53
|
-
pip install gwaslab==3.4.
|
|
54
|
+
pip install gwaslab==3.4.43
|
|
54
55
|
```
|
|
55
56
|
|
|
56
57
|
```python
|
|
@@ -89,7 +90,7 @@ Create a Python 3.9 environment and install gwaslab using pip:
|
|
|
89
90
|
```
|
|
90
91
|
conda env create -n gwaslab_test -c conda-forge python=3.9
|
|
91
92
|
conda activate gwaslab
|
|
92
|
-
pip install gwaslab==3.4.
|
|
93
|
+
pip install gwaslab==3.4.43
|
|
93
94
|
```
|
|
94
95
|
|
|
95
96
|
or create a new environment using yml file [environment_3.4.40.yml](https://github.com/Cloufield/gwaslab/blob/main/environment_3.4.40.yml)
|
|
@@ -193,6 +194,7 @@ dependencies:
|
|
|
193
194
|
- adjustText==0.8
|
|
194
195
|
- pysam==0.19
|
|
195
196
|
- pyensembl==2.2.3
|
|
197
|
+
- h5py==3.10.0
|
|
196
198
|
```
|
|
197
199
|
|
|
198
200
|
## How to cite
|
|
@@ -3,17 +3,18 @@ gwaslab/bd_common_data.py,sha256=v98X3tdRNOVE2gCiSHkfyBb0pSIjTk5IFG8A725Oj3o,126
|
|
|
3
3
|
gwaslab/bd_config.py,sha256=TP-r-DPhJD3XnRYZbw9bQHXaDIkiRgK8bG9HCt-UaLc,580
|
|
4
4
|
gwaslab/bd_download.py,sha256=cDDk2C5IvjeAzvPvVYGTkI4Ss33DUtEDjGo8eAbQRvY,15663
|
|
5
5
|
gwaslab/bd_get_hapmap3.py,sha256=asNjQYeGfQi8u3jnfenRvDdKMs5ptql5wpcUzqMlwUI,3937
|
|
6
|
+
gwaslab/cache_manager.py,sha256=HOTnSkCOyGEPLRl90WT8D_6pAdI8d8AzenMIDGuCeWc,28113
|
|
6
7
|
gwaslab/g_Log.py,sha256=C3Zv-_6c3C9ms8bgQ-ytplz22sjk7euqXYkWr9zNeAs,1573
|
|
7
8
|
gwaslab/g_Phenotypes.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
-
gwaslab/g_Sumstats.py,sha256=
|
|
9
|
+
gwaslab/g_Sumstats.py,sha256=NOEQd00guGch_GIt5bHv1wcrAvETfChqzmtgm-nIx_I,35298
|
|
9
10
|
gwaslab/g_SumstatsPair.py,sha256=tbgT-_1CqDEw22s4LbVJWF3ChELxz0gy1DEBzLc9ODU,8833
|
|
10
11
|
gwaslab/g_SumstatsT.py,sha256=u_DighLMnMxwTLnqm-B58pA0G6WXRj6pudPyKMVKjSU,2133
|
|
11
12
|
gwaslab/g_Sumstats_summary.py,sha256=FECvvFXJVKaCX5dggBvvk9YvJ6AbdbcLfjltysX7wEE,6380
|
|
12
13
|
gwaslab/g_meta.py,sha256=htWlgURWclm9R6UqFcX1a93WN27xny7lGUeyJZOtszQ,2583
|
|
13
14
|
gwaslab/g_vchange_status.py,sha256=eX0jdIb6Spa07ZdpWNqUWqdVBWS0fuH2yrt4PDi3Res,1746
|
|
14
|
-
gwaslab/g_version.py,sha256=
|
|
15
|
+
gwaslab/g_version.py,sha256=44qNMttuGuAyDPPblc1z0V9R5lHo9z8x2_E6JuZ6eBE,1818
|
|
15
16
|
gwaslab/hm_casting.py,sha256=FqP4EQl83Q2OKLw004OgLIvUH795TVCGwziLk5jsHqY,11368
|
|
16
|
-
gwaslab/hm_harmonize_sumstats.py,sha256=
|
|
17
|
+
gwaslab/hm_harmonize_sumstats.py,sha256=CADIG_KLsoq4y21wN0fyaaG2S4PDpKu96Y0of6b0TaU,78184
|
|
17
18
|
gwaslab/hm_rsid_to_chrpos.py,sha256=ODWREO0jPN0RAfNzL5fRzSRANfhiksOvUVPuEsFZQqA,6552
|
|
18
19
|
gwaslab/io_preformat_input.py,sha256=w62JLAr16Ru0EgUtBCEV2eXRO89OqhidQxwf2IPAM38,20014
|
|
19
20
|
gwaslab/io_read_ldsc.py,sha256=8S9n4imgl4d0WPms_GYld-6uUM5z7iWGiCA-M814kzY,12123
|
|
@@ -27,7 +28,7 @@ gwaslab/ldsc_parse.py,sha256=MBnfgcWlV4oHp9MoDRh1mpilaHhAR15Af77hMFn4-5k,10564
|
|
|
27
28
|
gwaslab/ldsc_regressions.py,sha256=yzbGjgNV7u-SWXNPsh9S8y9mK97Bim_Nmad9G9V18ZU,30078
|
|
28
29
|
gwaslab/ldsc_sumstats.py,sha256=O0olsDxKlh1MJ1gAuEN1t40rxhajOEwOQ20ak7xoDrI,26245
|
|
29
30
|
gwaslab/qc_check_datatype.py,sha256=kW68uk4dTLOU2b1dHoVat6n0loundDysAjIqxsXW28Q,3379
|
|
30
|
-
gwaslab/qc_fix_sumstats.py,sha256=
|
|
31
|
+
gwaslab/qc_fix_sumstats.py,sha256=cpJibJ_77p4cg39R4zRunhOK2deIK4PfQA9wmYZgyqk,92745
|
|
31
32
|
gwaslab/run_script.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
32
33
|
gwaslab/util_ex_calculate_ldmatrix.py,sha256=LpE__LoYRHLgVKlCHo6lYWlz9LEUVUDqYPEAP-Svbm0,14598
|
|
33
34
|
gwaslab/util_ex_calculate_prs.py,sha256=5l1eiZs8YwIpEgp7i3IurP8n5KwQM5awbG9fWSm4iT4,9053
|
|
@@ -58,7 +59,7 @@ gwaslab/viz_plot_compare_effect.py,sha256=8om3y6YQfnOk4FfkKSpKr2KqJcsMeCwQ6FRRKb
|
|
|
58
59
|
gwaslab/viz_plot_forestplot.py,sha256=xgOnefh737CgdQxu5naVyRNBX1NQXPFKzf51fbh6afs,6771
|
|
59
60
|
gwaslab/viz_plot_miamiplot.py,sha256=rCFEp7VNuVqeBBG3WRkmFAtFklbF79BvIQQYiSY70VY,31238
|
|
60
61
|
gwaslab/viz_plot_miamiplot2.py,sha256=SWv82D8UBbREKsk8EoKth-2w68l6FbXyVLsb_E1hh8o,15882
|
|
61
|
-
gwaslab/viz_plot_mqqplot.py,sha256=
|
|
62
|
+
gwaslab/viz_plot_mqqplot.py,sha256=PzRWnm11whxww7ut-bzFkj1sbPc_c0OP7yRpIgYo2iQ,61739
|
|
62
63
|
gwaslab/viz_plot_qqplot.py,sha256=psQgVpP29686CEZkzQz0iRbApzqy7aE3GGiBcazVvNw,7247
|
|
63
64
|
gwaslab/viz_plot_regionalplot.py,sha256=PBIWkNj2fj-dRLKQJNpM8wor5jya2anqix0-UYLE0Is,37901
|
|
64
65
|
gwaslab/viz_plot_rg_heatmap.py,sha256=PidUsgOiEVt6MfBPCF3_yDhOEytZ-I1q-ZD6_0pFrV4,13713
|
|
@@ -72,9 +73,9 @@ gwaslab/data/hapmap3_SNPs/hapmap3_db150_hg19.snplist.gz,sha256=qD9RsC5S2h6l-OdpW
|
|
|
72
73
|
gwaslab/data/hapmap3_SNPs/hapmap3_db151_hg38.snplist.gz,sha256=Y8ZT2FIAhbhlgCJdE9qQVAiwnV_fcsPt72usBa7RSBM,10225828
|
|
73
74
|
gwaslab/data/high_ld/high_ld_hla_hg19.bed.gz,sha256=R7IkssKu0L4WwkU9SrS84xCMdrkkKL0gnTNO_OKbG0Y,219
|
|
74
75
|
gwaslab/data/high_ld/high_ld_hla_hg38.bed.gz,sha256=76CIU0pibDJ72Y6UY-TbIKE9gEPwTELAaIbCXyjm80Q,470
|
|
75
|
-
gwaslab-3.4.
|
|
76
|
-
gwaslab-3.4.
|
|
77
|
-
gwaslab-3.4.
|
|
78
|
-
gwaslab-3.4.
|
|
79
|
-
gwaslab-3.4.
|
|
80
|
-
gwaslab-3.4.
|
|
76
|
+
gwaslab-3.4.44.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
77
|
+
gwaslab-3.4.44.dist-info/LICENSE_before_v3.4.39,sha256=GhLOU_1UDEKeOacYhsRN_m9u-eIuVTazSndZPeNcTZA,1066
|
|
78
|
+
gwaslab-3.4.44.dist-info/METADATA,sha256=PJUO56s9S_nfVnZlRCYuSq-6BADrRxjcwjAqaAjJWc8,7764
|
|
79
|
+
gwaslab-3.4.44.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
80
|
+
gwaslab-3.4.44.dist-info/top_level.txt,sha256=PyY6hWtrALpv2MAN3kjkIAzJNmmBTH5a2risz9KwH08,8
|
|
81
|
+
gwaslab-3.4.44.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|