def hgncid_to_gene(self, build='<STR_LIT>', genes=None):
hgnc_dict = {}<EOL>LOG.info("<STR_LIT>")<EOL>if not genes:<EOL><INDENT>genes = self.hgnc_collection.find({'<STR_LIT>':build})<EOL><DEDENT>for gene_obj in genes:<EOL><INDENT>hgnc_dict[gene_obj['<STR_LIT>']] = gene_obj<EOL><DEDENT>return hgnc_dict<EOL>
Return a dictionary with hgnc_id as key and gene_obj as value

        The result will have ONE entry for each gene in the database.
        (For a specific build)

        Args:
            build(str):
            genes(iterable(scout.models.HgncGene)):

        Returns:
            hgnc_dict(dict): {<hgnc_id(int)>: <gene(dict)>}