tooluniverse 1.0.9.1__py3-none-any.whl → 1.0.11__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 +57 -1
- tooluniverse/admetai_tool.py +1 -1
- tooluniverse/agentic_tool.py +65 -17
- tooluniverse/base_tool.py +19 -8
- tooluniverse/blast_tool.py +132 -0
- tooluniverse/boltz_tool.py +3 -3
- tooluniverse/cache/result_cache_manager.py +167 -12
- tooluniverse/cbioportal_tool.py +42 -0
- tooluniverse/clinvar_tool.py +268 -74
- tooluniverse/compose_scripts/drug_safety_analyzer.py +1 -1
- tooluniverse/compose_scripts/multi_agent_literature_search.py +1 -1
- tooluniverse/compose_scripts/output_summarizer.py +4 -4
- tooluniverse/compose_scripts/tool_discover.py +1941 -443
- tooluniverse/compose_scripts/tool_graph_composer.py +1 -1
- tooluniverse/compose_scripts/tool_metadata_generator.py +1 -1
- tooluniverse/compose_tool.py +9 -9
- tooluniverse/core_tool.py +2 -2
- tooluniverse/ctg_tool.py +4 -4
- tooluniverse/custom_tool.py +1 -1
- tooluniverse/data/agentic_tools.json +0 -370
- tooluniverse/data/alphafold_tools.json +6 -6
- tooluniverse/data/blast_tools.json +112 -0
- tooluniverse/data/cbioportal_tools.json +87 -0
- tooluniverse/data/clinvar_tools.json +235 -0
- tooluniverse/data/compose_tools.json +0 -89
- tooluniverse/data/dbsnp_tools.json +275 -0
- tooluniverse/data/emdb_tools.json +61 -0
- tooluniverse/data/ensembl_tools.json +259 -0
- tooluniverse/data/file_download_tools.json +275 -0
- tooluniverse/data/geo_tools.json +200 -48
- tooluniverse/data/gnomad_tools.json +109 -0
- tooluniverse/data/gtopdb_tools.json +68 -0
- tooluniverse/data/gwas_tools.json +32 -0
- tooluniverse/data/interpro_tools.json +199 -0
- tooluniverse/data/jaspar_tools.json +70 -0
- tooluniverse/data/kegg_tools.json +356 -0
- tooluniverse/data/mpd_tools.json +87 -0
- tooluniverse/data/ols_tools.json +314 -0
- tooluniverse/data/package_discovery_tools.json +64 -0
- tooluniverse/data/packages/categorized_tools.txt +0 -1
- tooluniverse/data/packages/machine_learning_tools.json +0 -47
- tooluniverse/data/paleobiology_tools.json +91 -0
- tooluniverse/data/pride_tools.json +62 -0
- tooluniverse/data/pypi_package_inspector_tools.json +158 -0
- tooluniverse/data/python_executor_tools.json +341 -0
- tooluniverse/data/regulomedb_tools.json +50 -0
- tooluniverse/data/remap_tools.json +89 -0
- tooluniverse/data/screen_tools.json +89 -0
- tooluniverse/data/tool_discovery_agents.json +428 -0
- tooluniverse/data/tool_discovery_agents.json.backup +1343 -0
- tooluniverse/data/uniprot_tools.json +77 -0
- tooluniverse/data/web_search_tools.json +250 -0
- tooluniverse/data/worms_tools.json +55 -0
- tooluniverse/dataset_tool.py +2 -2
- tooluniverse/dbsnp_tool.py +196 -58
- tooluniverse/default_config.py +36 -3
- tooluniverse/emdb_tool.py +30 -0
- tooluniverse/enrichr_tool.py +14 -14
- tooluniverse/ensembl_tool.py +140 -47
- tooluniverse/execute_function.py +594 -29
- tooluniverse/extended_hooks.py +4 -4
- tooluniverse/file_download_tool.py +269 -0
- tooluniverse/gene_ontology_tool.py +1 -1
- tooluniverse/generate_tools.py +3 -3
- tooluniverse/geo_tool.py +81 -28
- tooluniverse/gnomad_tool.py +100 -52
- tooluniverse/gtopdb_tool.py +41 -0
- tooluniverse/humanbase_tool.py +10 -10
- tooluniverse/interpro_tool.py +72 -0
- tooluniverse/jaspar_tool.py +30 -0
- tooluniverse/kegg_tool.py +230 -0
- tooluniverse/logging_config.py +2 -2
- tooluniverse/mcp_client_tool.py +57 -129
- tooluniverse/mcp_integration.py +52 -49
- tooluniverse/mcp_tool_registry.py +147 -528
- tooluniverse/mpd_tool.py +42 -0
- tooluniverse/ncbi_eutils_tool.py +96 -0
- tooluniverse/ols_tool.py +435 -0
- tooluniverse/openalex_tool.py +8 -8
- tooluniverse/openfda_tool.py +2 -2
- tooluniverse/output_hook.py +15 -15
- tooluniverse/package_discovery_tool.py +217 -0
- tooluniverse/package_tool.py +1 -1
- tooluniverse/paleobiology_tool.py +30 -0
- tooluniverse/pmc_tool.py +2 -2
- tooluniverse/pride_tool.py +30 -0
- tooluniverse/pypi_package_inspector_tool.py +593 -0
- tooluniverse/python_executor_tool.py +711 -0
- tooluniverse/regulomedb_tool.py +30 -0
- tooluniverse/remap_tool.py +44 -0
- tooluniverse/remote/boltz/boltz_mcp_server.py +1 -1
- tooluniverse/remote/depmap_24q2/depmap_24q2_mcp_tool.py +3 -3
- tooluniverse/remote/immune_compass/compass_tool.py +3 -3
- tooluniverse/remote/pinnacle/pinnacle_tool.py +2 -2
- tooluniverse/remote/transcriptformer/transcriptformer_tool.py +3 -3
- tooluniverse/remote/uspto_downloader/uspto_downloader_mcp_server.py +3 -3
- tooluniverse/remote_tool.py +4 -4
- tooluniverse/screen_tool.py +44 -0
- tooluniverse/scripts/filter_tool_files.py +2 -2
- tooluniverse/smcp.py +93 -12
- tooluniverse/smcp_server.py +100 -21
- tooluniverse/space/__init__.py +46 -0
- tooluniverse/space/loader.py +133 -0
- tooluniverse/space/validator.py +353 -0
- tooluniverse/tool_finder_embedding.py +5 -3
- tooluniverse/tool_finder_keyword.py +12 -10
- tooluniverse/tool_finder_llm.py +12 -8
- tooluniverse/tools/{UCSC_get_genes_by_region.py → BLAST_nucleotide_search.py} +22 -26
- tooluniverse/tools/BLAST_protein_search.py +63 -0
- tooluniverse/tools/ClinVar_search_variants.py +26 -15
- tooluniverse/tools/CodeQualityAnalyzer.py +3 -3
- tooluniverse/tools/EMDB_get_structure.py +46 -0
- tooluniverse/tools/GtoPdb_get_targets.py +52 -0
- tooluniverse/tools/InterPro_get_domain_details.py +46 -0
- tooluniverse/tools/InterPro_get_protein_domains.py +49 -0
- tooluniverse/tools/InterPro_search_domains.py +52 -0
- tooluniverse/tools/JASPAR_get_transcription_factors.py +52 -0
- tooluniverse/tools/MPD_get_phenotype_data.py +59 -0
- tooluniverse/tools/PRIDE_search_proteomics.py +52 -0
- tooluniverse/tools/PackageAnalyzer.py +55 -0
- tooluniverse/tools/Paleobiology_get_fossils.py +52 -0
- tooluniverse/tools/PyPIPackageInspector.py +59 -0
- tooluniverse/tools/ReMap_get_transcription_factor_binding.py +59 -0
- tooluniverse/tools/ReferenceInfoAnalyzer.py +55 -0
- tooluniverse/tools/RegulomeDB_query_variant.py +46 -0
- tooluniverse/tools/SCREEN_get_regulatory_elements.py +59 -0
- tooluniverse/tools/{ArgumentDescriptionOptimizer.py → TestResultsAnalyzer.py} +13 -13
- tooluniverse/tools/ToolDiscover.py +11 -11
- tooluniverse/tools/UniProt_id_mapping.py +63 -0
- tooluniverse/tools/UniProt_search.py +63 -0
- tooluniverse/tools/UnifiedToolGenerator.py +59 -0
- tooluniverse/tools/WoRMS_search_species.py +49 -0
- tooluniverse/tools/XMLToolOptimizer.py +55 -0
- tooluniverse/tools/__init__.py +119 -29
- tooluniverse/tools/_shared_client.py +3 -3
- tooluniverse/tools/alphafold_get_annotations.py +3 -3
- tooluniverse/tools/alphafold_get_prediction.py +3 -3
- tooluniverse/tools/alphafold_get_summary.py +3 -3
- tooluniverse/tools/cBioPortal_get_cancer_studies.py +46 -0
- tooluniverse/tools/cBioPortal_get_mutations.py +52 -0
- tooluniverse/tools/{gnomAD_query_variant.py → clinvar_get_clinical_significance.py} +8 -11
- tooluniverse/tools/clinvar_get_variant_details.py +49 -0
- tooluniverse/tools/dbSNP_get_variant_by_rsid.py +7 -7
- tooluniverse/tools/dbsnp_get_frequencies.py +46 -0
- tooluniverse/tools/dbsnp_search_by_gene.py +52 -0
- tooluniverse/tools/download_binary_file.py +66 -0
- tooluniverse/tools/download_file.py +71 -0
- tooluniverse/tools/download_text_content.py +55 -0
- tooluniverse/tools/dynamic_package_discovery.py +59 -0
- tooluniverse/tools/ensembl_get_sequence.py +52 -0
- tooluniverse/tools/{Ensembl_lookup_gene_by_symbol.py → ensembl_get_variants.py} +11 -11
- tooluniverse/tools/ensembl_lookup_gene.py +46 -0
- tooluniverse/tools/geo_get_dataset_info.py +46 -0
- tooluniverse/tools/geo_get_sample_info.py +46 -0
- tooluniverse/tools/geo_search_datasets.py +67 -0
- tooluniverse/tools/gnomad_get_gene_constraints.py +49 -0
- tooluniverse/tools/kegg_find_genes.py +52 -0
- tooluniverse/tools/kegg_get_gene_info.py +46 -0
- tooluniverse/tools/kegg_get_pathway_info.py +46 -0
- tooluniverse/tools/kegg_list_organisms.py +44 -0
- tooluniverse/tools/kegg_search_pathway.py +46 -0
- tooluniverse/tools/ols_find_similar_terms.py +63 -0
- tooluniverse/tools/{get_hyperopt_info.py → ols_get_ontology_info.py} +13 -10
- tooluniverse/tools/ols_get_term_ancestors.py +67 -0
- tooluniverse/tools/ols_get_term_children.py +67 -0
- tooluniverse/tools/{TestCaseGenerator.py → ols_get_term_info.py} +12 -9
- tooluniverse/tools/{CodeOptimizer.py → ols_search_ontologies.py} +22 -14
- tooluniverse/tools/ols_search_terms.py +71 -0
- tooluniverse/tools/python_code_executor.py +79 -0
- tooluniverse/tools/python_script_runner.py +79 -0
- tooluniverse/tools/web_api_documentation_search.py +63 -0
- tooluniverse/tools/web_search.py +71 -0
- tooluniverse/uniprot_tool.py +219 -16
- tooluniverse/url_tool.py +19 -1
- tooluniverse/uspto_tool.py +1 -1
- tooluniverse/utils.py +12 -12
- tooluniverse/web_search_tool.py +229 -0
- tooluniverse/worms_tool.py +64 -0
- {tooluniverse-1.0.9.1.dist-info → tooluniverse-1.0.11.dist-info}/METADATA +8 -3
- {tooluniverse-1.0.9.1.dist-info → tooluniverse-1.0.11.dist-info}/RECORD +184 -92
- tooluniverse/data/genomics_tools.json +0 -174
- tooluniverse/tools/ToolDescriptionOptimizer.py +0 -67
- tooluniverse/tools/ToolImplementationGenerator.py +0 -67
- tooluniverse/tools/ToolOptimizer.py +0 -59
- tooluniverse/tools/ToolSpecificationGenerator.py +0 -67
- tooluniverse/tools/ToolSpecificationOptimizer.py +0 -63
- tooluniverse/ucsc_tool.py +0 -60
- {tooluniverse-1.0.9.1.dist-info → tooluniverse-1.0.11.dist-info}/WHEEL +0 -0
- {tooluniverse-1.0.9.1.dist-info → tooluniverse-1.0.11.dist-info}/entry_points.txt +0 -0
- {tooluniverse-1.0.9.1.dist-info → tooluniverse-1.0.11.dist-info}/licenses/LICENSE +0 -0
- {tooluniverse-1.0.9.1.dist-info → tooluniverse-1.0.11.dist-info}/top_level.txt +0 -0
tooluniverse/tools/__init__.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
ToolUniverse Tools
|
|
3
3
|
|
|
4
|
-
Type-safe Python interface to
|
|
4
|
+
Type-safe Python interface to 713 scientific tools.
|
|
5
5
|
Each tool is in its own module for minimal import overhead.
|
|
6
6
|
|
|
7
7
|
Usage:
|
|
@@ -42,16 +42,15 @@ from .AdverseEventPredictionQuestionGeneratorWithContext import (
|
|
|
42
42
|
AdverseEventPredictionQuestionGeneratorWithContext,
|
|
43
43
|
)
|
|
44
44
|
from .ArXiv_search_papers import ArXiv_search_papers
|
|
45
|
-
from .
|
|
45
|
+
from .BLAST_nucleotide_search import BLAST_nucleotide_search
|
|
46
|
+
from .BLAST_protein_search import BLAST_protein_search
|
|
46
47
|
from .BioRxiv_search_preprints import BioRxiv_search_preprints
|
|
47
48
|
from .BiomarkerDiscoveryWorkflow import BiomarkerDiscoveryWorkflow
|
|
48
49
|
from .CMA_Guidelines_Search import CMA_Guidelines_Search
|
|
49
50
|
from .CORE_search_papers import CORE_search_papers
|
|
50
51
|
from .CallAgent import CallAgent
|
|
51
52
|
from .ChEMBL_search_similar_molecules import ChEMBL_search_similar_molecules
|
|
52
|
-
from .ClinVar_search_variants import ClinVar_search_variants
|
|
53
53
|
from .ClinicalTrialDesignAgent import ClinicalTrialDesignAgent
|
|
54
|
-
from .CodeOptimizer import CodeOptimizer
|
|
55
54
|
from .CodeQualityAnalyzer import CodeQualityAnalyzer
|
|
56
55
|
from .CompoundDiscoveryAgent import CompoundDiscoveryAgent
|
|
57
56
|
from .ComprehensiveDrugDiscoveryPipeline import ComprehensiveDrugDiscoveryPipeline
|
|
@@ -68,7 +67,7 @@ from .DomainExpertValidator import DomainExpertValidator
|
|
|
68
67
|
from .DrugInteractionAnalyzerAgent import DrugInteractionAnalyzerAgent
|
|
69
68
|
from .DrugOptimizationAgent import DrugOptimizationAgent
|
|
70
69
|
from .DrugSafetyAnalyzer import DrugSafetyAnalyzer
|
|
71
|
-
from .
|
|
70
|
+
from .EMDB_get_structure import EMDB_get_structure
|
|
72
71
|
from .EthicalComplianceReviewer import EthicalComplianceReviewer
|
|
73
72
|
from .EuropePMC_Guidelines_Search import EuropePMC_Guidelines_Search
|
|
74
73
|
from .EuropePMC_search_articles import EuropePMC_search_articles
|
|
@@ -457,6 +456,7 @@ from .GO_get_term_by_id import GO_get_term_by_id
|
|
|
457
456
|
from .GO_get_term_details import GO_get_term_details
|
|
458
457
|
from .GO_search_terms import GO_search_terms
|
|
459
458
|
from .GWAS_search_associations_by_gene import GWAS_search_associations_by_gene
|
|
459
|
+
from .GtoPdb_get_targets import GtoPdb_get_targets
|
|
460
460
|
from .HAL_search_archive import HAL_search_archive
|
|
461
461
|
from .HPA_get_biological_processes_by_gene import HPA_get_biological_processes_by_gene
|
|
462
462
|
from .HPA_get_cancer_prognostics_by_gene import HPA_get_cancer_prognostics_by_gene
|
|
@@ -482,10 +482,15 @@ from .HPA_get_rna_expression_in_specific_tissues import (
|
|
|
482
482
|
from .HPA_get_subcellular_location import HPA_get_subcellular_location
|
|
483
483
|
from .HPA_search_genes_by_query import HPA_search_genes_by_query
|
|
484
484
|
from .HypothesisGenerator import HypothesisGenerator
|
|
485
|
+
from .InterPro_get_domain_details import InterPro_get_domain_details
|
|
486
|
+
from .InterPro_get_protein_domains import InterPro_get_protein_domains
|
|
487
|
+
from .InterPro_search_domains import InterPro_search_domains
|
|
488
|
+
from .JASPAR_get_transcription_factors import JASPAR_get_transcription_factors
|
|
485
489
|
from .LabelGenerator import LabelGenerator
|
|
486
490
|
from .LiteratureContextReviewer import LiteratureContextReviewer
|
|
487
491
|
from .LiteratureSearchTool import LiteratureSearchTool
|
|
488
492
|
from .LiteratureSynthesisAgent import LiteratureSynthesisAgent
|
|
493
|
+
from .MPD_get_phenotype_data import MPD_get_phenotype_data
|
|
489
494
|
from .MedRxiv_search_preprints import MedRxiv_search_preprints
|
|
490
495
|
from .MedicalLiteratureReviewer import MedicalLiteratureReviewer
|
|
491
496
|
from .MedicalTermNormalizer import MedicalTermNormalizer
|
|
@@ -668,6 +673,9 @@ from .OpenTargets_search_category_counts_by_query_string import (
|
|
|
668
673
|
from .OpenTargets_target_disease_evidence import OpenTargets_target_disease_evidence
|
|
669
674
|
from .OutputSummarizationComposer import OutputSummarizationComposer
|
|
670
675
|
from .PMC_search_papers import PMC_search_papers
|
|
676
|
+
from .PRIDE_search_proteomics import PRIDE_search_proteomics
|
|
677
|
+
from .PackageAnalyzer import PackageAnalyzer
|
|
678
|
+
from .Paleobiology_get_fossils import Paleobiology_get_fossils
|
|
671
679
|
from .ProtocolOptimizer import ProtocolOptimizer
|
|
672
680
|
from .PubChem_get_CID_by_SMILES import PubChem_get_CID_by_SMILES
|
|
673
681
|
from .PubChem_get_CID_by_compound_name import PubChem_get_CID_by_compound_name
|
|
@@ -688,34 +696,35 @@ from .PubMed_Guidelines_Search import PubMed_Guidelines_Search
|
|
|
688
696
|
from .PubMed_search_articles import PubMed_search_articles
|
|
689
697
|
from .PubTator3_EntityAutocomplete import PubTator3_EntityAutocomplete
|
|
690
698
|
from .PubTator3_LiteratureSearch import PubTator3_LiteratureSearch
|
|
699
|
+
from .PyPIPackageInspector import PyPIPackageInspector
|
|
691
700
|
from .QuestionRephraser import QuestionRephraser
|
|
701
|
+
from .ReMap_get_transcription_factor_binding import (
|
|
702
|
+
ReMap_get_transcription_factor_binding,
|
|
703
|
+
)
|
|
692
704
|
from .Reactome_get_pathway_reactions import Reactome_get_pathway_reactions
|
|
705
|
+
from .ReferenceInfoAnalyzer import ReferenceInfoAnalyzer
|
|
706
|
+
from .RegulomeDB_query_variant import RegulomeDB_query_variant
|
|
693
707
|
from .ReproducibilityTransparencyReviewer import ReproducibilityTransparencyReviewer
|
|
694
708
|
from .ResultsInterpretationReviewer import ResultsInterpretationReviewer
|
|
709
|
+
from .SCREEN_get_regulatory_elements import SCREEN_get_regulatory_elements
|
|
695
710
|
from .ScientificTextSummarizer import ScientificTextSummarizer
|
|
696
711
|
from .SemanticScholar_search_papers import SemanticScholar_search_papers
|
|
697
712
|
from .TRIP_Database_Guidelines_Search import TRIP_Database_Guidelines_Search
|
|
698
|
-
from .
|
|
713
|
+
from .TestResultsAnalyzer import TestResultsAnalyzer
|
|
699
714
|
from .ToolCompatibilityAnalyzer import ToolCompatibilityAnalyzer
|
|
700
|
-
from .ToolDescriptionOptimizer import ToolDescriptionOptimizer
|
|
701
715
|
from .ToolDiscover import ToolDiscover
|
|
702
716
|
from .ToolGraphComposer import ToolGraphComposer
|
|
703
717
|
from .ToolGraphGenerationPipeline import ToolGraphGenerationPipeline
|
|
704
|
-
from .ToolImplementationGenerator import ToolImplementationGenerator
|
|
705
718
|
from .ToolMetadataGenerationPipeline import ToolMetadataGenerationPipeline
|
|
706
719
|
from .ToolMetadataGenerator import ToolMetadataGenerator
|
|
707
720
|
from .ToolMetadataStandardizer import ToolMetadataStandardizer
|
|
708
|
-
from .ToolOptimizer import ToolOptimizer
|
|
709
721
|
from .ToolOutputSummarizer import ToolOutputSummarizer
|
|
710
722
|
from .ToolQualityEvaluator import ToolQualityEvaluator
|
|
711
723
|
from .ToolRelationshipDetector import ToolRelationshipDetector
|
|
712
|
-
from .ToolSpecificationGenerator import ToolSpecificationGenerator
|
|
713
|
-
from .ToolSpecificationOptimizer import ToolSpecificationOptimizer
|
|
714
724
|
from .Tool_Finder import Tool_Finder
|
|
715
725
|
from .Tool_Finder_Keyword import Tool_Finder_Keyword
|
|
716
726
|
from .Tool_Finder_LLM import Tool_Finder_LLM
|
|
717
727
|
from .Tool_RAG import Tool_RAG
|
|
718
|
-
from .UCSC_get_genes_by_region import UCSC_get_genes_by_region
|
|
719
728
|
from .UniProt_get_alternative_names_by_accession import (
|
|
720
729
|
UniProt_get_alternative_names_by_accession,
|
|
721
730
|
)
|
|
@@ -736,15 +745,22 @@ from .UniProt_get_sequence_by_accession import UniProt_get_sequence_by_accession
|
|
|
736
745
|
from .UniProt_get_subcellular_location_by_accession import (
|
|
737
746
|
UniProt_get_subcellular_location_by_accession,
|
|
738
747
|
)
|
|
748
|
+
from .UniProt_id_mapping import UniProt_id_mapping
|
|
749
|
+
from .UniProt_search import UniProt_search
|
|
750
|
+
from .UnifiedToolGenerator import UnifiedToolGenerator
|
|
739
751
|
from .Unpaywall_check_oa_status import Unpaywall_check_oa_status
|
|
740
752
|
from .WHO_Guideline_Full_Text import WHO_Guideline_Full_Text
|
|
741
753
|
from .WHO_Guidelines_Search import WHO_Guidelines_Search
|
|
742
754
|
from .Wikidata_SPARQL_query import Wikidata_SPARQL_query
|
|
755
|
+
from .WoRMS_search_species import WoRMS_search_species
|
|
743
756
|
from .WritingPresentationReviewer import WritingPresentationReviewer
|
|
757
|
+
from .XMLToolOptimizer import XMLToolOptimizer
|
|
744
758
|
from .Zenodo_search_records import Zenodo_search_records
|
|
745
759
|
from .alphafold_get_annotations import alphafold_get_annotations
|
|
746
760
|
from .alphafold_get_prediction import alphafold_get_prediction
|
|
747
761
|
from .alphafold_get_summary import alphafold_get_summary
|
|
762
|
+
from .cBioPortal_get_cancer_studies import cBioPortal_get_cancer_studies
|
|
763
|
+
from .cBioPortal_get_mutations import cBioPortal_get_mutations
|
|
748
764
|
from .call_agentic_human import call_agentic_human
|
|
749
765
|
from .cancer_biomarkers_disease_target_score import (
|
|
750
766
|
cancer_biomarkers_disease_target_score,
|
|
@@ -756,12 +772,20 @@ from .cellosaurus_get_cell_line_info import cellosaurus_get_cell_line_info
|
|
|
756
772
|
from .cellosaurus_query_converter import cellosaurus_query_converter
|
|
757
773
|
from .cellosaurus_search_cell_lines import cellosaurus_search_cell_lines
|
|
758
774
|
from .chembl_disease_target_score import chembl_disease_target_score
|
|
775
|
+
from .clinvar_get_clinical_significance import clinvar_get_clinical_significance
|
|
776
|
+
from .clinvar_get_variant_details import clinvar_get_variant_details
|
|
777
|
+
from .clinvar_search_variants import clinvar_search_variants
|
|
759
778
|
from .convert_to_markdown import convert_to_markdown
|
|
760
|
-
from .
|
|
779
|
+
from .dbsnp_get_frequencies import dbsnp_get_frequencies
|
|
780
|
+
from .dbsnp_get_variant_by_rsid import dbsnp_get_variant_by_rsid
|
|
781
|
+
from .dbsnp_search_by_gene import dbsnp_search_by_gene
|
|
761
782
|
from .dict_search import dict_search
|
|
762
783
|
from .dili_search import dili_search
|
|
763
784
|
from .diqt_search import diqt_search
|
|
764
785
|
from .disease_target_score import disease_target_score
|
|
786
|
+
from .download_binary_file import download_binary_file
|
|
787
|
+
from .download_file import download_file
|
|
788
|
+
from .download_text_content import download_text_content
|
|
765
789
|
from .drugbank_filter_drugs_by_name import drugbank_filter_drugs_by_name
|
|
766
790
|
from .drugbank_full_search import drugbank_full_search
|
|
767
791
|
from .drugbank_get_drug_basic_info_by_drug_name_or_drugbank_id import (
|
|
@@ -809,6 +833,7 @@ from .drugbank_get_targets_by_drug_name_or_drugbank_id import (
|
|
|
809
833
|
from .drugbank_links_search import drugbank_links_search
|
|
810
834
|
from .drugbank_vocab_filter import drugbank_vocab_filter
|
|
811
835
|
from .drugbank_vocab_search import drugbank_vocab_search
|
|
836
|
+
from .dynamic_package_discovery import dynamic_package_discovery
|
|
812
837
|
from .embedding_database_add import embedding_database_add
|
|
813
838
|
from .embedding_database_create import embedding_database_create
|
|
814
839
|
from .embedding_database_load import embedding_database_load
|
|
@@ -816,6 +841,9 @@ from .embedding_database_search import embedding_database_search
|
|
|
816
841
|
from .embedding_sync_download import embedding_sync_download
|
|
817
842
|
from .embedding_sync_upload import embedding_sync_upload
|
|
818
843
|
from .enrichr_gene_enrichment_analysis import enrichr_gene_enrichment_analysis
|
|
844
|
+
from .ensembl_get_sequence import ensembl_get_sequence
|
|
845
|
+
from .ensembl_get_variants import ensembl_get_variants
|
|
846
|
+
from .ensembl_lookup_gene import ensembl_lookup_gene
|
|
819
847
|
from .europepmc_disease_target_score import europepmc_disease_target_score
|
|
820
848
|
from .eva_disease_target_score import eva_disease_target_score
|
|
821
849
|
from .eva_somatic_disease_target_score import eva_somatic_disease_target_score
|
|
@@ -823,6 +851,9 @@ from .expression_atlas_disease_target_score import expression_atlas_disease_targ
|
|
|
823
851
|
from .extract_clinical_trial_adverse_events import extract_clinical_trial_adverse_events
|
|
824
852
|
from .extract_clinical_trial_outcomes import extract_clinical_trial_outcomes
|
|
825
853
|
from .genomics_england_disease_target_score import genomics_england_disease_target_score
|
|
854
|
+
from .geo_get_dataset_info import geo_get_dataset_info
|
|
855
|
+
from .geo_get_sample_info import geo_get_sample_info
|
|
856
|
+
from .geo_search_datasets import geo_search_datasets
|
|
826
857
|
from .get_HPO_ID_by_phenotype import get_HPO_ID_by_phenotype
|
|
827
858
|
from .get_albumentations_info import get_albumentations_info
|
|
828
859
|
from .get_altair_info import get_altair_info
|
|
@@ -914,7 +945,6 @@ from .get_hmmlearn_info import get_hmmlearn_info
|
|
|
914
945
|
from .get_holoviews_info import get_holoviews_info
|
|
915
946
|
from .get_host_organism_by_pdb_id import get_host_organism_by_pdb_id
|
|
916
947
|
from .get_htmd_info import get_htmd_info
|
|
917
|
-
from .get_hyperopt_info import get_hyperopt_info
|
|
918
948
|
from .get_igraph_info import get_igraph_info
|
|
919
949
|
from .get_imageio_info import get_imageio_info
|
|
920
950
|
from .get_imbalanced_learn_info import get_imbalanced_learn_info
|
|
@@ -1060,7 +1090,7 @@ from .get_xarray_info import get_xarray_info
|
|
|
1060
1090
|
from .get_xesmf_info import get_xesmf_info
|
|
1061
1091
|
from .get_xgboost_info import get_xgboost_info
|
|
1062
1092
|
from .get_zarr_info import get_zarr_info
|
|
1063
|
-
from .
|
|
1093
|
+
from .gnomad_get_gene_constraints import gnomad_get_gene_constraints
|
|
1064
1094
|
from .gwas_get_association_by_id import gwas_get_association_by_id
|
|
1065
1095
|
from .gwas_get_associations_for_snp import gwas_get_associations_for_snp
|
|
1066
1096
|
from .gwas_get_associations_for_study import gwas_get_associations_for_study
|
|
@@ -1074,6 +1104,11 @@ from .gwas_search_associations import gwas_search_associations
|
|
|
1074
1104
|
from .gwas_search_snps import gwas_search_snps
|
|
1075
1105
|
from .gwas_search_studies import gwas_search_studies
|
|
1076
1106
|
from .humanbase_ppi_analysis import humanbase_ppi_analysis
|
|
1107
|
+
from .kegg_find_genes import kegg_find_genes
|
|
1108
|
+
from .kegg_get_gene_info import kegg_get_gene_info
|
|
1109
|
+
from .kegg_get_pathway_info import kegg_get_pathway_info
|
|
1110
|
+
from .kegg_list_organisms import kegg_list_organisms
|
|
1111
|
+
from .kegg_search_pathway import kegg_search_pathway
|
|
1077
1112
|
from .mesh_get_subjects_by_pharmacological_action import (
|
|
1078
1113
|
mesh_get_subjects_by_pharmacological_action,
|
|
1079
1114
|
)
|
|
@@ -1086,12 +1121,23 @@ from .odphp_itemlist import odphp_itemlist
|
|
|
1086
1121
|
from .odphp_myhealthfinder import odphp_myhealthfinder
|
|
1087
1122
|
from .odphp_outlink_fetch import odphp_outlink_fetch
|
|
1088
1123
|
from .odphp_topicsearch import odphp_topicsearch
|
|
1124
|
+
from .ols_find_similar_terms import ols_find_similar_terms
|
|
1125
|
+
from .ols_get_ontology_info import ols_get_ontology_info
|
|
1126
|
+
from .ols_get_term_ancestors import ols_get_term_ancestors
|
|
1127
|
+
from .ols_get_term_children import ols_get_term_children
|
|
1128
|
+
from .ols_get_term_info import ols_get_term_info
|
|
1129
|
+
from .ols_search_ontologies import ols_search_ontologies
|
|
1130
|
+
from .ols_search_terms import ols_search_terms
|
|
1089
1131
|
from .openalex_literature_search import openalex_literature_search
|
|
1132
|
+
from .python_code_executor import python_code_executor
|
|
1133
|
+
from .python_script_runner import python_script_runner
|
|
1090
1134
|
from .reactome_disease_target_score import reactome_disease_target_score
|
|
1091
1135
|
from .search_clinical_trials import search_clinical_trials
|
|
1092
1136
|
from .visualize_molecule_2d import visualize_molecule_2d
|
|
1093
1137
|
from .visualize_molecule_3d import visualize_molecule_3d
|
|
1094
1138
|
from .visualize_protein_structure_3d import visualize_protein_structure_3d
|
|
1139
|
+
from .web_api_documentation_search import web_api_documentation_search
|
|
1140
|
+
from .web_search import web_search
|
|
1095
1141
|
|
|
1096
1142
|
__all__ = [
|
|
1097
1143
|
"get_shared_client",
|
|
@@ -1111,16 +1157,15 @@ __all__ = [
|
|
|
1111
1157
|
"AdverseEventPredictionQuestionGenerator",
|
|
1112
1158
|
"AdverseEventPredictionQuestionGeneratorWithContext",
|
|
1113
1159
|
"ArXiv_search_papers",
|
|
1114
|
-
"
|
|
1160
|
+
"BLAST_nucleotide_search",
|
|
1161
|
+
"BLAST_protein_search",
|
|
1115
1162
|
"BioRxiv_search_preprints",
|
|
1116
1163
|
"BiomarkerDiscoveryWorkflow",
|
|
1117
1164
|
"CMA_Guidelines_Search",
|
|
1118
1165
|
"CORE_search_papers",
|
|
1119
1166
|
"CallAgent",
|
|
1120
1167
|
"ChEMBL_search_similar_molecules",
|
|
1121
|
-
"ClinVar_search_variants",
|
|
1122
1168
|
"ClinicalTrialDesignAgent",
|
|
1123
|
-
"CodeOptimizer",
|
|
1124
1169
|
"CodeQualityAnalyzer",
|
|
1125
1170
|
"CompoundDiscoveryAgent",
|
|
1126
1171
|
"ComprehensiveDrugDiscoveryPipeline",
|
|
@@ -1137,7 +1182,7 @@ __all__ = [
|
|
|
1137
1182
|
"DrugInteractionAnalyzerAgent",
|
|
1138
1183
|
"DrugOptimizationAgent",
|
|
1139
1184
|
"DrugSafetyAnalyzer",
|
|
1140
|
-
"
|
|
1185
|
+
"EMDB_get_structure",
|
|
1141
1186
|
"EthicalComplianceReviewer",
|
|
1142
1187
|
"EuropePMC_Guidelines_Search",
|
|
1143
1188
|
"EuropePMC_search_articles",
|
|
@@ -1322,6 +1367,7 @@ __all__ = [
|
|
|
1322
1367
|
"GO_get_term_details",
|
|
1323
1368
|
"GO_search_terms",
|
|
1324
1369
|
"GWAS_search_associations_by_gene",
|
|
1370
|
+
"GtoPdb_get_targets",
|
|
1325
1371
|
"HAL_search_archive",
|
|
1326
1372
|
"HPA_get_biological_processes_by_gene",
|
|
1327
1373
|
"HPA_get_cancer_prognostics_by_gene",
|
|
@@ -1337,10 +1383,15 @@ __all__ = [
|
|
|
1337
1383
|
"HPA_get_subcellular_location",
|
|
1338
1384
|
"HPA_search_genes_by_query",
|
|
1339
1385
|
"HypothesisGenerator",
|
|
1386
|
+
"InterPro_get_domain_details",
|
|
1387
|
+
"InterPro_get_protein_domains",
|
|
1388
|
+
"InterPro_search_domains",
|
|
1389
|
+
"JASPAR_get_transcription_factors",
|
|
1340
1390
|
"LabelGenerator",
|
|
1341
1391
|
"LiteratureContextReviewer",
|
|
1342
1392
|
"LiteratureSearchTool",
|
|
1343
1393
|
"LiteratureSynthesisAgent",
|
|
1394
|
+
"MPD_get_phenotype_data",
|
|
1344
1395
|
"MedRxiv_search_preprints",
|
|
1345
1396
|
"MedicalLiteratureReviewer",
|
|
1346
1397
|
"MedicalTermNormalizer",
|
|
@@ -1415,6 +1466,9 @@ __all__ = [
|
|
|
1415
1466
|
"OpenTargets_target_disease_evidence",
|
|
1416
1467
|
"OutputSummarizationComposer",
|
|
1417
1468
|
"PMC_search_papers",
|
|
1469
|
+
"PRIDE_search_proteomics",
|
|
1470
|
+
"PackageAnalyzer",
|
|
1471
|
+
"Paleobiology_get_fossils",
|
|
1418
1472
|
"ProtocolOptimizer",
|
|
1419
1473
|
"PubChem_get_CID_by_SMILES",
|
|
1420
1474
|
"PubChem_get_CID_by_compound_name",
|
|
@@ -1429,34 +1483,33 @@ __all__ = [
|
|
|
1429
1483
|
"PubMed_search_articles",
|
|
1430
1484
|
"PubTator3_EntityAutocomplete",
|
|
1431
1485
|
"PubTator3_LiteratureSearch",
|
|
1486
|
+
"PyPIPackageInspector",
|
|
1432
1487
|
"QuestionRephraser",
|
|
1488
|
+
"ReMap_get_transcription_factor_binding",
|
|
1433
1489
|
"Reactome_get_pathway_reactions",
|
|
1490
|
+
"ReferenceInfoAnalyzer",
|
|
1491
|
+
"RegulomeDB_query_variant",
|
|
1434
1492
|
"ReproducibilityTransparencyReviewer",
|
|
1435
1493
|
"ResultsInterpretationReviewer",
|
|
1494
|
+
"SCREEN_get_regulatory_elements",
|
|
1436
1495
|
"ScientificTextSummarizer",
|
|
1437
1496
|
"SemanticScholar_search_papers",
|
|
1438
1497
|
"TRIP_Database_Guidelines_Search",
|
|
1439
|
-
"
|
|
1498
|
+
"TestResultsAnalyzer",
|
|
1440
1499
|
"ToolCompatibilityAnalyzer",
|
|
1441
|
-
"ToolDescriptionOptimizer",
|
|
1442
1500
|
"ToolDiscover",
|
|
1443
1501
|
"ToolGraphComposer",
|
|
1444
1502
|
"ToolGraphGenerationPipeline",
|
|
1445
|
-
"ToolImplementationGenerator",
|
|
1446
1503
|
"ToolMetadataGenerationPipeline",
|
|
1447
1504
|
"ToolMetadataGenerator",
|
|
1448
1505
|
"ToolMetadataStandardizer",
|
|
1449
|
-
"ToolOptimizer",
|
|
1450
1506
|
"ToolOutputSummarizer",
|
|
1451
1507
|
"ToolQualityEvaluator",
|
|
1452
1508
|
"ToolRelationshipDetector",
|
|
1453
|
-
"ToolSpecificationGenerator",
|
|
1454
|
-
"ToolSpecificationOptimizer",
|
|
1455
1509
|
"Tool_Finder",
|
|
1456
1510
|
"Tool_Finder_Keyword",
|
|
1457
1511
|
"Tool_Finder_LLM",
|
|
1458
1512
|
"Tool_RAG",
|
|
1459
|
-
"UCSC_get_genes_by_region",
|
|
1460
1513
|
"UniProt_get_alternative_names_by_accession",
|
|
1461
1514
|
"UniProt_get_disease_variants_by_accession",
|
|
1462
1515
|
"UniProt_get_entry_by_accession",
|
|
@@ -1467,15 +1520,22 @@ __all__ = [
|
|
|
1467
1520
|
"UniProt_get_recommended_name_by_accession",
|
|
1468
1521
|
"UniProt_get_sequence_by_accession",
|
|
1469
1522
|
"UniProt_get_subcellular_location_by_accession",
|
|
1523
|
+
"UniProt_id_mapping",
|
|
1524
|
+
"UniProt_search",
|
|
1525
|
+
"UnifiedToolGenerator",
|
|
1470
1526
|
"Unpaywall_check_oa_status",
|
|
1471
1527
|
"WHO_Guideline_Full_Text",
|
|
1472
1528
|
"WHO_Guidelines_Search",
|
|
1473
1529
|
"Wikidata_SPARQL_query",
|
|
1530
|
+
"WoRMS_search_species",
|
|
1474
1531
|
"WritingPresentationReviewer",
|
|
1532
|
+
"XMLToolOptimizer",
|
|
1475
1533
|
"Zenodo_search_records",
|
|
1476
1534
|
"alphafold_get_annotations",
|
|
1477
1535
|
"alphafold_get_prediction",
|
|
1478
1536
|
"alphafold_get_summary",
|
|
1537
|
+
"cBioPortal_get_cancer_studies",
|
|
1538
|
+
"cBioPortal_get_mutations",
|
|
1479
1539
|
"call_agentic_human",
|
|
1480
1540
|
"cancer_biomarkers_disease_target_score",
|
|
1481
1541
|
"cancer_gene_census_disease_target_score",
|
|
@@ -1483,12 +1543,20 @@ __all__ = [
|
|
|
1483
1543
|
"cellosaurus_query_converter",
|
|
1484
1544
|
"cellosaurus_search_cell_lines",
|
|
1485
1545
|
"chembl_disease_target_score",
|
|
1546
|
+
"clinvar_get_clinical_significance",
|
|
1547
|
+
"clinvar_get_variant_details",
|
|
1548
|
+
"clinvar_search_variants",
|
|
1486
1549
|
"convert_to_markdown",
|
|
1487
|
-
"
|
|
1550
|
+
"dbsnp_get_frequencies",
|
|
1551
|
+
"dbsnp_get_variant_by_rsid",
|
|
1552
|
+
"dbsnp_search_by_gene",
|
|
1488
1553
|
"dict_search",
|
|
1489
1554
|
"dili_search",
|
|
1490
1555
|
"diqt_search",
|
|
1491
1556
|
"disease_target_score",
|
|
1557
|
+
"download_binary_file",
|
|
1558
|
+
"download_file",
|
|
1559
|
+
"download_text_content",
|
|
1492
1560
|
"drugbank_filter_drugs_by_name",
|
|
1493
1561
|
"drugbank_full_search",
|
|
1494
1562
|
"drugbank_get_drug_basic_info_by_drug_name_or_drugbank_id",
|
|
@@ -1508,6 +1576,7 @@ __all__ = [
|
|
|
1508
1576
|
"drugbank_links_search",
|
|
1509
1577
|
"drugbank_vocab_filter",
|
|
1510
1578
|
"drugbank_vocab_search",
|
|
1579
|
+
"dynamic_package_discovery",
|
|
1511
1580
|
"embedding_database_add",
|
|
1512
1581
|
"embedding_database_create",
|
|
1513
1582
|
"embedding_database_load",
|
|
@@ -1515,6 +1584,9 @@ __all__ = [
|
|
|
1515
1584
|
"embedding_sync_download",
|
|
1516
1585
|
"embedding_sync_upload",
|
|
1517
1586
|
"enrichr_gene_enrichment_analysis",
|
|
1587
|
+
"ensembl_get_sequence",
|
|
1588
|
+
"ensembl_get_variants",
|
|
1589
|
+
"ensembl_lookup_gene",
|
|
1518
1590
|
"europepmc_disease_target_score",
|
|
1519
1591
|
"eva_disease_target_score",
|
|
1520
1592
|
"eva_somatic_disease_target_score",
|
|
@@ -1522,6 +1594,9 @@ __all__ = [
|
|
|
1522
1594
|
"extract_clinical_trial_adverse_events",
|
|
1523
1595
|
"extract_clinical_trial_outcomes",
|
|
1524
1596
|
"genomics_england_disease_target_score",
|
|
1597
|
+
"geo_get_dataset_info",
|
|
1598
|
+
"geo_get_sample_info",
|
|
1599
|
+
"geo_search_datasets",
|
|
1525
1600
|
"get_HPO_ID_by_phenotype",
|
|
1526
1601
|
"get_albumentations_info",
|
|
1527
1602
|
"get_altair_info",
|
|
@@ -1603,7 +1678,6 @@ __all__ = [
|
|
|
1603
1678
|
"get_holoviews_info",
|
|
1604
1679
|
"get_host_organism_by_pdb_id",
|
|
1605
1680
|
"get_htmd_info",
|
|
1606
|
-
"get_hyperopt_info",
|
|
1607
1681
|
"get_igraph_info",
|
|
1608
1682
|
"get_imageio_info",
|
|
1609
1683
|
"get_imbalanced_learn_info",
|
|
@@ -1737,7 +1811,7 @@ __all__ = [
|
|
|
1737
1811
|
"get_xesmf_info",
|
|
1738
1812
|
"get_xgboost_info",
|
|
1739
1813
|
"get_zarr_info",
|
|
1740
|
-
"
|
|
1814
|
+
"gnomad_get_gene_constraints",
|
|
1741
1815
|
"gwas_get_association_by_id",
|
|
1742
1816
|
"gwas_get_associations_for_snp",
|
|
1743
1817
|
"gwas_get_associations_for_study",
|
|
@@ -1751,6 +1825,11 @@ __all__ = [
|
|
|
1751
1825
|
"gwas_search_snps",
|
|
1752
1826
|
"gwas_search_studies",
|
|
1753
1827
|
"humanbase_ppi_analysis",
|
|
1828
|
+
"kegg_find_genes",
|
|
1829
|
+
"kegg_get_gene_info",
|
|
1830
|
+
"kegg_get_pathway_info",
|
|
1831
|
+
"kegg_list_organisms",
|
|
1832
|
+
"kegg_search_pathway",
|
|
1754
1833
|
"mesh_get_subjects_by_pharmacological_action",
|
|
1755
1834
|
"mesh_get_subjects_by_subject_id",
|
|
1756
1835
|
"mesh_get_subjects_by_subject_name",
|
|
@@ -1759,10 +1838,21 @@ __all__ = [
|
|
|
1759
1838
|
"odphp_myhealthfinder",
|
|
1760
1839
|
"odphp_outlink_fetch",
|
|
1761
1840
|
"odphp_topicsearch",
|
|
1841
|
+
"ols_find_similar_terms",
|
|
1842
|
+
"ols_get_ontology_info",
|
|
1843
|
+
"ols_get_term_ancestors",
|
|
1844
|
+
"ols_get_term_children",
|
|
1845
|
+
"ols_get_term_info",
|
|
1846
|
+
"ols_search_ontologies",
|
|
1847
|
+
"ols_search_terms",
|
|
1762
1848
|
"openalex_literature_search",
|
|
1849
|
+
"python_code_executor",
|
|
1850
|
+
"python_script_runner",
|
|
1763
1851
|
"reactome_disease_target_score",
|
|
1764
1852
|
"search_clinical_trials",
|
|
1765
1853
|
"visualize_molecule_2d",
|
|
1766
1854
|
"visualize_molecule_3d",
|
|
1767
1855
|
"visualize_protein_structure_3d",
|
|
1856
|
+
"web_api_documentation_search",
|
|
1857
|
+
"web_search",
|
|
1768
1858
|
]
|
|
@@ -64,7 +64,7 @@ def get_shared_client(
|
|
|
64
64
|
shared instance already exists, these parameters are
|
|
65
65
|
ignored.
|
|
66
66
|
|
|
67
|
-
Returns
|
|
67
|
+
Returns
|
|
68
68
|
ToolUniverse: The client instance to use for tool execution
|
|
69
69
|
|
|
70
70
|
Thread Safety:
|
|
@@ -76,7 +76,7 @@ def get_shared_client(
|
|
|
76
76
|
of the shared instance. Subsequent calls with different parameters
|
|
77
77
|
will not affect the already-created instance.
|
|
78
78
|
|
|
79
|
-
Examples
|
|
79
|
+
Examples
|
|
80
80
|
# Basic usage
|
|
81
81
|
client = get_shared_client()
|
|
82
82
|
|
|
@@ -125,7 +125,7 @@ def reset_shared_client():
|
|
|
125
125
|
may cause unexpected behavior. It's recommended to only call this
|
|
126
126
|
function when you're certain no other threads are accessing the client.
|
|
127
127
|
|
|
128
|
-
Examples
|
|
128
|
+
Examples
|
|
129
129
|
# Reset for testing
|
|
130
130
|
reset_shared_client()
|
|
131
131
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
alphafold_get_annotations
|
|
3
3
|
|
|
4
|
-
Retrieve AlphaFold variant annotations (e.g., missense mutations) for a given UniProt accession
|
|
4
|
+
Retrieve AlphaFold variant annotations (e.g., missense mutations) for a given UniProt accession. ...
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
from typing import Any, Optional, Callable
|
|
@@ -17,12 +17,12 @@ def alphafold_get_annotations(
|
|
|
17
17
|
validate: bool = True,
|
|
18
18
|
) -> dict[str, Any]:
|
|
19
19
|
"""
|
|
20
|
-
Retrieve AlphaFold variant annotations (e.g., missense mutations) for a given UniProt accession
|
|
20
|
+
Retrieve AlphaFold variant annotations (e.g., missense mutations) for a given UniProt accession. ...
|
|
21
21
|
|
|
22
22
|
Parameters
|
|
23
23
|
----------
|
|
24
24
|
qualifier : str
|
|
25
|
-
Protein identifier: UniProt
|
|
25
|
+
Protein identifier: UniProt ACCESSION (e.g., 'P69905'). Do NOT use entry name...
|
|
26
26
|
type : str
|
|
27
27
|
Annotation type (currently only 'MUTAGEN' is supported).
|
|
28
28
|
stream_callback : Callable, optional
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
alphafold_get_prediction
|
|
3
3
|
|
|
4
|
-
Retrieve full AlphaFold 3D structure predictions for a given protein.
|
|
4
|
+
Retrieve full AlphaFold 3D structure predictions for a given protein. IMPORTANT: The qualifier mu...
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
from typing import Any, Optional, Callable
|
|
@@ -17,12 +17,12 @@ def alphafold_get_prediction(
|
|
|
17
17
|
validate: bool = True,
|
|
18
18
|
) -> list[Any]:
|
|
19
19
|
"""
|
|
20
|
-
Retrieve full AlphaFold 3D structure predictions for a given protein.
|
|
20
|
+
Retrieve full AlphaFold 3D structure predictions for a given protein. IMPORTANT: The qualifier mu...
|
|
21
21
|
|
|
22
22
|
Parameters
|
|
23
23
|
----------
|
|
24
24
|
qualifier : str
|
|
25
|
-
Protein identifier: UniProt
|
|
25
|
+
Protein identifier: UniProt ACCESSION (e.g., 'P69905'). Do NOT use entry name...
|
|
26
26
|
sequence_checksum : str
|
|
27
27
|
Optional CRC64 checksum of the UniProt sequence.
|
|
28
28
|
stream_callback : Callable, optional
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
alphafold_get_summary
|
|
3
3
|
|
|
4
|
-
Retrieve summary details of AlphaFold 3D models for a given protein.
|
|
4
|
+
Retrieve summary details of AlphaFold 3D models for a given protein. IMPORTANT: The qualifier mus...
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
from typing import Any, Optional, Callable
|
|
@@ -16,12 +16,12 @@ def alphafold_get_summary(
|
|
|
16
16
|
validate: bool = True,
|
|
17
17
|
) -> dict[str, Any]:
|
|
18
18
|
"""
|
|
19
|
-
Retrieve summary details of AlphaFold 3D models for a given protein.
|
|
19
|
+
Retrieve summary details of AlphaFold 3D models for a given protein. IMPORTANT: The qualifier mus...
|
|
20
20
|
|
|
21
21
|
Parameters
|
|
22
22
|
----------
|
|
23
23
|
qualifier : str
|
|
24
|
-
Protein identifier: UniProt
|
|
24
|
+
Protein identifier: UniProt ACCESSION (e.g., 'Q5SWX9'). Do NOT use entry name...
|
|
25
25
|
stream_callback : Callable, optional
|
|
26
26
|
Callback for streaming output
|
|
27
27
|
use_cache : bool, default False
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"""
|
|
2
|
+
cBioPortal_get_cancer_studies
|
|
3
|
+
|
|
4
|
+
Get list of cancer studies from cBioPortal
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from typing import Any, Optional, Callable
|
|
8
|
+
from ._shared_client import get_shared_client
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def cBioPortal_get_cancer_studies(
|
|
12
|
+
limit: Optional[int] = 20,
|
|
13
|
+
*,
|
|
14
|
+
stream_callback: Optional[Callable[[str], None]] = None,
|
|
15
|
+
use_cache: bool = False,
|
|
16
|
+
validate: bool = True,
|
|
17
|
+
) -> list[Any]:
|
|
18
|
+
"""
|
|
19
|
+
Get list of cancer studies from cBioPortal
|
|
20
|
+
|
|
21
|
+
Parameters
|
|
22
|
+
----------
|
|
23
|
+
limit : int
|
|
24
|
+
Number of studies to return
|
|
25
|
+
stream_callback : Callable, optional
|
|
26
|
+
Callback for streaming output
|
|
27
|
+
use_cache : bool, default False
|
|
28
|
+
Enable caching
|
|
29
|
+
validate : bool, default True
|
|
30
|
+
Validate parameters
|
|
31
|
+
|
|
32
|
+
Returns
|
|
33
|
+
-------
|
|
34
|
+
list[Any]
|
|
35
|
+
"""
|
|
36
|
+
# Handle mutable defaults to avoid B006 linting error
|
|
37
|
+
|
|
38
|
+
return get_shared_client().run_one_function(
|
|
39
|
+
{"name": "cBioPortal_get_cancer_studies", "arguments": {"limit": limit}},
|
|
40
|
+
stream_callback=stream_callback,
|
|
41
|
+
use_cache=use_cache,
|
|
42
|
+
validate=validate,
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
__all__ = ["cBioPortal_get_cancer_studies"]
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"""
|
|
2
|
+
cBioPortal_get_mutations
|
|
3
|
+
|
|
4
|
+
Get mutation data for specific genes in a cancer study
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from typing import Any, Optional, Callable
|
|
8
|
+
from ._shared_client import get_shared_client
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def cBioPortal_get_mutations(
|
|
12
|
+
study_id: str,
|
|
13
|
+
gene_list: str,
|
|
14
|
+
*,
|
|
15
|
+
stream_callback: Optional[Callable[[str], None]] = None,
|
|
16
|
+
use_cache: bool = False,
|
|
17
|
+
validate: bool = True,
|
|
18
|
+
) -> list[Any]:
|
|
19
|
+
"""
|
|
20
|
+
Get mutation data for specific genes in a cancer study
|
|
21
|
+
|
|
22
|
+
Parameters
|
|
23
|
+
----------
|
|
24
|
+
study_id : str
|
|
25
|
+
Cancer study ID
|
|
26
|
+
gene_list : str
|
|
27
|
+
Comma-separated gene symbols
|
|
28
|
+
stream_callback : Callable, optional
|
|
29
|
+
Callback for streaming output
|
|
30
|
+
use_cache : bool, default False
|
|
31
|
+
Enable caching
|
|
32
|
+
validate : bool, default True
|
|
33
|
+
Validate parameters
|
|
34
|
+
|
|
35
|
+
Returns
|
|
36
|
+
-------
|
|
37
|
+
list[Any]
|
|
38
|
+
"""
|
|
39
|
+
# Handle mutable defaults to avoid B006 linting error
|
|
40
|
+
|
|
41
|
+
return get_shared_client().run_one_function(
|
|
42
|
+
{
|
|
43
|
+
"name": "cBioPortal_get_mutations",
|
|
44
|
+
"arguments": {"study_id": study_id, "gene_list": gene_list},
|
|
45
|
+
},
|
|
46
|
+
stream_callback=stream_callback,
|
|
47
|
+
use_cache=use_cache,
|
|
48
|
+
validate=validate,
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
__all__ = ["cBioPortal_get_mutations"]
|