genal-python 1.3.0__tar.gz → 1.3.1__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.3.0 → genal_python-1.3.1}/PKG-INFO +2 -2
- {genal_python-1.3.0 → genal_python-1.3.1}/README.md +1 -1
- {genal_python-1.3.0 → genal_python-1.3.1}/genal/Geno.py +5 -3
- {genal_python-1.3.0 → genal_python-1.3.1}/genal/__init__.py +1 -1
- {genal_python-1.3.0 → genal_python-1.3.1}/pyproject.toml +1 -1
- {genal_python-1.3.0 → genal_python-1.3.1}/.DS_Store +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/.gitignore +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/.readthedocs.yaml +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/Genal_flowchart.png +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/LICENSE +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/.DS_Store +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/Makefile +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/.DS_Store +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/.buildinfo +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/.doctrees/api.doctree +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/.doctrees/environment.pickle +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/.doctrees/genal.doctree +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/.doctrees/index.doctree +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/.doctrees/introduction.doctree +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/.doctrees/modules.doctree +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_images/MR_plot_SBP_AS.png +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_modules/genal/Geno.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_modules/genal/MR.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_modules/genal/MR_tools.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_modules/genal/MRpresso.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_modules/genal/association.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_modules/genal/clump.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_modules/genal/extract_prs.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_modules/genal/geno_tools.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_modules/genal/lift.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_modules/genal/proxy.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_modules/genal/snp_query.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_modules/genal/tools.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_modules/index.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_sources/api.rst.txt +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_sources/genal.rst.txt +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_sources/index.rst.txt +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_sources/introduction.rst.txt +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_sources/modules.rst.txt +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/basic.css +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/badge_only.css +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/Roboto-Slab-Bold.woff +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/Roboto-Slab-Bold.woff2 +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/Roboto-Slab-Regular.woff +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/Roboto-Slab-Regular.woff2 +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/fontawesome-webfont.eot +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/fontawesome-webfont.svg +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/fontawesome-webfont.ttf +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/fontawesome-webfont.woff +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/fontawesome-webfont.woff2 +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/lato-bold-italic.woff +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/lato-bold-italic.woff2 +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/lato-bold.woff +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/lato-bold.woff2 +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/lato-normal-italic.woff +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/lato-normal-italic.woff2 +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/lato-normal.woff +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/lato-normal.woff2 +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/theme.css +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/doctools.js +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/documentation_options.js +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/file.png +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/js/badge_only.js +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/js/html5shiv-printshiv.min.js +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/js/html5shiv.min.js +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/js/theme.js +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/language_data.js +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/minus.png +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/plus.png +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/pygments.css +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/searchtools.js +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/sphinx_highlight.js +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/api.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/genal.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/genindex.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/index.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/introduction.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/modules.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/objects.inv +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/py-modindex.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/search.html +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/build/searchindex.js +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/make.bat +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/requirements.txt +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/source/.DS_Store +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/source/Images/Genal_flowchart.png +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/source/Images/MR_plot_SBP_AS.png +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/source/Images/genal_logo.png +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/source/api.rst +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/source/conf.py +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/source/index.rst +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/source/introduction.rst +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/docs/source/modules.rst +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/genal/MR.py +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/genal/MR_tools.py +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/genal/MRpresso.py +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/genal/association.py +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/genal/clump.py +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/genal/colocalization.py +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/genal/constants.py +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/genal/extract_prs.py +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/genal/geno_tools.py +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/genal/lift.py +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/genal/proxy.py +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/genal/snp_query.py +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/genal/tools.py +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/genal_logo.png +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/gitignore +0 -0
- {genal_python-1.3.0 → genal_python-1.3.1}/readthedocs.yaml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: genal-python
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.1
|
|
4
4
|
Summary: A python toolkit for polygenic risk scoring and mendelian randomization.
|
|
5
5
|
Author-email: Cyprien Rivier <riviercyprien@gmail.com>
|
|
6
6
|
Requires-Python: >=3.8
|
|
@@ -72,7 +72,7 @@ Genal is a python module designed to make it easy and intuitive to run genetic r
|
|
|
72
72
|
- **Comprehensive MR Pipeline**: From data preprocessing to sensitivity analyses and plotting in a single package
|
|
73
73
|
- **Reference Panel Support**: Automatically download and use the latest 1000 Genomes reference panels in builds 37 and 38 with the option to use custom reference panels
|
|
74
74
|
- **Customizable**: Ability to choose all the parameters, but defaults are set to the most common values
|
|
75
|
-
- **Proxy SNP Support**: Includes functionality for finding and using proxy SNPs when instruments are missing (for polygenic risk scores, Mendelian Randomization
|
|
75
|
+
- **Proxy SNP Support**: Includes functionality for finding and using proxy SNPs when instruments are missing (for polygenic risk scores, Mendelian Randomization)
|
|
76
76
|
|
|
77
77
|
The objective of genal is to bring the functionalities of well-established R packages such as TwoSampleMR, MR-Presso, MendelianRandomization, and gwasvcf, in a more user-friendly Python environment. This approach ensures that users have access to tried and tested techniques with the versatility of Python's data science tools.
|
|
78
78
|
|
|
@@ -47,7 +47,7 @@ Genal is a python module designed to make it easy and intuitive to run genetic r
|
|
|
47
47
|
- **Comprehensive MR Pipeline**: From data preprocessing to sensitivity analyses and plotting in a single package
|
|
48
48
|
- **Reference Panel Support**: Automatically download and use the latest 1000 Genomes reference panels in builds 37 and 38 with the option to use custom reference panels
|
|
49
49
|
- **Customizable**: Ability to choose all the parameters, but defaults are set to the most common values
|
|
50
|
-
- **Proxy SNP Support**: Includes functionality for finding and using proxy SNPs when instruments are missing (for polygenic risk scores, Mendelian Randomization
|
|
50
|
+
- **Proxy SNP Support**: Includes functionality for finding and using proxy SNPs when instruments are missing (for polygenic risk scores, Mendelian Randomization)
|
|
51
51
|
|
|
52
52
|
The objective of genal is to bring the functionalities of well-established R packages such as TwoSampleMR, MR-Presso, MendelianRandomization, and gwasvcf, in a more user-friendly Python environment. This approach ensures that users have access to tried and tested techniques with the versatility of Python's data science tools.
|
|
53
53
|
|
|
@@ -42,8 +42,10 @@ from .colocalization import coloc_abf_func
|
|
|
42
42
|
# Add proxying function (input is df + searchspace (list of SNP or path to .bim, can be separated by chromosomes) and returns proxied df)
|
|
43
43
|
# Get proxies (simply return a list of proxies)
|
|
44
44
|
# Include proxying option to association_test
|
|
45
|
-
#
|
|
45
|
+
# Multivariable-MR
|
|
46
46
|
# Check stability with variants on sexual chromosomes
|
|
47
|
+
# Check the build of user data (potentially with a list of SNPs with different positions)
|
|
48
|
+
# update_snpids function: take alleles into account during the merge if they are present in the user data
|
|
47
49
|
|
|
48
50
|
|
|
49
51
|
class Geno:
|
|
@@ -154,7 +156,7 @@ class Geno:
|
|
|
154
156
|
def preprocess_data(
|
|
155
157
|
self,
|
|
156
158
|
preprocessing='Fill',
|
|
157
|
-
reference_panel="
|
|
159
|
+
reference_panel="37",
|
|
158
160
|
effect_column=None,
|
|
159
161
|
keep_indel=None,
|
|
160
162
|
keep_dups=None,
|
|
@@ -290,7 +292,7 @@ class Geno:
|
|
|
290
292
|
|
|
291
293
|
self.data = data
|
|
292
294
|
|
|
293
|
-
def get_reference_panel(self, reference_panel="
|
|
295
|
+
def get_reference_panel(self, reference_panel="37"):
|
|
294
296
|
"""
|
|
295
297
|
Retrieve or set the reference panel for the Geno object.
|
|
296
298
|
|
|
@@ -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.3.
|
|
7
|
+
version = "1.3.1"
|
|
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
|
{genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/Roboto-Slab-Bold.woff
RENAMED
|
File without changes
|
{genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/Roboto-Slab-Bold.woff2
RENAMED
|
File without changes
|
{genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/Roboto-Slab-Regular.woff
RENAMED
|
File without changes
|
{genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/Roboto-Slab-Regular.woff2
RENAMED
|
File without changes
|
{genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/fontawesome-webfont.eot
RENAMED
|
File without changes
|
{genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/fontawesome-webfont.svg
RENAMED
|
File without changes
|
{genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/fontawesome-webfont.ttf
RENAMED
|
File without changes
|
{genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/fontawesome-webfont.woff
RENAMED
|
File without changes
|
{genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/fontawesome-webfont.woff2
RENAMED
|
File without changes
|
{genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/lato-bold-italic.woff
RENAMED
|
File without changes
|
{genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/lato-bold-italic.woff2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/lato-normal-italic.woff
RENAMED
|
File without changes
|
{genal_python-1.3.0 → genal_python-1.3.1}/docs/build/_static/css/fonts/lato-normal-italic.woff2
RENAMED
|
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
|
|
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
|