def gene(ncrna):
    """
    Get the id of the gene, if possible.
    """

    gene_id = ncrna.get("gene", {}).get("geneId", None)
    if gene_id:
        return gene_id.split(":", 1)[1]
    return None