GO term | GO ID | GO IC |
---|---|---|
binding | GO:0005488 | 0.18 |
protein binding | GO:0005515 | 0.46 |
lipid binding | GO:0008289 | 3.26 |
<type 'exceptions.KeyError'> | Python 2.7.9: /usr/bin/python Wed Dec 4 03:58:07 2024 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/lib/cgi-bin/gene_disease_db/gene.py in |
475 kegg_ann(gene) |
476 react_ann(gene) |
=> 477 GOBPs,GOCCs=GO_ann(gene) |
478 if make_file==True: |
479 outcsv.close() |
GOBPs undefined, GOCCs undefined, GO_ann = <function GO_ann>, gene = 'PRAM1' |
/usr/lib/cgi-bin/gene_disease_db/gene.py in GO_ann(gene='PRAM1') |
345 print '<summary id="missing"> Associated GO terms for '+root2root_names[root]+' </summary>' |
346 print '</details>' |
=> 347 return root2GO["biological_process"],root2GO["cellular_component"] |
348 |
349 def kegg_ann(gene): |
root2GO = {'biological_process': set(['GO:0002682', 'GO:0002694', 'GO:0002697', 'GO:0002703', 'GO:0002886', 'GO:0007165', ...]), 'molecular_function': set(['GO:0005488', 'GO:0005515', 'GO:0008289'])} |
<type 'exceptions.KeyError'>: 'cellular_component'
args =
('cellular_component',)
message =
'cellular_component'