GO term | GO ID | GO IC |
---|---|---|
carbohydrate derivative binding | GO:0097367 | 2.03 |
hyaluronic acid binding | GO:0005540 | 6.6 |
glycosaminoglycan binding | GO:0005539 | 4.42 |
binding | GO:0005488 | 0.18 |
<type 'exceptions.KeyError'> | Python 2.7.9: /usr/bin/python Wed Sep 11 09:43:06 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 = 'TNFAIP6' |
/usr/lib/cgi-bin/gene_disease_db/gene.py in GO_ann(gene='TNFAIP6') |
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:0006950', 'GO:0006952', 'GO:0006954', 'GO:0007154', 'GO:0007155', 'GO:0007165', ...]), 'molecular_function': set(['GO:0005488', 'GO:0005539', 'GO:0005540', 'GO:0097367'])} |
<type 'exceptions.KeyError'>: 'cellular_component'
args =
('cellular_component',)
message =
'cellular_component'