|
1 |
| -import sys |
2 | 1 | import os
|
| 2 | +import sys |
| 3 | + |
3 | 4 | import numpy as np
|
4 |
| -from utils.hase.config import MAPPER_CHUNK_SIZE, basedir, CONVERTER_SPLIT_SIZE, PYTHON_PATH |
| 5 | + |
| 6 | +from GenNet_utils.hase.config import MAPPER_CHUNK_SIZE, basedir, CONVERTER_SPLIT_SIZE, PYTHON_PATH |
5 | 7 |
|
6 | 8 | os.environ['HASEDIR'] = basedir
|
7 | 9 | if PYTHON_PATH is not None:
|
8 | 10 | for i in PYTHON_PATH: sys.path.insert(0, i)
|
9 |
| -import h5py |
10 |
| -import tables |
11 |
| -from utils.hase.hdgwas.tools import Timer, Checker, study_indexes, Mapper, HaseAnalyser, merge_genotype, Reference, timing, \ |
| 11 | +from GenNet_utils.hase.hdgwas.tools import Timer, Checker, study_indexes, Mapper, HaseAnalyser, merge_genotype, \ |
12 | 12 | check_np, check_converter
|
13 |
| -from utils.hase.hdgwas.converter import GenotypePLINK, GenotypeMINIMAC, GenotypeVCF |
14 |
| -from utils.hase.hdgwas.data import Reader, MetaParData, MetaPhenotype |
15 |
| -from utils.hase.hdgwas.fake import Encoder |
16 |
| -from utils.hase.hdgwas.hdregression import HASE, A_covariates, A_tests, B_covariates, C_matrix, A_inverse, B4 |
| 13 | +from GenNet_utils.hase.hdgwas.converter import GenotypePLINK, GenotypeMINIMAC, GenotypeVCF |
| 14 | +from GenNet_utils.hase.hdgwas.data import Reader, MetaParData, MetaPhenotype |
| 15 | +from GenNet_utils.hase.hdgwas.fake import Encoder |
| 16 | +from GenNet_utils.hase.hdgwas.hdregression import HASE, A_inverse, B4 |
17 | 17 | import argparse
|
18 | 18 | import gc
|
19 |
| -from utils.hase.hdgwas.pard import partial_derivatives |
20 |
| -from utils.hase.hdgwas.regression import haseregression |
| 19 | +from GenNet_utils.hase.hdgwas.pard import partial_derivatives |
| 20 | +from GenNet_utils.hase.hdgwas.regression import haseregression |
21 | 21 | import pandas as pd
|
22 | 22 | import time
|
23 |
| -from utils.hase.hdgwas.protocol import Protocol |
| 23 | +from GenNet_utils.hase.hdgwas.protocol import Protocol |
24 | 24 |
|
25 | 25 | __version__ = '1.1.0'
|
26 | 26 |
|
|
0 commit comments