diff --git a/coordinates_conversion/bin/fasta_diff.py b/coordinates_conversion/bin/fasta_diff.py index ed3e7b9..c68cf79 100644 --- a/coordinates_conversion/bin/fasta_diff.py +++ b/coordinates_conversion/bin/fasta_diff.py @@ -274,6 +274,7 @@ def match_split_subsequence(): def one_to_multiple_match(): stagelist=list() + stage_four_result=list() for match in onetomultiple: # one to mutiple if len(onetomultiple[match]['matches']) > 1: @@ -308,7 +309,6 @@ def one_to_multiple_match(): delete_pairs.update((pair1,pair2)) # add overlap pair to delete_pairs - stage_four_result=list() for delete in stagelist: if (delete[0],delete[3]) not in delete_pairs: stage_four_result.append(delete)