def parse_genes(lines):
    """Parse an ensembl file with genes
        
        Header should look like: 
        #chrom	start	stop	ensembl_id	description	hgnc_symbol
        	hgnc_id	hi_score	
         constraint_score
        
        Args:
            lines(iterator): The content of the genes file
    """
    genes = []
    header = []
    for line in lines:
        line = line.rstrip()
        if line.startswith('#'):
            header = line[1:].split('\t')
        else:
            yield dict(zip(header, line.split('\t')))
