def stringtips_to_cladestr(list_stringtips, stringtips_to_cladestr_dict):
    """
    all this does is take a list of space-seperated-sorted-tips and a dictionary mapping tips:clade
    and return a list of the clades that match the given list of space-sep-tips
    args:
        list_stringtips: a list of clades in stringtip format
        stringtips to cladestr dictionary
    outputs:
        list_cladestr: a list of clades in cladestr format
    """
    cladestr_list = []
    for item in list_stringtips:
        if item in stringtips_to_cladestr_dict:
            cladestr_list.append(stringtips_to_cladestr_dict[item])
    return cladestr_list