def read_sequence(input_file_name):
    """Reads and returns input sequence with special characters removed"""
    with open(input_file_name, "r") as f:
        seq = f.read()
    seq = seq.replace("\n", "")
    seq = seq.replace("\r", "")
    return seq