diff --git a/python/concatenate_fastas.py b/python/concatenate_fastas.py index 7d3f03d..29908b8 100644 --- a/python/concatenate_fastas.py +++ b/python/concatenate_fastas.py @@ -23,7 +23,7 @@ def preprocess_sequence(sequence): trailing_pattern = re.compile(r'-+$') # Replace leading '-' with 'n' - sequence = leading_pattern.sub(lambda x: 'n' * len(x.group()), sequence) + sequence = leading_pattern.sub(lambda x: 'n' * len(x.group()), sequence) sequence = trailing_pattern.sub(lambda x: 'n' * len(x.group()), sequence) return sequence