blob: 5ce7adbce77ebc2c3c782637f669c59c90a81848 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
from __future__ import absolute_import, print_function, division
import cPickle as pickle
import redis
Redis = redis.Redis()
from wqflask.my_pylmm.pyLMM import lmm
lmm_vars_pickled = Redis.get("lmm_vars")
plink_pickled = Redis.lpop("plink_inputs")
plink_data = pickle.loads(plink_pickled)
ps, ts = lmm.human_association(snp,
n,
keep,
lmm_ob,
pheno_vector,
covariate_matrix,
kinship_matrix,
refit)
|