aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2015-03-09 15:37:39 +0300
committerPjotr Prins2015-03-09 15:37:39 +0300
commit02cb9710a83bc81abe198cb089dc5a70baf1b657 (patch)
tree2283ba9a0c9f8464da3aa075a78d3a0701d4cfa2
parentf92657b08cb2dab8b24c69dee525f52c125713a3 (diff)
downloadgenenetwork2-02cb9710a83bc81abe198cb089dc5a70baf1b657.tar.gz
Write genotype file (start)
-rw-r--r--wqflask/wqflask/my_pylmm/pyLMM/convertlmm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/my_pylmm/pyLMM/convertlmm.py b/wqflask/wqflask/my_pylmm/pyLMM/convertlmm.py
index 7376a1d5..a3728bd2 100644
--- a/wqflask/wqflask/my_pylmm/pyLMM/convertlmm.py
+++ b/wqflask/wqflask/my_pylmm/pyLMM/convertlmm.py
@@ -151,8 +151,8 @@ if options.geno:
def out(i,x):
wr(str(i)+"\t")
- for v in x:
- wr("\t".join(str(v)))
+ lst = [str(v) for v in x]
+ wr("\t".join(lst))
wr("\n")
snps = plink.readbed(options.geno+'.bed',num_inds, out)