panicle 0.1.0__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.
- panicle/__init__.py +48 -0
- panicle/association/__init__.py +10 -0
- panicle/association/blink.py +1506 -0
- panicle/association/farmcpu.py +1222 -0
- panicle/association/farmcpu_resampling.py +383 -0
- panicle/association/glm.py +69 -0
- panicle/association/glm_fwl_qr.py +630 -0
- panicle/association/lrt.py +118 -0
- panicle/association/mlm.py +803 -0
- panicle/association/mlm_loco.py +303 -0
- panicle/cli/__init__.py +0 -0
- panicle/cli/utils.py +120 -0
- panicle/core/__init__.py +1 -0
- panicle/core/mvp.py +543 -0
- panicle/data/__init__.py +0 -0
- panicle/data/converters.py +10 -0
- panicle/data/io_utils.py +263 -0
- panicle/data/load_genotype_hapmap.py +262 -0
- panicle/data/load_genotype_plink.py +232 -0
- panicle/data/load_genotype_vcf.py +932 -0
- panicle/data/loaders.py +788 -0
- panicle/matrix/__init__.py +0 -0
- panicle/matrix/kinship.py +241 -0
- panicle/matrix/kinship_loco.py +338 -0
- panicle/matrix/pca.py +339 -0
- panicle/pipelines/__init__.py +0 -0
- panicle/pipelines/gwas.py +1216 -0
- panicle/py.typed +0 -0
- panicle/tools/__init__.py +1 -0
- panicle/tools/convert_genotype.py +107 -0
- panicle/utils/__init__.py +0 -0
- panicle/utils/compression.py +93 -0
- panicle/utils/data_types.py +653 -0
- panicle/utils/effective_tests.py +831 -0
- panicle/utils/memmap_utils.py +478 -0
- panicle/utils/perf.py +143 -0
- panicle/utils/stats.py +143 -0
- panicle/visualization/__init__.py +0 -0
- panicle/visualization/manhattan.py +1116 -0
- panicle-0.1.0.dist-info/METADATA +295 -0
- panicle-0.1.0.dist-info/RECORD +45 -0
- panicle-0.1.0.dist-info/WHEEL +5 -0
- panicle-0.1.0.dist-info/entry_points.txt +2 -0
- panicle-0.1.0.dist-info/licenses/LICENSE +21 -0
- panicle-0.1.0.dist-info/top_level.txt +1 -0
panicle/__init__.py
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"""
|
|
2
|
+
PANICLE: Python Algorithms for Nucleotide-phenotype Inference and
|
|
3
|
+
Chromosome-wide Locus Evaluation
|
|
4
|
+
|
|
5
|
+
A comprehensive, memory-efficient, and parallel-accelerated
|
|
6
|
+
genome-wide association study (GWAS) tool.
|
|
7
|
+
Based on the original rMVP package design.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
import os
|
|
11
|
+
import warnings
|
|
12
|
+
|
|
13
|
+
# Suppress OpenMP deprecation warnings that occur with Numba parallel processing
|
|
14
|
+
# This is a known issue with newer OpenMP versions and Numba's parallel features
|
|
15
|
+
# The warning is cosmetic and does not affect functionality
|
|
16
|
+
os.environ.setdefault('KMP_WARNINGS', 'off')
|
|
17
|
+
|
|
18
|
+
# Filter out the specific OpenMP deprecation warning
|
|
19
|
+
warnings.filterwarnings('ignore', message='.*omp_set_nested.*deprecated.*')
|
|
20
|
+
warnings.filterwarnings('ignore', category=UserWarning, message='.*omp_set_nested.*')
|
|
21
|
+
|
|
22
|
+
__version__ = "0.1.0"
|
|
23
|
+
__author__ = "James C. Schnable"
|
|
24
|
+
|
|
25
|
+
from .core.mvp import PANICLE
|
|
26
|
+
from .data.converters import PANICLE_Data
|
|
27
|
+
from .matrix.kinship import PANICLE_K_VanRaden, PANICLE_K_IBS
|
|
28
|
+
from .matrix.pca import PANICLE_PCA
|
|
29
|
+
from .association.glm import PANICLE_GLM
|
|
30
|
+
from .association.mlm import PANICLE_MLM
|
|
31
|
+
from .association.farmcpu import PANICLE_FarmCPU
|
|
32
|
+
from .association.blink import PANICLE_BLINK
|
|
33
|
+
from .association.farmcpu_resampling import PANICLE_FarmCPUResampling
|
|
34
|
+
from .visualization.manhattan import PANICLE_Report
|
|
35
|
+
|
|
36
|
+
__all__ = [
|
|
37
|
+
'PANICLE',
|
|
38
|
+
'PANICLE_Data',
|
|
39
|
+
'PANICLE_K_VanRaden',
|
|
40
|
+
'PANICLE_K_IBS',
|
|
41
|
+
'PANICLE_PCA',
|
|
42
|
+
'PANICLE_GLM',
|
|
43
|
+
'PANICLE_MLM',
|
|
44
|
+
'PANICLE_FarmCPU',
|
|
45
|
+
'PANICLE_BLINK',
|
|
46
|
+
'PANICLE_FarmCPUResampling',
|
|
47
|
+
'PANICLE_Report'
|
|
48
|
+
]
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Association testing methods for GWAS analysis
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from .glm import PANICLE_GLM
|
|
6
|
+
from .mlm import PANICLE_MLM
|
|
7
|
+
from .farmcpu import PANICLE_FarmCPU
|
|
8
|
+
from .blink import PANICLE_BLINK
|
|
9
|
+
|
|
10
|
+
__all__ = ['PANICLE_GLM', 'PANICLE_MLM', 'PANICLE_FarmCPU', 'PANICLE_BLINK']
|