Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add seurat conversion #125

Merged
merged 8 commits into from
Jul 5, 2022
Merged

Add seurat conversion #125

merged 8 commits into from
Jul 5, 2022

Conversation

fmalmeida
Copy link
Contributor

This PR is related to issue #89

It contains a new module that uses a built-in function from seurat R package to automatically convert .mtx files in .seurat files.

@fmalmeida fmalmeida requested review from grst and apeltzer July 4, 2022 07:33
@github-actions
Copy link

github-actions bot commented Jul 4, 2022

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 2ccdc11

+| ✅ 148 tests passed       |+
!| ❗   1 tests had warnings |!

❗ Test warnings:

  • readme - README did not have a Nextflow minimum version badge.

✅ Tests passed:

Run details

  • nf-core/tools version 2.4.1
  • Run at 2022-07-04 13:41:33

@fmalmeida fmalmeida linked an issue Jul 4, 2022 that may be closed by this pull request
@fmalmeida fmalmeida marked this pull request as ready for review July 4, 2022 08:48
@grst
Copy link
Member

grst commented Jul 4, 2022

What's currently there looks good to me!

Should we have also have a version where all samples are merged into a single object including the sample metadata?
This is why I initially thought a conversion from h5ad would be easier.

@fmalmeida
Copy link
Contributor Author

fmalmeida commented Jul 4, 2022

Indeed it makes sense to have all the data stored in the object. I just added these one here for now as a proof of concept with a working script we already had for that.

An easy choice for having this metadata indeed seems a direct conversion from .h5ad to .rds. With that we can do in a single module for both sample-specific objects and the concatenated one, right?

To add this I would just need to find which package best fits to the pipeline ... On slack you proposed https://github.com/mojaveazure/seurat-disk, right? But this one lacks docker image, while luka proposed https://github.com/cellgeni/sceasy which seems to have a bioconda channel.

So maybe I can try sceasy first.

@grst
Copy link
Member

grst commented Jul 4, 2022

I have no strong feelings regarding the conversion tool. Let's go for sceasy then!

Copy link
Member

@apeltzer apeltzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brilliant, thank you!

@apeltzer apeltzer merged commit a1c6f12 into nf-core:dev Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatic conversion to h5ad/seurat files after alignment.
3 participants