KirstLab / asc_seurat

GNU General Public License v3.0
23 stars 9 forks source link

How to load seurat object .rds file? #14

Closed aoki0623mriid2 closed 2 years ago

aoki0623mriid2 commented 2 years ago

Dear

I tried to use asc-seurat. It is smart tool to handle single cell data very easily!

I would like to run asc-seurat with seurat object data that has already been preprocessed, demultiplexed with BD sample tags, and performed dimentionally reduction and clustering analysis in other pipelines. How can I load this data to asc-seurat pipeline?

Best regards, Hiroyasu

wendelljpereira commented 2 years ago

Hi Hiroyasu,

Thank you for your interest in using our application!

Unfortunately, it is not possible to load the rds file to analyze an individual sample in the current version. It is necessary to start from the counts' matrix as the output of 10x's cell ranger. It is possible to load the rds file in the trajectory inference tab and the integration tab. However, compatibility with clustered data from other pipelines is not guaranteed.

We are working on an update for Asc-Seurat that will allow more flexibility in the input format.

For now, the only way would be to generate the count's matrix in the 10x format and perform the clustering within the app. If you want to keep only the cells you already filtered, you could probably generate the counts' matrix from your clustered data using the DropletUtils package (See here: https://asc-seurat.readthedocs.io/en/latest/loading_data.html#format-of-the-dataset).

Cheers, Wendell

wendelljpereira commented 2 years ago

Hi @Hiroyasu,

I hope our answer helped. I am closing this issue if you have no other questions.

Best Regards, Wendell