# 版本说明

## SDAS发版记录 <a href="#saw-fa-ban-ji-lu" id="saw-fa-ban-ji-lu"></a>

#### 1.0.0（8月, 2025） <a href="#id-8208-yue-2025" id="id-8208-yue-2025"></a>

* **初次发版**&#x20;
  * 包含14个功能模块，共31个算法/方法。具体有：数据处理，细胞类型注释，空间结构域识别，细胞邻域分析，CNV分析，空间基因共表达，差异基因识别，基因集富集分析，基因调控网络分析，细胞通讯分析，轨迹分析，转录因子分析，细胞空间距离分析，和公共数据库验证。

#### 1.0.1（5月, 2026） <a href="#id-8208-yue-2025" id="id-8208-yue-2025"></a>

* **问题修复**
  * 修复基因名称解析 Bug：解决 R 转换 h5ad 时，基因名中**横杠 / 下划线**被判定为重复的问题，同步更新所有相关模块
  * 兼容新版文件格式：修复写入 SAW v8.2+ cellbin 格式 h5ad 的报错，更新所有 anndata 写入模块
  * 优化性能与日志：关闭富集模块冗余日志，统一`gene_symbol_key`处理逻辑并全模块联调
  * 细胞注释功能修复
    1. 解决 cell2location 因单元格数量与批次取余为 1 导致运行失败问题
    2. 升级 lightning 至 2.4.0 及以上，修复随机种子日志重复打印问题
    3. 修复 spotlight 标签以数字开头、RCTD 细胞类型含斜线引发的报错
    4. 新增`SDAS_LOG_LEVEL`/`LOG_LEVEL`环境变量，支持自定义日志级别
    5. 优化参数校验，错误 GPU 编号等场景不再打印 argparse 使用说明
  * 空间基因共表达：修复莫兰指数文件索引读取类型错误导致的格式兼容问题

## 历史版本 <a href="#li-shi-ban-ben" id="li-shi-ban-ben"></a>

历史版本信息可以从 [GitHub](https://github.com/STOmics/SDAS) 获取。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mysite.gitbook.io/sdas_manual_cn/readme/06_version.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
