Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraluebbert committed May 25, 2024
1 parent ec44846 commit 47c5d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gget/gget_mutate.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def substitution_mutation(
# assert letters[0] == row['full_sequence'][starting_nucleotide_position_index_0], f"Transcript has {row['full_sequence'][starting_nucleotide_position_index_0]} at position {starting_nucleotide_position_index_0} but mutation is {letters[-1]} at position {starting_nucleotide_position_index_0} in {row[mut_column]}"
global cosmic_incorrect_wt_base
if letters[0] != row["full_sequence"][starting_nucleotide_position_index_0]:
logger.warning(
logger.debug(
f"Sequence {row[seq_id_column]} has nucleotide '{row['full_sequence'][starting_nucleotide_position_index_0]}' at position {starting_nucleotide_position_index_0}, but mutation {row[mut_column]} expected '{letters[0]}'."
)
cosmic_incorrect_wt_base += 1
Expand Down

0 comments on commit 47c5d77

Please sign in to comment.