diff --git a/lib/input_file_converter.py b/lib/input_file_converter.py index d3ebba84d..e70ce5640 100644 --- a/lib/input_file_converter.py +++ b/lib/input_file_converter.py @@ -477,6 +477,8 @@ def determine_fusion_sequence(self, full_sequence, variant_type): def parse_exon_file(self, input_file): exon_file = input_file.replace('_protein.fa', '.exons.txt') + if not os.path.exists(exon_file): + exon_file = exon_file.replace('.txt', '.csv') five_prime_positions, three_prime_positions = [], [] with open(exon_file, 'r') as fh: dialect = csv.Sniffer().sniff(fh.read())