Skip to content

Commit

Permalink
Merge pull request #33 from ammaraziz/master
Browse files Browse the repository at this point in the history
Support for amino acids, correct ambiguous handling
  • Loading branch information
aineniamh authored Apr 12, 2024
2 parents 55aa31b + 258303a commit 863e518
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion snipit/scripts/snp_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,14 @@ def find_snps(reference_seq,input_seqs,show_indels):

return snp_dict,record_snps,len(var_counter)

def find_ambiguities(alignment, snp_dict):
def find_ambiguities(alignment,snp_dict,sequence_type):


if sequence_type == "nt":
amb = NT_AMBIG
if sequence_type == "aa":
amb = AA_AMBIG


snp_sites = collections.defaultdict(list)
for seq in snp_dict:
Expand Down

0 comments on commit 863e518

Please sign in to comment.