tooluniverse 0.2.0__py3-none-any.whl → 1.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tooluniverse might be problematic. Click here for more details.
- tooluniverse/__init__.py +340 -4
- tooluniverse/admetai_tool.py +84 -0
- tooluniverse/agentic_tool.py +563 -0
- tooluniverse/alphafold_tool.py +96 -0
- tooluniverse/base_tool.py +129 -6
- tooluniverse/boltz_tool.py +207 -0
- tooluniverse/chem_tool.py +192 -0
- tooluniverse/compose_scripts/__init__.py +1 -0
- tooluniverse/compose_scripts/biomarker_discovery.py +293 -0
- tooluniverse/compose_scripts/comprehensive_drug_discovery.py +186 -0
- tooluniverse/compose_scripts/drug_safety_analyzer.py +89 -0
- tooluniverse/compose_scripts/literature_tool.py +34 -0
- tooluniverse/compose_scripts/output_summarizer.py +279 -0
- tooluniverse/compose_scripts/tool_description_optimizer.py +681 -0
- tooluniverse/compose_scripts/tool_discover.py +705 -0
- tooluniverse/compose_scripts/tool_graph_composer.py +448 -0
- tooluniverse/compose_tool.py +371 -0
- tooluniverse/ctg_tool.py +1002 -0
- tooluniverse/custom_tool.py +81 -0
- tooluniverse/dailymed_tool.py +108 -0
- tooluniverse/data/admetai_tools.json +155 -0
- tooluniverse/data/adverse_event_tools.json +108 -0
- tooluniverse/data/agentic_tools.json +1156 -0
- tooluniverse/data/alphafold_tools.json +87 -0
- tooluniverse/data/boltz_tools.json +9 -0
- tooluniverse/data/chembl_tools.json +16 -0
- tooluniverse/data/clinicaltrials_gov_tools.json +326 -0
- tooluniverse/data/compose_tools.json +202 -0
- tooluniverse/data/dailymed_tools.json +70 -0
- tooluniverse/data/dataset_tools.json +646 -0
- tooluniverse/data/disease_target_score_tools.json +712 -0
- tooluniverse/data/efo_tools.json +17 -0
- tooluniverse/data/embedding_tools.json +319 -0
- tooluniverse/data/enrichr_tools.json +31 -0
- tooluniverse/data/europe_pmc_tools.json +22 -0
- tooluniverse/data/expert_feedback_tools.json +10 -0
- tooluniverse/data/fda_drug_adverse_event_tools.json +491 -0
- tooluniverse/data/fda_drug_labeling_tools.json +1 -1
- tooluniverse/data/fda_drugs_with_brand_generic_names_for_tool.py +76929 -148860
- tooluniverse/data/finder_tools.json +209 -0
- tooluniverse/data/gene_ontology_tools.json +113 -0
- tooluniverse/data/gwas_tools.json +1082 -0
- tooluniverse/data/hpa_tools.json +333 -0
- tooluniverse/data/humanbase_tools.json +47 -0
- tooluniverse/data/idmap_tools.json +74 -0
- tooluniverse/data/mcp_client_tools_example.json +113 -0
- tooluniverse/data/mcpautoloadertool_defaults.json +28 -0
- tooluniverse/data/medlineplus_tools.json +141 -0
- tooluniverse/data/monarch_tools.json +1 -1
- tooluniverse/data/openalex_tools.json +36 -0
- tooluniverse/data/opentarget_tools.json +1 -1
- tooluniverse/data/output_summarization_tools.json +101 -0
- tooluniverse/data/packages/bioinformatics_core_tools.json +1756 -0
- tooluniverse/data/packages/categorized_tools.txt +206 -0
- tooluniverse/data/packages/cheminformatics_tools.json +347 -0
- tooluniverse/data/packages/earth_sciences_tools.json +74 -0
- tooluniverse/data/packages/genomics_tools.json +776 -0
- tooluniverse/data/packages/image_processing_tools.json +38 -0
- tooluniverse/data/packages/machine_learning_tools.json +789 -0
- tooluniverse/data/packages/neuroscience_tools.json +62 -0
- tooluniverse/data/packages/original_tools.txt +0 -0
- tooluniverse/data/packages/physics_astronomy_tools.json +62 -0
- tooluniverse/data/packages/scientific_computing_tools.json +560 -0
- tooluniverse/data/packages/single_cell_tools.json +453 -0
- tooluniverse/data/packages/structural_biology_tools.json +396 -0
- tooluniverse/data/packages/visualization_tools.json +399 -0
- tooluniverse/data/pubchem_tools.json +215 -0
- tooluniverse/data/pubtator_tools.json +68 -0
- tooluniverse/data/rcsb_pdb_tools.json +1332 -0
- tooluniverse/data/reactome_tools.json +19 -0
- tooluniverse/data/semantic_scholar_tools.json +26 -0
- tooluniverse/data/special_tools.json +2 -25
- tooluniverse/data/tool_composition_tools.json +88 -0
- tooluniverse/data/toolfinderkeyword_defaults.json +34 -0
- tooluniverse/data/txagent_client_tools.json +9 -0
- tooluniverse/data/uniprot_tools.json +211 -0
- tooluniverse/data/url_fetch_tools.json +94 -0
- tooluniverse/data/uspto_downloader_tools.json +9 -0
- tooluniverse/data/uspto_tools.json +811 -0
- tooluniverse/data/xml_tools.json +3275 -0
- tooluniverse/dataset_tool.py +296 -0
- tooluniverse/default_config.py +165 -0
- tooluniverse/efo_tool.py +42 -0
- tooluniverse/embedding_database.py +630 -0
- tooluniverse/embedding_sync.py +396 -0
- tooluniverse/enrichr_tool.py +266 -0
- tooluniverse/europe_pmc_tool.py +52 -0
- tooluniverse/execute_function.py +1775 -95
- tooluniverse/extended_hooks.py +444 -0
- tooluniverse/gene_ontology_tool.py +194 -0
- tooluniverse/graphql_tool.py +158 -36
- tooluniverse/gwas_tool.py +358 -0
- tooluniverse/hpa_tool.py +1645 -0
- tooluniverse/humanbase_tool.py +389 -0
- tooluniverse/logging_config.py +254 -0
- tooluniverse/mcp_client_tool.py +764 -0
- tooluniverse/mcp_integration.py +413 -0
- tooluniverse/mcp_tool_registry.py +925 -0
- tooluniverse/medlineplus_tool.py +337 -0
- tooluniverse/openalex_tool.py +228 -0
- tooluniverse/openfda_adv_tool.py +283 -0
- tooluniverse/openfda_tool.py +393 -160
- tooluniverse/output_hook.py +1122 -0
- tooluniverse/package_tool.py +195 -0
- tooluniverse/pubchem_tool.py +158 -0
- tooluniverse/pubtator_tool.py +168 -0
- tooluniverse/rcsb_pdb_tool.py +38 -0
- tooluniverse/reactome_tool.py +108 -0
- tooluniverse/remote/boltz/boltz_mcp_server.py +50 -0
- tooluniverse/remote/depmap_24q2/depmap_24q2_mcp_tool.py +442 -0
- tooluniverse/remote/expert_feedback/human_expert_mcp_tools.py +2013 -0
- tooluniverse/remote/expert_feedback/simple_test.py +23 -0
- tooluniverse/remote/expert_feedback/start_web_interface.py +188 -0
- tooluniverse/remote/expert_feedback/web_only_interface.py +0 -0
- tooluniverse/remote/immune_compass/compass_tool.py +327 -0
- tooluniverse/remote/pinnacle/pinnacle_tool.py +328 -0
- tooluniverse/remote/transcriptformer/transcriptformer_tool.py +586 -0
- tooluniverse/remote/uspto_downloader/uspto_downloader_mcp_server.py +61 -0
- tooluniverse/remote/uspto_downloader/uspto_downloader_tool.py +120 -0
- tooluniverse/remote_tool.py +99 -0
- tooluniverse/restful_tool.py +53 -30
- tooluniverse/scripts/generate_tool_graph.py +408 -0
- tooluniverse/scripts/visualize_tool_graph.py +829 -0
- tooluniverse/semantic_scholar_tool.py +62 -0
- tooluniverse/smcp.py +2452 -0
- tooluniverse/smcp_server.py +975 -0
- tooluniverse/test/mcp_server_test.py +0 -0
- tooluniverse/test/test_admetai_tool.py +370 -0
- tooluniverse/test/test_agentic_tool.py +129 -0
- tooluniverse/test/test_alphafold_tool.py +71 -0
- tooluniverse/test/test_chem_tool.py +37 -0
- tooluniverse/test/test_compose_lieraturereview.py +63 -0
- tooluniverse/test/test_compose_tool.py +448 -0
- tooluniverse/test/test_dailymed.py +69 -0
- tooluniverse/test/test_dataset_tool.py +200 -0
- tooluniverse/test/test_disease_target_score.py +56 -0
- tooluniverse/test/test_drugbank_filter_examples.py +179 -0
- tooluniverse/test/test_efo.py +31 -0
- tooluniverse/test/test_enrichr_tool.py +21 -0
- tooluniverse/test/test_europe_pmc_tool.py +20 -0
- tooluniverse/test/test_fda_adv.py +95 -0
- tooluniverse/test/test_fda_drug_labeling.py +91 -0
- tooluniverse/test/test_gene_ontology_tools.py +66 -0
- tooluniverse/test/test_gwas_tool.py +139 -0
- tooluniverse/test/test_hpa.py +625 -0
- tooluniverse/test/test_humanbase_tool.py +20 -0
- tooluniverse/test/test_idmap_tools.py +61 -0
- tooluniverse/test/test_mcp_server.py +211 -0
- tooluniverse/test/test_mcp_tool.py +247 -0
- tooluniverse/test/test_medlineplus.py +220 -0
- tooluniverse/test/test_openalex_tool.py +32 -0
- tooluniverse/test/test_opentargets.py +28 -0
- tooluniverse/test/test_pubchem_tool.py +116 -0
- tooluniverse/test/test_pubtator_tool.py +37 -0
- tooluniverse/test/test_rcsb_pdb_tool.py +86 -0
- tooluniverse/test/test_reactome.py +54 -0
- tooluniverse/test/test_semantic_scholar_tool.py +24 -0
- tooluniverse/test/test_software_tools.py +147 -0
- tooluniverse/test/test_tool_description_optimizer.py +49 -0
- tooluniverse/test/test_tool_finder.py +26 -0
- tooluniverse/test/test_tool_finder_llm.py +252 -0
- tooluniverse/test/test_tools_find.py +195 -0
- tooluniverse/test/test_uniprot_tools.py +74 -0
- tooluniverse/test/test_uspto_tool.py +72 -0
- tooluniverse/test/test_xml_tool.py +113 -0
- tooluniverse/tool_finder_embedding.py +267 -0
- tooluniverse/tool_finder_keyword.py +693 -0
- tooluniverse/tool_finder_llm.py +699 -0
- tooluniverse/tool_graph_web_ui.py +955 -0
- tooluniverse/tool_registry.py +416 -0
- tooluniverse/uniprot_tool.py +155 -0
- tooluniverse/url_tool.py +253 -0
- tooluniverse/uspto_tool.py +240 -0
- tooluniverse/utils.py +369 -41
- tooluniverse/xml_tool.py +369 -0
- tooluniverse-1.0.1.dist-info/METADATA +387 -0
- tooluniverse-1.0.1.dist-info/RECORD +182 -0
- tooluniverse-1.0.1.dist-info/entry_points.txt +9 -0
- tooluniverse/generate_mcp_tools.py +0 -113
- tooluniverse/mcp_server.py +0 -3340
- tooluniverse-0.2.0.dist-info/METADATA +0 -139
- tooluniverse-0.2.0.dist-info/RECORD +0 -21
- tooluniverse-0.2.0.dist-info/entry_points.txt +0 -4
- {tooluniverse-0.2.0.dist-info → tooluniverse-1.0.1.dist-info}/WHEEL +0 -0
- {tooluniverse-0.2.0.dist-info → tooluniverse-1.0.1.dist-info}/licenses/LICENSE +0 -0
- {tooluniverse-0.2.0.dist-info → tooluniverse-1.0.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "ToolFinderEmbedding",
|
|
4
|
+
"name": "Tool_RAG",
|
|
5
|
+
"description": "Retrieve related tools from the toolbox based on the provided description",
|
|
6
|
+
"parameter": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"description": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "The description of the tool capability required.",
|
|
12
|
+
"required": true
|
|
13
|
+
},
|
|
14
|
+
"limit": {
|
|
15
|
+
"type": "integer",
|
|
16
|
+
"description": "The number of tools to retrieve",
|
|
17
|
+
"required": true
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": [
|
|
22
|
+
"description",
|
|
23
|
+
"limit"
|
|
24
|
+
],
|
|
25
|
+
"configs": {
|
|
26
|
+
"tool_finder_model": "mims-harvard/ToolRAG-T1-GTE-Qwen2-1.5B",
|
|
27
|
+
"exclude_tools": [
|
|
28
|
+
"Tool_RAG",
|
|
29
|
+
"Tool_Finder",
|
|
30
|
+
"Finish",
|
|
31
|
+
"CallAgent",
|
|
32
|
+
"Tool_Finder_LLM",
|
|
33
|
+
"Tool_Finder_Keyword"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "ToolFinderEmbedding",
|
|
39
|
+
"name": "Tool_Finder",
|
|
40
|
+
"description": "Retrieve related tools from the toolbox based on the provided description, advanced version with more functionality.",
|
|
41
|
+
"parameter": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"properties": {
|
|
44
|
+
"description": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"description": "The description of the tool capability required.",
|
|
47
|
+
"required": true
|
|
48
|
+
},
|
|
49
|
+
"limit": {
|
|
50
|
+
"type": "integer",
|
|
51
|
+
"description": "The number of tools to retrieve",
|
|
52
|
+
"required": true
|
|
53
|
+
},
|
|
54
|
+
"picked_tool_names": {
|
|
55
|
+
"type": "array",
|
|
56
|
+
"items": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"description": "Pre-selected tool names to process. If provided, tool selection will skip these tools.",
|
|
60
|
+
"required": false
|
|
61
|
+
},
|
|
62
|
+
"return_call_result": {
|
|
63
|
+
"type": "boolean",
|
|
64
|
+
"description": "Whether to return both prompts and tool names. If false, returns only tool prompts.",
|
|
65
|
+
"required": false
|
|
66
|
+
},
|
|
67
|
+
"categories": {
|
|
68
|
+
"type": "array",
|
|
69
|
+
"items": {
|
|
70
|
+
"type": "string"
|
|
71
|
+
},
|
|
72
|
+
"description": "Optional list of tool categories to filter by",
|
|
73
|
+
"required": false
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"required": [
|
|
78
|
+
"description",
|
|
79
|
+
"limit"
|
|
80
|
+
],
|
|
81
|
+
"configs": {
|
|
82
|
+
"tool_finder_model": "mims-harvard/ToolRAG-T1-GTE-Qwen2-1.5B",
|
|
83
|
+
"exclude_tools": [
|
|
84
|
+
"Tool_RAG",
|
|
85
|
+
"Tool_Finder",
|
|
86
|
+
"Finish",
|
|
87
|
+
"CallAgent",
|
|
88
|
+
"Tool_Finder_LLM",
|
|
89
|
+
"Tool_Finder_Keyword"
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"type": "ToolFinderLLM",
|
|
95
|
+
"name": "Tool_Finder_LLM",
|
|
96
|
+
"description": "LLM-based tool finder that uses natural language processing to intelligently select relevant tools based on user queries. This tool analyzes all available tool descriptions and uses an LLM to determine which tools would be most helpful for a given task or question.",
|
|
97
|
+
"parameter": {
|
|
98
|
+
"type": "object",
|
|
99
|
+
"properties": {
|
|
100
|
+
"description": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "The description of the tool capability required.",
|
|
103
|
+
"required": true
|
|
104
|
+
},
|
|
105
|
+
"limit": {
|
|
106
|
+
"type": "integer",
|
|
107
|
+
"description": "The number of tools to retrieve",
|
|
108
|
+
"required": true
|
|
109
|
+
},
|
|
110
|
+
"picked_tool_names": {
|
|
111
|
+
"type": "array",
|
|
112
|
+
"items": {
|
|
113
|
+
"type": "string"
|
|
114
|
+
},
|
|
115
|
+
"description": "Pre-selected tool names to process. If provided, tool selection will skip these tools.",
|
|
116
|
+
"required": false
|
|
117
|
+
},
|
|
118
|
+
"return_call_result": {
|
|
119
|
+
"type": "boolean",
|
|
120
|
+
"description": "Whether to return both prompts and tool names. If false, returns only tool prompts.",
|
|
121
|
+
"required": false
|
|
122
|
+
},
|
|
123
|
+
"categories": {
|
|
124
|
+
"type": "array",
|
|
125
|
+
"items": {
|
|
126
|
+
"type": "string"
|
|
127
|
+
},
|
|
128
|
+
"description": "Optional list of tool categories to filter by",
|
|
129
|
+
"required": false
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"required": [
|
|
133
|
+
"description",
|
|
134
|
+
"limit"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"configs": {
|
|
138
|
+
"api_type": "CHATGPT",
|
|
139
|
+
"model_id": "gpt-4o-1120",
|
|
140
|
+
"temperature": 0.1,
|
|
141
|
+
"max_new_tokens": 4096,
|
|
142
|
+
"return_json": true,
|
|
143
|
+
"return_list_only": true,
|
|
144
|
+
"exclude_tools": [
|
|
145
|
+
"Tool_RAG",
|
|
146
|
+
"Tool_Finder",
|
|
147
|
+
"Finish",
|
|
148
|
+
"CallAgent",
|
|
149
|
+
"Tool_Finder_LLM",
|
|
150
|
+
"Tool_Finder_Keyword"
|
|
151
|
+
]
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"type": "ToolFinderKeyword",
|
|
156
|
+
"name": "Tool_Finder_Keyword",
|
|
157
|
+
"description": "Simple keyword-based tool finder for discovering relevant tools using text matching",
|
|
158
|
+
"parameter": {
|
|
159
|
+
"type": "object",
|
|
160
|
+
"properties": {
|
|
161
|
+
"description": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"description": "The description of the tool capability required.",
|
|
164
|
+
"required": true
|
|
165
|
+
},
|
|
166
|
+
"limit": {
|
|
167
|
+
"type": "integer",
|
|
168
|
+
"description": "The number of tools to retrieve",
|
|
169
|
+
"required": true
|
|
170
|
+
},
|
|
171
|
+
"picked_tool_names": {
|
|
172
|
+
"type": "array",
|
|
173
|
+
"items": {
|
|
174
|
+
"type": "string"
|
|
175
|
+
},
|
|
176
|
+
"description": "Pre-selected tool names to process. If provided, tool selection will skip these tools.",
|
|
177
|
+
"required": false
|
|
178
|
+
},
|
|
179
|
+
"return_call_result": {
|
|
180
|
+
"type": "boolean",
|
|
181
|
+
"description": "Whether to return both prompts and tool names. If false, returns only tool prompts.",
|
|
182
|
+
"required": false
|
|
183
|
+
},
|
|
184
|
+
"categories": {
|
|
185
|
+
"type": "array",
|
|
186
|
+
"items": {
|
|
187
|
+
"type": "string"
|
|
188
|
+
},
|
|
189
|
+
"description": "Optional list of tool categories to filter by",
|
|
190
|
+
"required": false
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"required": [
|
|
195
|
+
"description",
|
|
196
|
+
"limit"
|
|
197
|
+
],
|
|
198
|
+
"configs": {
|
|
199
|
+
"exclude_tools": [
|
|
200
|
+
"Tool_RAG",
|
|
201
|
+
"Tool_Finder",
|
|
202
|
+
"Finish",
|
|
203
|
+
"CallAgent",
|
|
204
|
+
"Tool_Finder_LLM",
|
|
205
|
+
"Tool_Finder_Keyword"
|
|
206
|
+
]
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
]
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "GO_search_terms",
|
|
4
|
+
"description": "Searches for Gene Ontology (GO) terms by a keyword using the GOlr search engine. Returns GO terms and related biological entities.",
|
|
5
|
+
"type": "GeneOntologyTool",
|
|
6
|
+
"parameter": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"query": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "The keyword to search for, e.g., 'apoptosis' or 'kinase activity'."
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"required": ["query"]
|
|
15
|
+
},
|
|
16
|
+
"fields": {
|
|
17
|
+
"endpoint": "http://golr-aux.geneontology.io/solr/select?fq=document_category:\"ontology_class\"&q=*:*&fq=annotation_class_label:\"{query}\"&wt=json&rows=10",
|
|
18
|
+
"input_description": "Input search keyword, e.g., 'cell cycle'.",
|
|
19
|
+
"output_description": "Returns GO terms matching the search keyword with their details."
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "GO_get_term_details",
|
|
24
|
+
"description": "Retrieves detailed information for a specific GO ID using the Biolink API, including definition, synonyms, and annotations.",
|
|
25
|
+
"type": "GeneOntologyTool",
|
|
26
|
+
"parameter": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"properties": {
|
|
29
|
+
"id": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "The standard GO term ID, e.g., 'GO:0006915' for apoptotic process."
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"required": ["id"]
|
|
35
|
+
},
|
|
36
|
+
"fields": {
|
|
37
|
+
"endpoint": "http://api.geneontology.org/api/bioentity/function/{id}",
|
|
38
|
+
"input_description": "Input GO term ID, e.g., 'GO:0006915'.",
|
|
39
|
+
"output_description": "Returns complete term details including definition, synonyms, and annotations."
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "GO_get_term_by_id",
|
|
44
|
+
"description": "Retrieves basic GO term information by ID using GOlr search.",
|
|
45
|
+
"type": "GeneOntologyTool",
|
|
46
|
+
"parameter": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": {
|
|
49
|
+
"id": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"description": "The standard GO term ID, e.g., 'GO:0006915' for apoptotic process."
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"required": ["id"]
|
|
55
|
+
},
|
|
56
|
+
"fields": {
|
|
57
|
+
"endpoint": "http://golr-aux.geneontology.io/solr/select?fq=document_category:\"ontology_class\"&q=*:*&fq=id:\"{id}\"&wt=json",
|
|
58
|
+
"extract_path": "response.docs[0]",
|
|
59
|
+
"input_description": "Input GO term ID, e.g., 'GO:0006915'.",
|
|
60
|
+
"output_description": "Returns the GO term details including label, definition, and namespace."
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "GO_get_genes_for_term",
|
|
65
|
+
"description": "Finds all genes/proteins associated with a specific Gene Ontology term using the Biolink API.",
|
|
66
|
+
"type": "GeneOntologyTool",
|
|
67
|
+
"parameter": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"properties": {
|
|
70
|
+
"id": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"description": "The standard GO term ID, e.g., 'GO:0006915'."
|
|
73
|
+
},
|
|
74
|
+
"taxon": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"description": "Optional species filter using a NCBI taxon ID. For example, Human is 'NCBITaxon:9606', and Mouse is 'NCBITaxon:10090'."
|
|
77
|
+
},
|
|
78
|
+
"rows": {
|
|
79
|
+
"type": "integer",
|
|
80
|
+
"description": "The number of genes to return. Default is 100."
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"required": ["id"]
|
|
84
|
+
},
|
|
85
|
+
"fields": {
|
|
86
|
+
"endpoint": "http://api.geneontology.org/api/bioentity/function/{id}",
|
|
87
|
+
"extract_path": "associations[*].subject",
|
|
88
|
+
"input_description": "Input GO term ID, e.g., 'GO:0006915'.",
|
|
89
|
+
"output_description": "Returns a list of genes/proteins associated with the GO term."
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "GO_get_annotations_for_gene",
|
|
94
|
+
"description": "Finds all GO annotations for a specific gene/protein using GOlr search.",
|
|
95
|
+
"type": "GeneOntologyTool",
|
|
96
|
+
"parameter": {
|
|
97
|
+
"type": "object",
|
|
98
|
+
"properties": {
|
|
99
|
+
"gene_id": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"description": "A gene identifier such as gene symbol (e.g., 'TP53') or database ID."
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"required": ["gene_id"]
|
|
105
|
+
},
|
|
106
|
+
"fields": {
|
|
107
|
+
"endpoint": "http://golr-aux.geneontology.io/solr/select?fq=document_category:\"annotation\"&q=*:*&fq=bioentity_label:\"{gene_id}\"&wt=json&rows=50",
|
|
108
|
+
"extract_path": "response.docs",
|
|
109
|
+
"input_description": "Input gene identifier, e.g., 'TP53'.",
|
|
110
|
+
"output_description": "Returns a list of GO annotations for the gene."
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
]
|