From 02cb9710a83bc81abe198cb089dc5a70baf1b657 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Mon, 9 Mar 2015 15:37:39 +0300 Subject: Write genotype file (start) --- wqflask/wqflask/my_pylmm/pyLMM/convertlmm.py | 4 ++-- 1 file 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) -- cgit v1.2.3