def give_me_proper_embl(cross_refs):
    """
    Filter for references where the first element == 'EMBL',
    then search for the first occurence where the genome accession is not '-'.
    This is to get both a valid protein accession and genome accession.

    :param cross_refs: The full list of SwissProt.record.cross_references
    :return:
    """
    # Get embl records first
    embl_refs = []
    for ref in cross_refs:
        if ref[0] == 'EMBL':
            embl_refs.append(ref)

    genome_acc, prot_acc = embl_refs[0][1], embl_refs[0][2]

    for ref in embl_refs:
        if ref[2] != '-':
            genome_acc, prot_acc = ref[1], ref[2]
            break
    return genome_acc, prot_acc