genal-python 1.4.7__tar.gz → 1.4.8__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.
- {genal_python-1.4.7 → genal_python-1.4.8}/PKG-INFO +1 -1
- {genal_python-1.4.7 → genal_python-1.4.8}/genal/__init__.py +1 -1
- {genal_python-1.4.7 → genal_python-1.4.8}/genal/lift.py +2 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/pyproject.toml +1 -1
- {genal_python-1.4.7 → genal_python-1.4.8}/.DS_Store +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/.gitignore +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/.readthedocs.yaml +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/Genal_flowchart.png +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/LICENSE +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/README.md +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/docs/.DS_Store +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/docs/Makefile +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/docs/make.bat +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/docs/requirements.txt +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/docs/source/.DS_Store +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/docs/source/Images/Genal_flowchart.png +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/docs/source/Images/MR_plot_SBP_AS.png +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/docs/source/Images/genal_logo.png +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/docs/source/api.md +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/docs/source/concepts.md +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/docs/source/conf.py +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/docs/source/faq.md +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/docs/source/index.md +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/docs/source/introduction.md +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/docs/source/methods.md +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/docs/source/setup.md +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/docs/source/workflows.md +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/genal/Geno.py +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/genal/MR.py +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/genal/MR_tools.py +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/genal/MRpresso.py +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/genal/association.py +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/genal/clump.py +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/genal/colocalization.py +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/genal/constants.py +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/genal/extract_prs.py +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/genal/genes.py +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/genal/geno_tools.py +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/genal/proxy.py +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/genal/snp_query.py +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/genal/tools.py +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/genal_logo.png +0 -0
- {genal_python-1.4.7 → genal_python-1.4.8}/gitignore +0 -0
|
@@ -51,6 +51,8 @@ def lift_data(
|
|
|
51
51
|
# Prepare the data for lifting: handle missing values in CHR, POS columns
|
|
52
52
|
nrows = data.shape[0]
|
|
53
53
|
data.dropna(subset=["CHR", "POS"], inplace=True)
|
|
54
|
+
# Remove absurd positions
|
|
55
|
+
data = data[data.POS < 300_000_000]
|
|
54
56
|
data.reset_index(drop=True, inplace=True)
|
|
55
57
|
n_na = nrows - data.shape[0]
|
|
56
58
|
if n_na:
|
|
@@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "genal-python" # Updated name for PyPI
|
|
7
|
-
version = "1.4.
|
|
7
|
+
version = "1.4.8"
|
|
8
8
|
authors = [{name = "Cyprien Rivier", email = "riviercyprien@gmail.com"}]
|
|
9
9
|
description = "A python toolkit for polygenic risk scoring and mendelian randomization."
|
|
10
10
|
readme = "README.md"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|