# 安装指南

## 1. 系统配置最低要求

SDAS分析软件包在Linux系统上被解压和安装，计算环境需满足下列最低要求（无法支持部分分析（如cell2locationGPU模式））：

* 8-core Intel or AMD processor (>24 cores recommended)
* 128GB RAM (>256GB recommended)
* 200G free disk space or higher
* 64-bit CentOS/RedHat 7.8 or Ubuntu 20.04

## 2. 软件下载

WPS网盘：<https://365.kdocs.cn/l/ck8Q456MSkbq>&#x20;

Github: `git clone https://github.com/STOmics/SDAS.git`（由于文件大小限制，github上无sdas-1.0.1.tar.gz和h5ad测试数据）

备注：可以使用wget下载（`wget -O sdas-1.0.1.zip "https://ksc-bj.ag.kdocs.cn/api/object/2_6c05d25c0c8b44c0978a632eaafb8eff/compatible?response-content-disposiame%2A%3Dutf-8%27%27SDAS_1.0.1.zip&KSSAccessKeyId=AKLTU7N1__ODQ4KKf-YhOK9iwg&Expires=1779790554&Signature=6AenFDOR3D"`）

## 3. 安装

<mark style="color:red;">**重要提示!!!**</mark>：解压完成后必须执行setup.sh脚本以确保R路径相关模块正常运行。安装后请勿更改软件安装位置或重命名软件目录，以免导致路径配置失效。

```bash
unzip sdas-1.0.1.zip
tar -xzf sdas-1.0.1.tar.gz
cd sdas-1.0.1
sh setup.sh
```

## 4. 测试运行

```bash
./SDAS -h
```

## 5. 其他说明

* **软件压缩包共30G，解压后70G**
* **关于GPU使用的说明**：请用户自行安装CUDA >= 11.8，参考<https://docs.nvidia.com/cuda/cuda-installation-guide-linux/>


---

# 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/02_install.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.
