Skip to content

Commit 6fbea97

Browse files
authored
Merge pull request #185 from dvitale199/related
updated het to +/-0.15
2 parents b72113c + 9c4dba2 commit 6fbea97

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

genotools/__main__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def handle_main():
6464

6565
if args_dict['het'] is not None:
6666
if len(args_dict['het']) == 0:
67-
args_dict['het'] = [-0.25, 0.25]
67+
args_dict['het'] = [-0.15, 0.15]
6868

6969
else:
7070
args_dict['het'] = [float(i) for i in args_dict['sex']]
@@ -81,7 +81,7 @@ def handle_main():
8181
args_dict['callrate'] = 0.05
8282
args_dict['sex'] = [0.25, 0.75]
8383
args_dict['related'] = True
84-
args_dict['het'] = [-0.25, 0.25]
84+
args_dict['het'] = [-0.15, 0.15]
8585

8686
if args_dict['all_variant']:
8787
args_dict['geno'] = 0.05

genotools/qc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def run_sex_prune(self, check_sex=[0.25,0.75]):
244244
return out_dict
245245

246246

247-
def run_het_prune(self, het_filter=[-0.25,0.25]):
247+
def run_het_prune(self, het_filter=[-0.15,0.15]):
248248

249249
"""
250250
Execute heterozygosity-based pruning on genotype data using PLINK.

0 commit comments

Comments
 (0)