diff options
author | Pjotr Prins | 2015-03-09 15:34:16 +0300 |
---|---|---|
committer | Pjotr Prins | 2015-03-09 15:34:16 +0300 |
commit | f92657b08cb2dab8b24c69dee525f52c125713a3 (patch) | |
tree | 2f2d86d004f43b47fef833d133eb91be5b348745 /wqflask | |
parent | d924bc5842d2813aad8359b9cb614c2a87df1ee9 (diff) | |
download | genenetwork2-f92657b08cb2dab8b24c69dee525f52c125713a3.tar.gz |
Write genotype file (start)
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/my_pylmm/pyLMM/convertlmm.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/wqflask/wqflask/my_pylmm/pyLMM/convertlmm.py b/wqflask/wqflask/my_pylmm/pyLMM/convertlmm.py index d04f9b94..7376a1d5 100644 --- a/wqflask/wqflask/my_pylmm/pyLMM/convertlmm.py +++ b/wqflask/wqflask/my_pylmm/pyLMM/convertlmm.py @@ -150,8 +150,10 @@ if options.geno: wrln("# Phenotypes = "+str(len(num_snps))) def out(i,x): - # print(i,x) - pass + wr(str(i)+"\t") + for v in x: + wr("\t".join(str(v))) + wr("\n") snps = plink.readbed(options.geno+'.bed',num_inds, out) # for i in range(num_snps): |