def fetch_genes(id_list):
 
    request = Entrez.epost("gene",id=",".join(id_list))
    try:
        result = Entrez.read(request)
    except RuntimeError as e:
        #FIXME: How generate NAs instead of causing an error with invalid IDs?
        print "An error occurred while retrieving the annotations."
        print "The error returned was %s" % e
        sys.exit(-1)
 
    webEnv = result["WebEnv"]
    queryKey = result["QueryKey"]
    efetch_result = Entrez.efetch(db="gene", webenv=webEnv, query_key = queryKey, retmode="xml")
    genes = Entrez.read(efetch_result)
    #print "Retrieved %d records for %d genes" % (len(genes),len(id_list))
    return genes
Return log(x+y), avoiding arithmetic underflow/overflow.
dataset/ETHPy150Open taoliu/taolib/Scripts/convert_gene_ids.py/fetch_genes--crossover with--dataset/ETHPy150Open LxMLS/lxmls-toolkit/lxmls/sequences/log_domain.py/logsum_pair