# Data Transfer From Partek Flow

Partek Flow project can't be directly transfer to Connected Multiomics study, user can download certain format of files from Partek Flow project and [upload to Connected Multiomics](https://help.connected.illumina.com/icm/introduction/upload-data-files).

Connected Multiomics doesn't support FASTQ or BAM file format, it takes Illumina secondary analysis output files, or sample by feature matrix file in text format.

Below are the instructions on how to download data from Partek Flow to local computer on different assays.

### Bulk mRNA and miRNA-Seq

In Partek Flow, bulk RNA-Seq (mRNA and other small RNA) data, export the data node contains count matrix, raw counts, or normalized count. E.g. bulk RNA analysis generate gene counts/transcript counts after quantification, the data node contains raw counts matrix at gene/transcript level:

<div align="left"><figure><img src="https://580316046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWMxqQAMFOJtu98OBk9KN%2Fuploads%2Fgit-blob-119b69bb648126a5ecdf7eff1cb48c76d84f0988%2Fquantification.png?alt=media" alt="" width="249"><figcaption></figcaption></figure></div>

Click on a data node e.g. Gene counts data node, choose **Download data** at the bottom of the pop-up menu, choose export option:

<div align="left"><figure><img src="https://580316046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWMxqQAMFOJtu98OBk9KN%2Fuploads%2Fgit-blob-36ec0388ff9cc55695dee46648e659262ff4b1a8%2Fdownload.png?alt=media" alt="" width="344"><figcaption></figcaption></figure></div>

Choose either features on column (which means samples are on rows) or features on rows (samples are on columns). Annotation information will be exported if that checkbox is selected, only the row annotation will be exported:

* When choose features on columns, only sample annotation can be exported.
* When choose Features on rows, only feature annotation can be exported.

Downloaded data is in a .zip file, decompress the file to retrieve the tab delimited text file in .txt format.

### scRNA-Seq

Single-cell RNA-Seq data can be exported as count matrix, it is similar as bulk RNA data export above. When choose *Features on column* options, all the sample annotation and cell annotation store on the *Metadata* tab will be included in the text file if *Annotation* checkbox is selected. However, export data in h5ad format is recommended because you have options to include more information on cells.

Select either the raw count matrix data node or normalized count data node, choose E**xport to h5ad files** under *Conversion* section on the pop-up menu. This option is only available when you select a data node contains cell by feature count matrix.

<div align="left"><figure><img src="https://580316046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWMxqQAMFOJtu98OBk9KN%2Fuploads%2Fgit-blob-63768a5a478af3e0590eb8e5d6e6f416a67a823f%2Fh5ad.png?alt=media" alt=""><figcaption></figcaption></figure></div>

In the dialog, you will have option to select data node like PCA, UMAP, t-SNE and Graph-based cluster, K-means-cluster if they are in your analysis pipeline. If you have multiple those results in your pipeline, you can only choose one of them.

<div align="left"><figure><img src="https://580316046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWMxqQAMFOJtu98OBk9KN%2Fuploads%2Fgit-blob-6a7653f4d6d8a80399c0cd87d50a96082f4e6e43%2Fh5adDialog.png?alt=media" alt="" width="328"><figcaption></figcaption></figure></div>

After click **Finish**, an H5ad file data node will be generated. Download it and import it to Connected Multiomics.

### Bulk ATAC/ChIP-Seq

Connected Multiomics accepts region counts as input for ATAC/ChIP-Seq data, which is a matrix of sample by region matrix. This information is stored in the output of **Quantify to region** task. In the matrix, the feature ID contains the genomic location of the region, represented by chromosome, start, stop.

The download option is similar to [Bulk RNA-Seq](#bulk-mrna-and-mirna-seq).

### DNA-Seq

Variant or annotated variant data nodes can be downloaded as VCF file to be imported into Connected Multiomics.

Click on a variant data node, choose Download data from the pop-up menu

<div align="left"><figure><img src="https://580316046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWMxqQAMFOJtu98OBk9KN%2Fuploads%2Fgit-blob-e3a0518dfccb2c051da0734db2067e0766ec12c5%2Fvcfdownload.png?alt=media" alt="" width="275"><figcaption></figcaption></figure></div>

Choose to export vcf one sample per file or merge all the samples into one vcf option and click **Download**.
