# Stereo-seq Chip Mask

The Stereo-seq chip mask file stores a list of all known CID (Coordinate ID) sequences, which are crucial for mapping spatial information. Each CID corresponds to a unique spatial position on the chip, allowing researchers to precisely locate where each sequence originates. This spatial mapping is essential for understanding the spatial organization of cells and tissues, which can provide insights into cellular functions, interactions, and the overall architecture of the biological sample.&#x20;

<figure><img src="/files/67QCLwlN8T0QGkUeziY1" alt="" width="301"><figcaption><p>Stereo-seq chip diagram</p></figcaption></figure>

Each Stereo-seq chip mask file corresponds to one physical chip. Be sure to use consistent files during analysis. The mask file name format is shown below.&#x20;

<figure><img src="/files/w7ADBI4WZnktxP5rl4Iw" alt=""><figcaption><p>Stereo-seq chip mask file name format</p></figcaption></figure>

## Where to Find Chip Mask

### Accessing the DCS Cloud platform

STOmics Tech. utilizes a cloud-based platform, DCS Cloud, to store and transfer your Stereo-seq Chip Mask file. You can find and download your Stereo-seq Chip Mask file from the DCS Cloud platform.

<table><thead><tr><th width="235.22222900390625">Sites</th><th width="283">Website URL</th><th>Cloud / Data Center</th></tr></thead><tbody><tr><td>China (including Hong Kong, Macau, and Taiwan)</td><td><a href="https://cloud.stomics.tech/#/dashboard">https://cloud.stomics.tech/</a></td><td><p>Shikong Center</p><p>Alibaba Cloud</p></td></tr><tr><td>Asia-Pacific</td><td><a href="https://apac-cloud.stomics.tech/">https://apac-cloud.stomics.tech/</a></td><td>Alibaba Cloud</td></tr><tr><td>Europe</td><td><a href="https://eu-cloud.stomics.tech/">https://eu-cloud.stomics.tech/</a></td><td>AWS Cloud</td></tr></tbody></table>

Once you have purchased Stereo-seq kits, your order will be connected to DCS Cloud. To obtain your mask file, you will need to register for a DCS Cloud account on your region's website. If you are unsure about the correct site or have questions about the cloud or data center, please contact your local sales representative for assistance.

{% hint style="info" %}
For American region, please contact your local representative via Email (<STOmics-support@completegenomics.com>) for assistance.
{% endhint %}

### Quick Download (ordered through MGI)

If your product was purchased throuogh MGI, we recommend accessing the file download interface from the DCS Cloud homepage. To do this, navigate to "Public resources" -> "The mask of chip" on the right side. This method allows you to download the mask files directly without having to wait for your account to be added to a project.

<figure><img src="/files/NTfDp1zKij7i8UxJAY0u" alt=""><figcaption></figcaption></figure>

You can easily download the chip mask files by entering the Stereo-seq chip serial number (SN) found on the back of the chip. Alternatively, you can use the serial number of the Stereo-seq Slide kit. This kit serial number consists of the product reference number (REF) and the serial number (SN) found on the label of the box. Please note that when entering the REF and SN together, there should be no spaces in between.&#x20;

<div><figure><img src="/files/9moFh2rcXAqycMqs7Frs" alt=""><figcaption><p>Quering by Stereo-seq chip SN</p></figcaption></figure> <figure><img src="/files/8dDDyaGCvU1WmrNv52OX" alt=""><figcaption><p>Quering by Stereo-seq kit serial number (REF+SN)</p></figcaption></figure></div>

### Quick Download (Install download\_mask Tool)

Another convenient option is to use the **download\_mask Tool** to obtain mask files. This method requires no DCS Cloud login or token verification. Simply enter the Stereo-seq chip SN or the Stereo-seq kit serial number (REF+SN, entered without spaces), and the files can be saved directly to your local machine or Linux environment.

**Download the tool**: [STOmics official website](https://en.stomics.tech/) → Resources → [Software Archives](https://en.stomics.tech/resources/software-archives.html) → Tools for mask download

**Check help documentation**

```sh
## Linux version
./download_mask download -h
## Windows version
./download_mask.exe download -h
```

**Download mask by Stereo-seq chip SN**

<pre class="language-sh"><code class="lang-sh"><strong>## Linux version
</strong>./download_mask download -c &#x3C;Stereo-seq chip SN>
## Windows version
./download_mask.exe download -c &#x3C;Stereo-seq chip SN>
</code></pre>

**Download mask by Stereo-seq kit serial number (REF+SN)**

```sh
## Linux version
./download_mask download -b <Stereo-seq kit serial number (REF+SN)>
## Windows version
./download_mask.exe download -b <Stereo-seq kit serial number (REF+SN)>
```

### Regular Download (download files from "Data" of the project)

You can download your mask file as a [regular file](https://www.javatpoint.com/what-is-a-regular-file). All files on DCS Cloud are organized within a "Project." If your account has been added to a project, you can access your mask file from there.&#x20;

When logged in to the DCS Cloud site, find your project from the menu or by using the "Recent project" quick start option.

<figure><img src="/files/fWhWbOz1Irkq0NPZ6aH2" alt=""><figcaption><p>DCS Cloud home page</p></figcaption></figure>

After entering the project, navigate to the “Overview” section. All raw data and analysis results are stored under “Data”. Click on “Data” in the sidebar to access it. To locate the Stereo-seq Chip Mask files, select the “h5” file extension. If you need to find a specific Stereo-seq Chip Mask file, use the serial number (ID) located on the back of the chip or the number on the label of the Stereo-seq Chip Slide package.

<div><figure><img src="/files/9vPgeNKhYhCwo9E9DqUj" alt=""><figcaption><p>Access the "Data" project and filter for files with the "h5" extension.</p></figcaption></figure> <figure><img src="/files/iQfUpimv6C1oFQvc8Iqr" alt=""><figcaption><p>Locate the mask file for a particular chip by using its serial number (SN).</p></figcaption></figure></div>

## How to do a Regular Download

<figure><img src="/files/UcEe8AcHLTp0qJaDAhYL" alt=""><figcaption></figcaption></figure>

### Option 1: Web download (Alibaba & AWS Cloud)

For projects deployed on Alibaba or AWS Cloud, a "Web download" option is available for downloading files. Just select the mask file, click "Web download," and the file will be transferred to your device.

<figure><img src="/files/ccD7mcDx463AknpOR51u" alt=""><figcaption></figcaption></figure>

### Option 2: Raysync download (Shikong Center)

Mask files in data center are stored on internal servers, like HPC. Due to security concerns, transferring these files from the internal server to the publicly accessible network requires passing through a DMZ buffer zone and firewalls. Therefore, when downloading a mask file from data center, especially Shenzhen, you will need to first "transfer" the file from the internal server to the DMZ and then "download" it to your local file system via the Internet.

<figure><img src="/files/9I9djuJipHeP7ygjzJMG" alt=""><figcaption></figcaption></figure>

#### Step 1: Transfer your mask file from the internal server to DMZ

{% hint style="info" %}
For projects created within the last 3 months, you can skip this step. Your mask files have already been transferred and are temporarily saved on DMZ servers.&#x20;
{% endhint %}

<div><figure><img src="/files/yWgLKLDfhCn7yJL5Pt6u" alt=""><figcaption></figcaption></figure> <figure><img src="/files/sbZjwkItWnPMRMQWAWnH" alt=""><figcaption></figcaption></figure></div>

#### Step 2: Download the mask via the Raysync tool

<figure><img src="/files/eu6DJ8PQHCHKgdlojOdK" alt=""><figcaption></figcaption></figure>

**Raysync** offers two methods for downloading files: using the **Raysync client application** or **command-line tools**.&#x20;

When using **Raysync client**, you may be prompted to download and launch the Raysync client if it's not already installed. Once installed, launch the Raysync client application, return to the web interface and click "Download" button for your desired file. The client will handle the transfer process.

<div><figure><img src="/files/7t1Avjat4yvoWFMt0O5l" alt=""><figcaption></figcaption></figure> <figure><img src="/files/QPTlD4HmYRSOWVMtqjPe" alt=""><figcaption></figcaption></figure></div>

When using **Raysync command-line tools**, download and install the tool suitable for your operating system. Ensure that the necessary environment variables are configured correctly.

<div><figure><img src="/files/c9CoRu8L6E9TKezEwkUn" alt=""><figcaption></figcaption></figure> <figure><img src="/files/p5BecFejS7NsVuRPTerh" alt=""><figcaption></figcaption></figure> <figure><img src="/files/krFVzrlic2pJGWt6vXWx" alt=""><figcaption></figcaption></figure></div>

In the web interface, click "Generate and copy download command" to obtain the command tailored to your selected files. Determine and specify the directory where the files will be saved, and execute the generated command in your terminal or command prompt to download the files to your local or cluster environment.

{% hint style="warning" %}
**Note:** Each time you click the "Generate and copy download command" button, it may incur additional charges.
{% endhint %}

<figure><img src="/files/1nykd2svIXkjj9e9BX0t" alt=""><figcaption></figcaption></figure>

### Option 3: **Ossutil tool download** (Alibaba Cloud)

The [Ossutil tool](https://www.alibabacloud.com/help/en/oss/developer-reference/ossutil-overview) is a **command-line utility** provided by Alibaba Cloud for managing their Object Storage Service (OSS). The tool is compatible with Windows, Linux, and macOS.

<div><figure><img src="/files/d2rPUo8YEON1karngG5l" alt=""><figcaption></figcaption></figure> <figure><img src="/files/axsLc9xkPKGsmgpN1LOE" alt=""><figcaption></figcaption></figure></div>

#### Step 1: Install and prepare the ossutil tool

Download and decompress the installation package.&#x20;

{% hint style="info" %}
For more information about how to install ossutil, please visit:<https://www.alibabacloud.com/help/en/oss/developer-reference/install-ossutil>
{% endhint %}

<div><figure><img src="/files/dOQ3i6Wy4mX6pCwSytFF" alt=""><figcaption><p>Windows: run the <em>ossutil.bat</em> file</p></figcaption></figure> <figure><img src="/files/ezua7CSkd4aPg2v3OcRR" alt=""><figcaption><p>Linux: add execute permission to ossutil files</p></figcaption></figure> <figure><img src="/files/P7lEYXNcNYiryaW7XThC" alt=""><figcaption><p>macOS: add execute permission to ossutil files</p></figcaption></figure></div>

#### Step 2: Copy and paste the auto-generated command and download the mask file from the cloud

<figure><img src="/files/u2YzhBtaGAyPei43Qso4" alt=""><figcaption></figcaption></figure>

<div><figure><img src="/files/EH5DElrPHq18DyImsndF" alt=""><figcaption><p>Windows: paste commands to console</p></figcaption></figure> <figure><img src="/files/zw9Kzc6sZDDezm6ilEy3" alt=""><figcaption><p>Linux: add ./ and paste commands to console</p></figcaption></figure> <figure><img src="/files/DMDjCtDlxbzKiYmuw71N" alt=""><figcaption><p>macOS: paste commands to terminal</p></figcaption></figure></div>

### Option 4: **AWS CLI tool** download (AWS Cloud)

The [AWS Command Line Interface](https://aws.amazon.com/cli/) (AWS CLI) is a unified tool to manage your AWS services from the command line. The tool is compatible with Windows, Linux, and macOS.

<div><figure><img src="/files/zHWIk8pgVcGiDzefnBj7" alt=""><figcaption></figcaption></figure> <figure><img src="/files/zqh2IUGpWizK1mCQVaid" alt=""><figcaption></figcaption></figure></div>

#### Step 1: Install AWS CLI

<div><figure><img src="/files/5Ohbl7npMGtdtiD2WM95" alt=""><figcaption><p>Windows: double-click <em>.msi</em> file to install AWS CLI</p></figcaption></figure> <figure><img src="/files/t457sZtdnulcEks5dXkf" alt=""><figcaption><p>Linux: follow <em>README.md</em> to install AWS CLI</p></figcaption></figure> <figure><img src="/files/Dujs5AAGiYRzZYwOvys3" alt=""><figcaption><p>macOS: double-click <em>.pkg</em> file to install AWS CLI</p></figcaption></figure></div>

#### Step 2: Copy and paste the auto-generated command and download the mask file from the cloud

<div><figure><img src="/files/dT0UlNtYb0oU6r5HaN3d" alt=""><figcaption></figcaption></figure> <figure><img src="/files/qnMDuJWRWEuUu1zUmcEE" alt=""><figcaption><p>Paste commands to console or terminal</p></figcaption></figure></div>


---

# 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://stereotoolss-organization.gitbook.io/stereo-seq-chip-mask/stereo-seq-chip-mask.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.
