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

Use spatialdata #67

Merged
merged 72 commits into from
Apr 12, 2024
Merged

Use spatialdata #67

merged 72 commits into from
Apr 12, 2024

Conversation

cavenel
Copy link
Collaborator

@cavenel cavenel commented Jan 31, 2024

This PR replaces h5ad anndata objects with zarr spatialdata objects on disk.

  • Update docker environment to add spatialdata
  • Add function to get legacy anndata objects for scanpy plotting
  • Update tests to check for zarr files instead of h5ad
  • Update markdown text of quarto reports to introduce SpatialData format

Replace all reads and writes with SpatialData zarr, and use a "legacy anndata" conversion function to add images and scales, in order to plot with scanpy.
Copy link

github-actions bot commented Jan 31, 2024

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 509f547

+| ✅ 171 tests passed       |+
#| ❔   6 tests were ignored |#
!| ❗   3 tests had warnings |!

❗ Test warnings:

  • readme - README contains the placeholder zenodo.XXXXXXX. This should be replaced with the zenodo doi (after the first release).
  • pipeline_todos - TODO string in README.md: Add citation for pipeline after first release. Uncomment lines below and update Zenodo doi and badge at the top of this file.
  • pipeline_todos - TODO string in awsfulltest.yml: You can customise AWS full pipeline tests as required

❔ Tests ignored:

  • files_exist - File is ignored: conf/igenomes.config
  • files_unchanged - File ignored due to lint config: .gitattributes
  • files_unchanged - File ignored due to lint config: assets/nf-core-spatialtranscriptomics_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-spatialtranscriptomics_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-spatialtranscriptomics_logo_dark.png
  • actions_ci - actions_ci

✅ Tests passed:

Run details

  • nf-core/tools version 2.13.1
  • Run at 2024-04-12 12:13:46

@nf-core nf-core deleted a comment from github-actions bot Jan 31, 2024
@fasterius fasterius mentioned this pull request Mar 1, 2024
6 tasks
@fasterius fasterius linked an issue Mar 4, 2024 that may be closed by this pull request
bin/quality_controls.qmd Outdated Show resolved Hide resolved
bin/quality_controls.qmd Show resolved Hide resolved
bin/spatially_variable_genes.qmd Outdated Show resolved Hide resolved
@fasterius fasterius merged commit 5db31c4 into dev Apr 12, 2024
5 of 6 checks passed
@fasterius fasterius deleted the use-spatialdata branch April 12, 2024 12:29
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.

Add SpatialData as output
4 participants