aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2019-12-05 14:37:09 -0600
committerzsloan2019-12-05 14:37:09 -0600
commit90451d426124362dfd8ada807b15c733c718eb21 (patch)
treea83cf74711f2112d5904bfe69ddf2984fbc28e42
parentc2bfeab32d50cef99f1fb7984ed1432c2b2e7a54 (diff)
downloadgenenetwork2-90451d426124362dfd8ada807b15c733c718eb21.tar.gz
Fixed issue that caused Y chromosome and mitochondrial markers to cause an error
-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 5b34e837..3d3f26f3 100644
--- a/wqflask/wqflask/marker_regression/gemma_mapping.py
+++ b/wqflask/wqflask/marker_regression/gemma_mapping.py
@@ -214,7 +214,7 @@ def parse_loco_output(this_dataset, gwa_output_filename):
else:
marker = {}
marker['name'] = line.split("\t")[1]
- if line.split("\t")[0] != "X" and line.split("\t")[0] != "X/Y":
+ if line.split("\t")[0] != "X" and line.split("\t")[0] != "X/Y" and line.split("\t")[0] != "Y" and line.split("\t")[0] != "M":
if "chr" in line.split("\t")[0]:
marker['chr'] = int(line.split("\t")[0][3:])
else: