Back to Home
cafferychen777 icon

ChatSpatial

by cafferychen777

Overview

Perform spatial transcriptomics analysis through natural language queries, integrating diverse bioinformatics methods.

Installation

Run Command
python -m chatspatial server

Environment Variables

  • CHATSPATIAL_DATA_DIR
  • CHATSPATIAL_CACHE_DIR

Security Notes

The server uses `os.system` to download the CellPhoneDB database, with the URL potentially controllable via the `cellphonedb_db_path_url` parameter. If an LLM could inject a malicious URL, this could lead to arbitrary file download or execution. The `rpy2` library is used extensively to execute R code for various analysis methods (e.g., SCTransform, CARD, Numbat, scType). While R code blocks are defined in Python, parameters sourced from user input (e.g., `sctype_db_`) are passed to R contexts, creating a potential for arbitrary R code injection if input validation is insufficient. This presents a high risk of remote code execution. Additionally, the `mllmcelltype` tool makes external API calls to various LLM providers, which requires careful management of API keys and network access.

Similar Servers

Stats

Interest Score36
Security Score3
Cost ClassHigh
Avg Tokens3000
Stars7
Forks0
Last Update2026-01-17

Tags

Spatial TranscriptomicsBioinformaticsAI AgentNatural Language ProcessingData Analysis