Skip to content

Commit

Permalink
Merge pull request #185 from dvitale199/related
Browse files Browse the repository at this point in the history
updated het to +/-0.15
  • Loading branch information
dvitale199 authored Jun 20, 2024
2 parents b72113c + 9c4dba2 commit 6fbea97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions genotools/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def handle_main():

if args_dict['het'] is not None:
if len(args_dict['het']) == 0:
args_dict['het'] = [-0.25, 0.25]
args_dict['het'] = [-0.15, 0.15]

else:
args_dict['het'] = [float(i) for i in args_dict['sex']]
Expand All @@ -81,7 +81,7 @@ def handle_main():
args_dict['callrate'] = 0.05
args_dict['sex'] = [0.25, 0.75]
args_dict['related'] = True
args_dict['het'] = [-0.25, 0.25]
args_dict['het'] = [-0.15, 0.15]

if args_dict['all_variant']:
args_dict['geno'] = 0.05
Expand Down
2 changes: 1 addition & 1 deletion genotools/qc.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def run_sex_prune(self, check_sex=[0.25,0.75]):
return out_dict


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

"""
Execute heterozygosity-based pruning on genotype data using PLINK.
Expand Down

0 comments on commit 6fbea97

Please sign in to comment.