def final_selection(status_df, random_state=1234):
    """Get the genome id as string no matter what.

    If we reach this step there must be a string instance returned.
    This is done with sampling one genome_id at random.
    The random_state ensures that we always choose the same genome from the
    same dataframe.

    Positional arguments:
      status_df: pd.DataFrame: A dataframe that has at least genome_id as
      column

    Optional arguments:
      random_state: int: An integer that controls the random state of
        pd.DataFrame.sample()

    Return:
      genome_id : string: A string of the `genome_id`
    """
    status_df = status_df.sort_values(by="genome_id")
    genome_id = status_df.sample(
        1, random_state=random_state
    ).genome_id.values[0]
    return genome_id