Skip to content

Commit

Permalink
update nt_delins_regex
Browse files Browse the repository at this point in the history
  • Loading branch information
miseminger committed Apr 29, 2024
1 parent 047f085 commit e18dfa9
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 @@ -84,7 +84,7 @@ def add_hgvs_names(new_gvf):
# for ins
nt_ins_regex = "[a-z]\\.[0-9\\-_]+ins[A-Z]+"
# for delins, eg. g.GCC10182_10184ACA
nt_delins_regex = "[a-z]\\.[A-Z]{2,}[0-9\\-_][A-Z]+" ##not quite right!
nt_delins_regex = "[a-z]\.[A-Z]+-?[0-9]+_-?[0-9]+[A-Z]+"

#df.loc[mask, 'val'] = df.loc[mask, 'val'].apply(f)
# add hgvs nt snp names
Expand Down

0 comments on commit e18dfa9

Please sign in to comment.