Skip to content

Commit

Permalink
add LOS to snpeff filtering criteria
Browse files Browse the repository at this point in the history
  • Loading branch information
anwarMZ committed Mar 1, 2023
1 parent eb63eaf commit 332e8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def select_snpeff_records(eff_string, ao_count):
eff_list = eff_string.split(",")

# if any records in the row contain '|p.', take only those records
EFF_records_list = [s for s in eff_list if '|p.' in s]
EFF_records_list = [s for s in eff_list if '|p.' or 'LOF' in s]

# if no records contain '|p.', take the "intergenic" record
if len(EFF_records_list) == 0:
Expand Down

0 comments on commit 332e8f7

Please sign in to comment.