aboutsummaryrefslogtreecommitdiff
path: root/wqflask/wqflask
diff options
context:
space:
mode:
authorzsloan2017-02-08 12:28:24 -0600
committerGitHub2017-02-08 12:28:24 -0600
commitce55cd478b70b7a9692a24c2bc8fa47d84ea19a4 (patch)
treecc515905822ac8e8118c614c9a34b07a5f02ddda /wqflask/wqflask
parent89bf4e8f32f52f412f5208961f311d25334f5975 (diff)
parentd015b37f863c69932072d4ecf9fa1c1cd7fd3ee0 (diff)
downloadgenenetwork2-ce55cd478b70b7a9692a24c2bc8fa47d84ea19a4.tar.gz
Merge pull request #245 from zsloan/master
Changed the way .fam files are written/read, which fixes the issue wi…
Diffstat (limited to 'wqflask/wqflask')
-rw-r--r--wqflask/wqflask/marker_regression/gemma_mapping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/marker_regression/gemma_mapping.py b/wqflask/wqflask/marker_regression/gemma_mapping.py
index 66bed5a2..3bde61cd 100644
--- a/wqflask/wqflask/marker_regression/gemma_mapping.py
+++ b/wqflask/wqflask/marker_regression/gemma_mapping.py
@@ -41,7 +41,7 @@ def gen_pheno_txt_file(this_dataset, samples, vals):
this_val = -9
else:
this_val = vals[i]
- outfile.write(line[0] + " " + line[1] + " " + line[2] + " " + line[3] + " " + line[4] + " " + str(this_val) + "\n")
+ outfile.write("0" + " " + line[1] + " " + line[2] + " " + line[3] + " " + line[4] + " " + str(this_val) + "\n")
def parse_gemma_output(this_dataset):
included_markers = []