about summary refs log tree commit diff
path: root/wqflask/maintenance/get_group_samplelists.py
diff options
context:
space:
mode:
authorPjotr Prins2016-06-17 06:48:01 +0000
committerPjotr Prins2016-06-17 06:48:01 +0000
commit93e3878c8b97ecbf28630e4bb3733a29f4cf45aa (patch)
treeef92de7c75b7899b406e99c97006a7e2b20bd86b /wqflask/maintenance/get_group_samplelists.py
parenteb84f7c0e384e08b810e052fd3935f6d977b7ea2 (diff)
parent10df36b60273d81678f6630c07a2d8e5a6409282 (diff)
downloadgenenetwork2-93e3878c8b97ecbf28630e4bb3733a29f4cf45aa.tar.gz
Conflict
Diffstat (limited to 'wqflask/maintenance/get_group_samplelists.py')
-rwxr-xr-xwqflask/maintenance/get_group_samplelists.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/wqflask/maintenance/get_group_samplelists.py b/wqflask/maintenance/get_group_samplelists.py
index a9059fad..2d48ce78 100755
--- a/wqflask/maintenance/get_group_samplelists.py
+++ b/wqflask/maintenance/get_group_samplelists.py
@@ -28,7 +28,7 @@ def get_samplelist_from_geno(genofilename):
         genofile = gzip.open(genofilename)
     else:
         genofile = open(genofilename)
-        
+
     for line in genofile:
         line = line.strip()
         if not line:
@@ -36,9 +36,9 @@ def get_samplelist_from_geno(genofilename):
         if line.startswith(("#", "@")):
             continue
         break
-    
+
     headers = line.split()
-    
+
     if headers[3] == "Mb":
         samplelist = headers[4:]
     else:
@@ -47,7 +47,7 @@ def get_samplelist_from_geno(genofilename):
 
 def get_samplelist_from_plink(genofilename):
     genofile = open(genofilename)
-    
+
     samplelist = []
     for line in genofile:
         line = line.split(" ")