def clean_sequence(sequence: str) -> str:
    """

    Replace all multiple whitespaces, tabs, linebreaks etc. with single whitespaces.

    :param sequence: string
    :return: cleaned string
    """
    return " ".join(sequence.strip().split())