| """ |
| Modern function-based tools for SpatialAgent. |
| |
| All tools use simple functions with @tool decorator instead of classes. |
| Organized by functional type: databases, analytics, interpretation, literature, coding, and foundry. |
| |
| Note: Most tools are direct @tool decorated functions. Coding tools use creator functions |
| because they need initialization parameters (save_path, data_path). |
| """ |
|
|
| |
| from .databases import ( |
| search_panglao, |
| search_cellmarker2, |
| search_czi_datasets, |
| extract_czi_markers, |
| download_czi_reference, |
| query_tissue_expression, |
| query_celltype_genesets, |
| validate_genes_expression, |
| query_disease_genes, |
| ) |
|
|
| |
| from .literature import ( |
| query_pubmed, |
| query_arxiv, |
| search_semantic_scholar, |
| web_search, |
| |
| |
| extract_url_content, |
| extract_pdf_content, |
| fetch_supplementary_from_doi, |
| ) |
|
|
| |
| from .analytics import ( |
| preprocess_spatial_data, |
| harmony_transfer_labels, |
| run_utag_clustering, |
| aggregate_gene_voting, |
| infer_dynamics, |
| summarize_conditions, |
| summarize_celltypes, |
| summarize_tissue_regions, |
| |
| tangram_preprocess, |
| tangram_map_cells, |
| tangram_project_annotations, |
| tangram_project_genes, |
| tangram_evaluate, |
| |
| cellphonedb_prepare, |
| cellphonedb_analysis, |
| cellphonedb_degs_analysis, |
| cellphonedb_filter, |
| cellphonedb_plot, |
| |
| liana_tensor, |
| liana_inference, |
| liana_spatial, |
| liana_misty, |
| liana_plot, |
| |
| squidpy_spatial_neighbors, |
| squidpy_nhood_enrichment, |
| squidpy_co_occurrence, |
| squidpy_spatial_autocorr, |
| squidpy_ripley, |
| squidpy_centrality, |
| squidpy_interaction_matrix, |
| squidpy_ligrec, |
| |
| destvi_deconvolution, |
| cell2location_mapping, |
| stereoscope_deconvolution, |
| gimvi_imputation, |
| |
| spagcn_clustering, |
| graphst_clustering, |
| |
| scanpy_score_genes, |
| scanpy_ingest, |
| scanpy_bbknn, |
| |
| scvelo_velocity, |
| scvelo_velocity_embedding, |
| cellrank_terminal_states, |
| cellrank_fate_probabilities, |
| paga_trajectory, |
| |
| totalvi_integration, |
| multivi_integration, |
| mofa_integration, |
| ) |
|
|
| |
| from .interpretation import ( |
| annotate_cell_types, |
| annotate_tissue_niches, |
| interpret_figure, |
| ) |
|
|
| |
| from .subagent import ( |
| report_subagent, |
| verification_subagent, |
| ) |
|
|
| |
| from .coding import create_python_repl_tool, create_bash_tool |
|
|
| |
| from .foundry import inspect_tool_code |
|
|
| __all__ = [ |
| |
| "search_panglao", |
| "search_cellmarker2", |
| "search_czi_datasets", |
| "extract_czi_markers", |
| "download_czi_reference", |
| "query_tissue_expression", |
| "query_celltype_genesets", |
| "validate_genes_expression", |
| "query_disease_genes", |
| |
| "query_pubmed", |
| "query_arxiv", |
| "search_semantic_scholar", |
| "web_search", |
| |
| |
| "extract_url_content", |
| "extract_pdf_content", |
| "fetch_supplementary_from_doi", |
| |
| "preprocess_spatial_data", |
| "harmony_transfer_labels", |
| "run_utag_clustering", |
| "aggregate_gene_voting", |
| "infer_dynamics", |
| "summarize_conditions", |
| "summarize_celltypes", |
| "summarize_tissue_regions", |
| |
| "tangram_preprocess", |
| "tangram_map_cells", |
| "tangram_project_annotations", |
| "tangram_project_genes", |
| "tangram_evaluate", |
| |
| "cellphonedb_prepare", |
| "cellphonedb_analysis", |
| "cellphonedb_degs_analysis", |
| "cellphonedb_filter", |
| "cellphonedb_plot", |
| |
| "liana_tensor", |
| "liana_inference", |
| "liana_spatial", |
| "liana_misty", |
| "liana_plot", |
| |
| "squidpy_spatial_neighbors", |
| "squidpy_nhood_enrichment", |
| "squidpy_co_occurrence", |
| "squidpy_spatial_autocorr", |
| "squidpy_ripley", |
| "squidpy_centrality", |
| "squidpy_interaction_matrix", |
| "squidpy_ligrec", |
| |
| "destvi_deconvolution", |
| "cell2location_mapping", |
| "stereoscope_deconvolution", |
| "gimvi_imputation", |
| |
| "spagcn_clustering", |
| "graphst_clustering", |
| |
| "scanpy_score_genes", |
| "scanpy_ingest", |
| "scanpy_bbknn", |
| |
| "scvelo_velocity", |
| "scvelo_velocity_embedding", |
| "cellrank_terminal_states", |
| "cellrank_fate_probabilities", |
| "paga_trajectory", |
| |
| "totalvi_integration", |
| "multivi_integration", |
| "mofa_integration", |
| |
| "annotate_cell_types", |
| "annotate_tissue_niches", |
| "interpret_figure", |
| |
| "report_subagent", |
| "verification_subagent", |
| |
| "create_python_repl_tool", |
| "create_bash_tool", |
| |
| "inspect_tool_code", |
| ] |
|
|