def _seq_id_filter(id: str) -> str:
    """
    Replaces underscores and semicolons with dashes in the sequence IDs.
    This is needed to have nice output filename templates with underscore
    as a delimiter for parameters
    """
    result = id.replace("_", "-")
    return result.replace(";", "-")