# Importing CosMx data

### Obtain and add files to the project <a href="#importingcosmxdata-obtainandaddfilestotheproject" id="importingcosmxdata-obtainandaddfilestotheproject"></a>

There are 5 data files needed for CosMx data import: polygons.csv, exprMat\_file.csv, fov\_positions\_file.csv, metadata\_file.csv, tx\_file.csv. The last file (tx\_file.csv) contains the transcript information and is not required when importing protein data. Additionally the user will need an image folder, called either CellComposite or CellOverlay (**please ensure the images in this folder are not blank before uploading them to Flow**). This image folder contains one image per FOV and will be used for the visualisation of the spatial data.

Create a folder per sample, the folder will contain the 5 files and the image folder.

Transfer the data to your Flow server before moving onto the import step.

### Data import <a href="#importingcosmxdata-dataimport" id="importingcosmxdata-dataimport"></a>

* Create a new project and click the **'Add data'** button in the *Analyses* tab

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

* Select *Single cell > Spatial > NanoString CosMx* and click **Next**

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

* Click **Add sample**, name it and select the sample folder
* The importer will automatically select the image folder. If you have uploaded more than one image folder, select the one you want to use for the project.
* Select the appropriate annotation files (in this case we'll use hg38 - Ensembl Transcripts release 109)
* Leave the rest of the settings as default
* Click **Finish**

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

### Additional Assistance <a href="#importingcosmxdata-additionalassistance" id="importingcosmxdata-additionalassistance"></a>

If you need additional assistance, please visit [our support page](http://www.partek.com/support) to submit a help ticket or find phone numbers for regional support.

![](https://documentation.partek.com/download/resources/com.adaptavist.confluence.rate:rate/resources/themes/v2/gfx/loading_mini.gif)


---

# 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://help.multiomics.illumina.com/partek/partek-flow/tutorials/nanostring-cosmx-tutorial/importing-cosmx-data.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.
