full-V1-Breast-Cancer-Block-A-Section-1-workflow
single-cell-spatial-breast-cancer-tme-SPICA/full-v1-breast-cancer-block-a-section-1-workflow
Launch in Tutorial Mode
question
galaxy-download Download
galaxy-download Download
flowchart TD 0["ℹ️ Input Dataset\nSpatial Data object"]; style 0 stroke:#2c3143,stroke-width:4px; 1["SpatialData Operations"]; 0 -->|output| 1; 314501bd-adef-498e-9b3c-81ba64466e40["Output\nInitial AnnData table"]; 1 --> 314501bd-adef-498e-9b3c-81ba64466e40; style 314501bd-adef-498e-9b3c-81ba64466e40 stroke:#2c3143,stroke-width:4px; 2["Inspect AnnData"]; 1 -->|result_adata| 2; 59c1d3d5-58cd-43a6-8bcf-802b21d6f628["Output\nInitial AnnData dimensions"]; 2 --> 59c1d3d5-58cd-43a6-8bcf-802b21d6f628; style 59c1d3d5-58cd-43a6-8bcf-802b21d6f628 stroke:#2c3143,stroke-width:4px; 3["Scanpy Inspect and manipulate"]; 1 -->|result_adata| 3; 6b87b499-73f0-4b0a-aa9a-3065ef32b4d0["Output\nQC metrics before filtering"]; 3 --> 6b87b499-73f0-4b0a-aa9a-3065ef32b4d0; style 6b87b499-73f0-4b0a-aa9a-3065ef32b4d0 stroke:#2c3143,stroke-width:4px; 4["Inspect AnnData"]; 3 -->|anndata_out| 4; d74e2e79-becf-4f96-b0e5-6eef2afb04ed["Output\nQC AnnData field inventory before filtering"]; 4 --> d74e2e79-becf-4f96-b0e5-6eef2afb04ed; style d74e2e79-becf-4f96-b0e5-6eef2afb04ed stroke:#2c3143,stroke-width:4px; 5["Scanpy plot"]; 3 -->|anndata_out| 5; 9646b945-8901-486a-80d3-7142d27aa2dc["Output\nScatter plot before filtering"]; 5 --> 9646b945-8901-486a-80d3-7142d27aa2dc; style 9646b945-8901-486a-80d3-7142d27aa2dc stroke:#2c3143,stroke-width:4px; 6["Scanpy plot"]; 3 -->|anndata_out| 6; 418330e7-dadb-4aa5-8a19-e3f86e32a04a["Output\nViolin plots before filtering"]; 6 --> 418330e7-dadb-4aa5-8a19-e3f86e32a04a; style 418330e7-dadb-4aa5-8a19-e3f86e32a04a stroke:#2c3143,stroke-width:4px; 7["SpatialData Operations"]; 0 -->|output| 7; 3 -->|anndata_out| 7; 8["Scanpy filter"]; 3 -->|anndata_out| 8; 40c936e4-4ddf-47ea-a22c-952373f52a4b["Output\nFilter minimum genes expressed per spot"]; 8 --> 40c936e4-4ddf-47ea-a22c-952373f52a4b; style 40c936e4-4ddf-47ea-a22c-952373f52a4b stroke:#2c3143,stroke-width:4px; 9["EVIDENCE: pre-filter QC per-spot values"]; 3 -->|anndata_out| 9; 471d3a38-26d8-4fa9-b255-30cd06059018["Output\nEVIDENCE: pre-filter QC per-spot values"]; 9 --> 471d3a38-26d8-4fa9-b255-30cd06059018; style 471d3a38-26d8-4fa9-b255-30cd06059018 stroke:#2c3143,stroke-width:4px; 10["SpatialData Plot"]; 7 -->|spatialdata_output| 10; 3e9c73f1-062f-4159-95d9-c462f44f6b1a["Output\nSpatial Plot total_counts before filtering"]; 10 --> 3e9c73f1-062f-4159-95d9-c462f44f6b1a; style 3e9c73f1-062f-4159-95d9-c462f44f6b1a stroke:#2c3143,stroke-width:4px; 11["SpatialData Plot"]; 7 -->|spatialdata_output| 11; e05a5c78-4d3d-4083-bae1-ccae17fd6ad6["Output\nSpatial Plot n_genes_by_counts before filtering"]; 11 --> e05a5c78-4d3d-4083-bae1-ccae17fd6ad6; style e05a5c78-4d3d-4083-bae1-ccae17fd6ad6 stroke:#2c3143,stroke-width:4px; 12["Scanpy filter"]; 8 -->|anndata_out| 12; d7169911-e30a-496c-8381-1d6e81c2834b["Output\nFilter minimum counts per spot"]; 12 --> d7169911-e30a-496c-8381-1d6e81c2834b; style d7169911-e30a-496c-8381-1d6e81c2834b stroke:#2c3143,stroke-width:4px; 13["EVIDENCE: pre-filter QC numeric summary"]; 9 -->|obs| 13; e93c83ec-8824-4ba2-baf6-a3d6c2f952a5["Output\nEVIDENCE: pre-filter QC numeric summary"]; 13 --> e93c83ec-8824-4ba2-baf6-a3d6c2f952a5; style e93c83ec-8824-4ba2-baf6-a3d6c2f952a5 stroke:#2c3143,stroke-width:4px; 14["Inspect after minimum spot filters"]; 12 -->|anndata_out| 14; 01394547-200c-4fd2-9e5b-e7decd0007db["Output\nInspect after minimum spot filters"]; 14 --> 01394547-200c-4fd2-9e5b-e7decd0007db; style 01394547-200c-4fd2-9e5b-e7decd0007db stroke:#2c3143,stroke-width:4px; 15["Scanpy filter"]; 12 -->|anndata_out| 15; dea0f5dc-3839-49c4-9a3f-5b3856da494a["Output\nFilter minimum spots expressed per gene"]; 15 --> dea0f5dc-3839-49c4-9a3f-5b3856da494a; style dea0f5dc-3839-49c4-9a3f-5b3856da494a stroke:#2c3143,stroke-width:4px; 16["Inspect after minimum-spot gene filter"]; 15 -->|anndata_out| 16; 8a24ed16-aabd-425f-9316-05c39788b2f7["Output\nInspect after minimum-spot gene filter"]; 16 --> 8a24ed16-aabd-425f-9316-05c39788b2f7; style 8a24ed16-aabd-425f-9316-05c39788b2f7 stroke:#2c3143,stroke-width:4px; 17["Scanpy Inspect and manipulate"]; 15 -->|anndata_out| 17; 6df152fd-4d8f-43c8-af39-b5d1e60270bf["Output\nQC metrics after filtering"]; 17 --> 6df152fd-4d8f-43c8-af39-b5d1e60270bf; style 6df152fd-4d8f-43c8-af39-b5d1e60270bf stroke:#2c3143,stroke-width:4px; 18["Scanpy plot"]; 17 -->|anndata_out| 18; 9976361f-8b18-405a-bf5b-e49dd0a299d1["Output\nScatter plot after filtering"]; 18 --> 9976361f-8b18-405a-bf5b-e49dd0a299d1; style 9976361f-8b18-405a-bf5b-e49dd0a299d1 stroke:#2c3143,stroke-width:4px; 19["Scanpy plot"]; 17 -->|anndata_out| 19; 7b29ceaf-ed0d-4c3f-a7ab-830ba5d7a67c["Output\nViolin plots after filtering"]; 19 --> 7b29ceaf-ed0d-4c3f-a7ab-830ba5d7a67c; style 7b29ceaf-ed0d-4c3f-a7ab-830ba5d7a67c stroke:#2c3143,stroke-width:4px; 20["SpatialData Operations"]; 0 -->|output| 20; 17 -->|anndata_out| 20; 21["Scanpy normalize"]; 17 -->|anndata_out| 21; d6d4f6c9-80fe-4ce3-93d0-40560a8fa881["Output\nNormalised AnnData"]; 21 --> d6d4f6c9-80fe-4ce3-93d0-40560a8fa881; style d6d4f6c9-80fe-4ce3-93d0-40560a8fa881 stroke:#2c3143,stroke-width:4px; 22["EVIDENCE: post-filter QC per-spot values"]; 17 -->|anndata_out| 22; da6c8088-b74d-43f4-819a-7bbe54628715["Output\nEVIDENCE: post-filter QC per-spot values"]; 22 --> da6c8088-b74d-43f4-819a-7bbe54628715; style da6c8088-b74d-43f4-819a-7bbe54628715 stroke:#2c3143,stroke-width:4px; 23["SpatialData Plot"]; 20 -->|spatialdata_output| 23; d8899793-677b-4e55-8efa-f0e0b0158197["Output\nSpatial Plot total_counts after filtering"]; 23 --> d8899793-677b-4e55-8efa-f0e0b0158197; style d8899793-677b-4e55-8efa-f0e0b0158197 stroke:#2c3143,stroke-width:4px; 24["SpatialData Plot"]; 20 -->|spatialdata_output| 24; f4df54d6-91fe-4f5e-8c75-68ee6d90c6a4["Output\nSpatial Plot n_genes_by_counts after filtering"]; 24 --> f4df54d6-91fe-4f5e-8c75-68ee6d90c6a4; style f4df54d6-91fe-4f5e-8c75-68ee6d90c6a4 stroke:#2c3143,stroke-width:4px; 25["Scanpy Inspect and manipulate"]; 21 -->|anndata_out| 25; b385cd91-4d8a-4c21-aa87-80da44cbcd38["Output\nLog-normalised AnnData"]; 25 --> b385cd91-4d8a-4c21-aa87-80da44cbcd38; style b385cd91-4d8a-4c21-aa87-80da44cbcd38 stroke:#2c3143,stroke-width:4px; 26["EVIDENCE: post-filter QC numeric summary"]; 22 -->|obs| 26; 4855e307-12db-4f1e-bb85-046d11d91eba["Output\nEVIDENCE: post-filter QC numeric summary"]; 26 --> 4855e307-12db-4f1e-bb85-046d11d91eba; style 4855e307-12db-4f1e-bb85-046d11d91eba stroke:#2c3143,stroke-width:4px; 27["Scanpy filter"]; 25 -->|anndata_out| 27; 5f92b165-679c-492a-8cc7-388daa6f27ce["Output\nAnnData with HVGs"]; 27 --> 5f92b165-679c-492a-8cc7-388daa6f27ce; style 5f92b165-679c-492a-8cc7-388daa6f27ce stroke:#2c3143,stroke-width:4px; 28["Scanpy plot"]; 27 -->|anndata_out| 28; a1882863-1e26-4e2f-991e-b0e3abe652f3["Output\nPlot HVGs"]; 28 --> a1882863-1e26-4e2f-991e-b0e3abe652f3; style a1882863-1e26-4e2f-991e-b0e3abe652f3 stroke:#2c3143,stroke-width:4px; 29["PCA on normalized log1p data main analysis"]; 27 -->|anndata_out| 29; 8bb1e8ea-78c1-4cc1-b025-2c92f6125bee["Output\nAnnData with PCA"]; 29 --> 8bb1e8ea-78c1-4cc1-b025-2c92f6125bee; style 8bb1e8ea-78c1-4cc1-b025-2c92f6125bee stroke:#2c3143,stroke-width:4px; 30["OPTIONAL: regress out total_counts"]; 27 -->|anndata_out| 30; 360c6a0e-78f9-445e-bb2f-51c24c737f13["Output\nAnnData regressed for total_counts"]; 30 --> 360c6a0e-78f9-445e-bb2f-51c24c737f13; style 360c6a0e-78f9-445e-bb2f-51c24c737f13 stroke:#2c3143,stroke-width:4px; 31["Plot PCA before regression"]; 29 -->|anndata_out| 31; 7b829aeb-be17-4abc-96fd-72040db3b886["Output\nPlot PCA before regression"]; 31 --> 7b829aeb-be17-4abc-96fd-72040db3b886; style 7b829aeb-be17-4abc-96fd-72040db3b886 stroke:#2c3143,stroke-width:4px; 32["EVIDENCE: main PCA spot QC covariates"]; 29 -->|anndata_out| 32; 88b68653-ab5d-4cd4-8dfc-bdade6f96ee1["Output\nEVIDENCE: main PCA spot QC covariates"]; 32 --> 88b68653-ab5d-4cd4-8dfc-bdade6f96ee1; style 88b68653-ab5d-4cd4-8dfc-bdade6f96ee1 stroke:#2c3143,stroke-width:4px; 33["EVIDENCE: main PCA coordinates"]; 29 -->|anndata_out| 33; 648be316-9466-424b-8f1c-181eb2859866["Output\nEVIDENCE: main PCA coordinates"]; 33 --> 648be316-9466-424b-8f1c-181eb2859866; style 648be316-9466-424b-8f1c-181eb2859866 stroke:#2c3143,stroke-width:4px; 34["Neighbors from non-regressed PCA"]; 29 -->|anndata_out| 34; 2788f7b3-e0d3-4819-811e-0f5e3f691bcf["Output\nCompute a neighborhood graph of observations"]; 34 --> 2788f7b3-e0d3-4819-811e-0f5e3f691bcf; style 2788f7b3-e0d3-4819-811e-0f5e3f691bcf stroke:#2c3143,stroke-width:4px; 35["OPTIONAL: PCA after regression"]; 30 -->|anndata_out| 35; 61d941a2-5e48-46bd-a2cd-442b1b0162d5["Output\nPCA after regression AnnData"]; 35 --> 61d941a2-5e48-46bd-a2cd-442b1b0162d5; style 61d941a2-5e48-46bd-a2cd-442b1b0162d5 stroke:#2c3143,stroke-width:4px; 36["EVIDENCE: PC1-3 correlations with total_counts"]; 32 -->|obs| 36; 33 -->|obsm_X_pca| 36; 5e2a832b-135a-4133-a30b-2962d4b28ef3["Output\nEVIDENCE: PC1-3 correlations with total_counts"]; 36 --> 5e2a832b-135a-4133-a30b-2962d4b28ef3; style 5e2a832b-135a-4133-a30b-2962d4b28ef3 stroke:#2c3143,stroke-width:4px; 37["Scanpy cluster, embed"]; 34 -->|anndata_out| 37; 0e9fc2db-f2be-4efc-a56d-48ac366ff428["Output\nAnnData with UMAP"]; 37 --> 0e9fc2db-f2be-4efc-a56d-48ac366ff428; style 0e9fc2db-f2be-4efc-a56d-48ac366ff428 stroke:#2c3143,stroke-width:4px; 38["OPTIONAL: plot PCA after regression"]; 35 -->|anndata_out| 38; 5f8d47ee-2d50-4756-8cee-5cf0df29ebce["Output\nPlot PCA after regression"]; 38 --> 5f8d47ee-2d50-4756-8cee-5cf0df29ebce; style 5f8d47ee-2d50-4756-8cee-5cf0df29ebce stroke:#2c3143,stroke-width:4px; 39["EVIDENCE: optional regression PCA coordinates"]; 35 -->|anndata_out| 39; 65facb6b-8392-459e-a6b4-fa11e8870649["Output\nEVIDENCE: optional regression PCA coordinates"]; 39 --> 65facb6b-8392-459e-a6b4-fa11e8870649; style 65facb6b-8392-459e-a6b4-fa11e8870649 stroke:#2c3143,stroke-width:4px; 40["Scanpy plot"]; 37 -->|anndata_out| 40; ad7087ab-0bcd-4942-940b-a163d24a75bf["Output\nPlot UMAP"]; 40 --> ad7087ab-0bcd-4942-940b-a163d24a75bf; style ad7087ab-0bcd-4942-940b-a163d24a75bf stroke:#2c3143,stroke-width:4px; 41["Scanpy cluster, embed"]; 37 -->|anndata_out| 41; 4dcbb2e6-ceb4-4143-a176-a34674c28eeb["Output\nAnnData with leiden_res_0.4"]; 41 --> 4dcbb2e6-ceb4-4143-a176-a34674c28eeb; style 4dcbb2e6-ceb4-4143-a176-a34674c28eeb stroke:#2c3143,stroke-width:4px; 42["EVIDENCE: PC1-3 correlations after total-count regression"]; 32 -->|obs| 42; 39 -->|obsm_X_pca| 42; e69f6c83-3afb-4cbe-b4b2-8d549a8b4fb7["Output\nEVIDENCE: PC1-3 correlations after total-count regression"]; 42 --> e69f6c83-3afb-4cbe-b4b2-8d549a8b4fb7; style e69f6c83-3afb-4cbe-b4b2-8d549a8b4fb7 stroke:#2c3143,stroke-width:4px; 43["Scanpy cluster, embed"]; 41 -->|anndata_out| 43; 69161704-d219-4257-8668-72d566cf44da["Output\nAnnData with Leiden comparison 0.4 and 0.8"]; 43 --> 69161704-d219-4257-8668-72d566cf44da; style 69161704-d219-4257-8668-72d566cf44da stroke:#2c3143,stroke-width:4px; 44["Scanpy cluster, embed"]; 43 -->|anndata_out| 44; e7680bc2-2270-4b5c-ad1e-9cf1b8eec804["Output\nAnnData with Leiden comparison 0.4 and 0.8 and 1.2"]; 44 --> e7680bc2-2270-4b5c-ad1e-9cf1b8eec804; style e7680bc2-2270-4b5c-ad1e-9cf1b8eec804 stroke:#2c3143,stroke-width:4px; 45["EVIDENCE: Leiden partitions per spot"]; 44 -->|anndata_out| 45; f69526d6-f3f0-40ac-8a26-72dc54dfd2e3["Output\nEVIDENCE: Leiden partitions per spot"]; 45 --> f69526d6-f3f0-40ac-8a26-72dc54dfd2e3; style f69526d6-f3f0-40ac-8a26-72dc54dfd2e3 stroke:#2c3143,stroke-width:4px; 46["Scanpy plot"]; 44 -->|anndata_out| 46; 9b7be0bb-66af-40bd-bd5a-ebbb94081ba8["Output\nPlot Leiden comparison"]; 46 --> 9b7be0bb-66af-40bd-bd5a-ebbb94081ba8; style 9b7be0bb-66af-40bd-bd5a-ebbb94081ba8 stroke:#2c3143,stroke-width:4px; 47["Scanpy Inspect and manipulate"]; 44 -->|anndata_out| 47; 5bddad81-ea2b-47e2-9aa2-af7137d0472f["Output\nRank genes for characterizing groups"]; 47 --> 5bddad81-ea2b-47e2-9aa2-af7137d0472f; style 5bddad81-ea2b-47e2-9aa2-af7137d0472f stroke:#2c3143,stroke-width:4px; 7605b86d-d57f-4097-8abc-844ff391d8ff["Output\nAnnData with markers"]; 47 --> 7605b86d-d57f-4097-8abc-844ff391d8ff; style 7605b86d-d57f-4097-8abc-844ff391d8ff stroke:#2c3143,stroke-width:4px; 48["EVIDENCE: group sizes at three Leiden resolutions"]; 45 -->|obs| 48; 4f095436-ba8c-4856-9ea2-7ad809159227["Output\nEVIDENCE: group sizes at three Leiden resolutions"]; 48 --> 4f095436-ba8c-4856-9ea2-7ad809159227; style 4f095436-ba8c-4856-9ea2-7ad809159227 stroke:#2c3143,stroke-width:4px; 49["EVIDENCE: adjusted Rand index between resolutions"]; 45 -->|obs| 49; 450a435d-5345-4213-8b79-00f0f5f3683c["Output\nEVIDENCE: adjusted Rand index between resolutions"]; 49 --> 450a435d-5345-4213-8b79-00f0f5f3683c; style 450a435d-5345-4213-8b79-00f0f5f3683c stroke:#2c3143,stroke-width:4px; 50["EVIDENCE: Leiden 0.4-to-0.8 crosswalk"]; 45 -->|obs| 50; 4a63b020-536f-472f-9f03-3949dc503673["Output\nEVIDENCE: Leiden 0.4-to-0.8 crosswalk"]; 50 --> 4a63b020-536f-472f-9f03-3949dc503673; style 4a63b020-536f-472f-9f03-3949dc503673 stroke:#2c3143,stroke-width:4px; 51["EVIDENCE: Leiden 0.8-to-1.2 crosswalk"]; 45 -->|obs| 51; 264f7531-06af-4537-a3a4-9ea79b9eb31c["Output\nEVIDENCE: Leiden 0.8-to-1.2 crosswalk"]; 51 --> 264f7531-06af-4537-a3a4-9ea79b9eb31c; style 264f7531-06af-4537-a3a4-9ea79b9eb31c stroke:#2c3143,stroke-width:4px; 52["Scanpy plot"]; 47 -->|anndata_out| 52; 88d10f17-6172-4081-bb03-7c160c4f03e8["Output\nPlot ranking of genes"]; 52 --> 88d10f17-6172-4081-bb03-7c160c4f03e8; style 88d10f17-6172-4081-bb03-7c160c4f03e8 stroke:#2c3143,stroke-width:4px; 53["Squidpy"]; 47 -->|anndata_out| 53; 4ca71327-f343-4483-b3bc-2efa00cb95ba["Output\nAnnData with spatial neighbours"]; 53 --> 4ca71327-f343-4483-b3bc-2efa00cb95ba; style 4ca71327-f343-4483-b3bc-2efa00cb95ba stroke:#2c3143,stroke-width:4px; 54["Squidpy"]; 53 -->|spatialdata_output_h5ad| 54; 0484bff2-7dc1-47f4-928f-136e225cf8b5["Output\nAnnData with centrality scores"]; 54 --> 0484bff2-7dc1-47f4-928f-136e225cf8b5; style 0484bff2-7dc1-47f4-928f-136e225cf8b5 stroke:#2c3143,stroke-width:4px; 55["Squidpy Plot"]; 54 -->|spatialdata_output_h5ad| 55; 5cf72a12-55c7-4e95-8775-91805c053000["Output\nPlot Centrality Scores"]; 55 --> 5cf72a12-55c7-4e95-8775-91805c053000; style 5cf72a12-55c7-4e95-8775-91805c053000 stroke:#2c3143,stroke-width:4px; 56["Squidpy"]; 54 -->|spatialdata_output_h5ad| 56; bbc473e1-298d-4492-9d27-c9ad363aab71["Output\nAnnData with neighborhood enrichment"]; 56 --> bbc473e1-298d-4492-9d27-c9ad363aab71; style bbc473e1-298d-4492-9d27-c9ad363aab71 stroke:#2c3143,stroke-width:4px; 57["Squidpy Plot"]; 56 -->|spatialdata_output_h5ad| 57; 1eef148b-6ae6-409e-be2b-a8e25d929759["Output\nPlot Neighborhood Enrichment"]; 57 --> 1eef148b-6ae6-409e-be2b-a8e25d929759; style 1eef148b-6ae6-409e-be2b-a8e25d929759 stroke:#2c3143,stroke-width:4px; 58["Squidpy"]; 56 -->|spatialdata_output_h5ad| 58; f8443664-5a29-4996-ae05-467d11af0e69["Output\nAnnData with Moran's I"]; 58 --> f8443664-5a29-4996-ae05-467d11af0e69; style f8443664-5a29-4996-ae05-467d11af0e69 stroke:#2c3143,stroke-width:4px; 59["CellTypist"]; 58 -->|spatialdata_output_h5ad| 59; 61fd9c3d-edf3-4288-97fe-b9a6d83bebba["Output\nCellTypist-annotated AnnData"]; 59 --> 61fd9c3d-edf3-4288-97fe-b9a6d83bebba; style 61fd9c3d-edf3-4288-97fe-b9a6d83bebba stroke:#2c3143,stroke-width:4px; 56e6cddc-9018-428d-a5f3-04be80e81d42["Output\nPlot CellTypist predicted labels"]; 59 --> 56e6cddc-9018-428d-a5f3-04be80e81d42; style 56e6cddc-9018-428d-a5f3-04be80e81d42 stroke:#2c3143,stroke-width:4px; 60["SpatialData Operations"]; 0 -->|output| 60; 58 -->|spatialdata_output_h5ad| 60; 61["Liana Methods"]; 58 -->|spatialdata_output_h5ad| 61; 714c6e64-6fe4-4f65-9e1f-bbfad00fa5eb["Output\nFinal LIANA AnnData"]; 61 --> 714c6e64-6fe4-4f65-9e1f-bbfad00fa5eb; style 714c6e64-6fe4-4f65-9e1f-bbfad00fa5eb stroke:#2c3143,stroke-width:4px; 62["EVIDENCE: CellTypist spot predictions"]; 59 -->|anndata_out| 62; f4c9208d-ea66-4ea3-82d0-d08baca42c7e["Output\nEVIDENCE: CellTypist spot predictions"]; 62 --> f4c9208d-ea66-4ea3-82d0-d08baca42c7e; style f4c9208d-ea66-4ea3-82d0-d08baca42c7e stroke:#2c3143,stroke-width:4px; 63["SpatialData Plot"]; 60 -->|spatialdata_output| 63; b6440141-1a6c-44df-b659-65b512491204["Output\nPlot spatial Morans clusters"]; 63 --> b6440141-1a6c-44df-b659-65b512491204; style b6440141-1a6c-44df-b659-65b512491204 stroke:#2c3143,stroke-width:4px; 64["SpatialData Operations"]; 0 -->|output| 64; 61 -->|anndata_out| 64; 65["EVIDENCE: CellTypist label counts and percentages"]; 62 -->|obs| 65; 11d336c2-8afc-45b1-8528-b9ed7d2edcdd["Output\nEVIDENCE: CellTypist label counts and percentages"]; 65 --> 11d336c2-8afc-45b1-8528-b9ed7d2edcdd; style 11d336c2-8afc-45b1-8528-b9ed7d2edcdd stroke:#2c3143,stroke-width:4px; 66["EVIDENCE: CellTypist confidence summary"]; 62 -->|obs| 66; 18615bf4-95af-4a5c-b9d3-765d8db90c99["Output\nEVIDENCE: CellTypist confidence summary"]; 66 --> 18615bf4-95af-4a5c-b9d3-765d8db90c99; style 18615bf4-95af-4a5c-b9d3-765d8db90c99 stroke:#2c3143,stroke-width:4px; 67["EVIDENCE: CellTypist versus Leiden cross-tabulation"]; 62 -->|obs| 67; 204bd830-a185-406a-8d4a-b8be5a734809["Output\nEVIDENCE: CellTypist versus Leiden cross-tabulation"]; 67 --> 204bd830-a185-406a-8d4a-b8be5a734809; style 204bd830-a185-406a-8d4a-b8be5a734809 stroke:#2c3143,stroke-width:4px; 68["SpatialData Plot"]; 64 -->|spatialdata_output| 68; 95e8c532-e1e8-42f8-9d76-404e18c74dc3["Output\nPlot spatial clusters"]; 68 --> 95e8c532-e1e8-42f8-9d76-404e18c74dc3; style 95e8c532-e1e8-42f8-9d76-404e18c74dc3 stroke:#2c3143,stroke-width:4px;
Inputs
| Input | Label |
|---|---|
| Input dataset | Spatial Data object |
Outputs
| From | Output | Label |
|---|---|---|
| toolshed.g2.bx.psu.edu/repos/iuc/spatialdata_operation/spatialdata_operation/0.8.0+galaxy0 | SpatialData Operations | |
| toolshed.g2.bx.psu.edu/repos/iuc/anndata_inspect/anndata_inspect/0.13.3+galaxy0 | Inspect AnnData | |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_inspect/scanpy_inspect/1.11.5+galaxy0 | Scanpy Inspect and manipulate | |
| toolshed.g2.bx.psu.edu/repos/iuc/anndata_inspect/anndata_inspect/0.13.3+galaxy0 | Inspect AnnData | |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_plot/scanpy_plot/1.11.5+galaxy0 | Scanpy plot | |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_plot/scanpy_plot/1.11.5+galaxy0 | Scanpy plot | |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_filter/scanpy_filter/1.11.5+galaxy0 | Scanpy filter | |
| toolshed.g2.bx.psu.edu/repos/iuc/anndata_inspect/anndata_inspect/0.13.3+galaxy0 | Inspect AnnData | EVIDENCE: pre-filter QC per-spot values |
| toolshed.g2.bx.psu.edu/repos/iuc/spatialdata_plot/spatialdata_plot/0.8.0+galaxy0 | SpatialData Plot | |
| toolshed.g2.bx.psu.edu/repos/iuc/spatialdata_plot/spatialdata_plot/0.8.0+galaxy0 | SpatialData Plot | |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_filter/scanpy_filter/1.11.5+galaxy0 | Scanpy filter | |
| toolshed.g2.bx.psu.edu/repos/iuc/query_tabular/query_tabular/3.3.2 | Query Tabular | EVIDENCE: pre-filter QC numeric summary |
| toolshed.g2.bx.psu.edu/repos/iuc/anndata_inspect/anndata_inspect/0.13.3+galaxy0 | Inspect AnnData | Inspect after minimum spot filters |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_filter/scanpy_filter/1.11.5+galaxy0 | Scanpy filter | |
| toolshed.g2.bx.psu.edu/repos/iuc/anndata_inspect/anndata_inspect/0.13.3+galaxy0 | Inspect AnnData | Inspect after minimum-spot gene filter |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_inspect/scanpy_inspect/1.11.5+galaxy0 | Scanpy Inspect and manipulate | |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_plot/scanpy_plot/1.11.5+galaxy0 | Scanpy plot | |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_plot/scanpy_plot/1.11.5+galaxy0 | Scanpy plot | |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_normalize/scanpy_normalize/1.11.5+galaxy0 | Scanpy normalize | |
| toolshed.g2.bx.psu.edu/repos/iuc/anndata_inspect/anndata_inspect/0.13.3+galaxy0 | Inspect AnnData | EVIDENCE: post-filter QC per-spot values |
| toolshed.g2.bx.psu.edu/repos/iuc/spatialdata_plot/spatialdata_plot/0.8.0+galaxy0 | SpatialData Plot | |
| toolshed.g2.bx.psu.edu/repos/iuc/spatialdata_plot/spatialdata_plot/0.8.0+galaxy0 | SpatialData Plot | |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_inspect/scanpy_inspect/1.11.5+galaxy0 | Scanpy Inspect and manipulate | |
| toolshed.g2.bx.psu.edu/repos/iuc/query_tabular/query_tabular/3.3.2 | Query Tabular | EVIDENCE: post-filter QC numeric summary |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_filter/scanpy_filter/1.11.5+galaxy0 | Scanpy filter | |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_plot/scanpy_plot/1.11.5+galaxy0 | Scanpy plot | |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_cluster_reduce_dimension/scanpy_cluster_reduce_dimension/1.11.5+galaxy0 | Scanpy cluster, embed | PCA on normalized log1p data (main analysis) |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_remove_confounders/scanpy_remove_confounders/1.11.5+galaxy0 | Scanpy remove confounders | OPTIONAL: regress out total_counts |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_plot/scanpy_plot/1.11.5+galaxy0 | Scanpy plot | Plot PCA before regression |
| toolshed.g2.bx.psu.edu/repos/iuc/anndata_inspect/anndata_inspect/0.13.3+galaxy0 | Inspect AnnData | EVIDENCE: main PCA spot QC covariates |
| toolshed.g2.bx.psu.edu/repos/iuc/anndata_inspect/anndata_inspect/0.13.3+galaxy0 | Inspect AnnData | EVIDENCE: main PCA coordinates |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_inspect/scanpy_inspect/1.11.5+galaxy0 | Scanpy Inspect and manipulate | Neighbors from non-regressed PCA |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_cluster_reduce_dimension/scanpy_cluster_reduce_dimension/1.11.5+galaxy0 | Scanpy cluster, embed | OPTIONAL: PCA after regression |
| toolshed.g2.bx.psu.edu/repos/iuc/query_tabular/query_tabular/3.3.2 | Query Tabular | EVIDENCE: PC1-3 correlations with total_counts |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_cluster_reduce_dimension/scanpy_cluster_reduce_dimension/1.11.5+galaxy0 | Scanpy cluster, embed | |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_plot/scanpy_plot/1.11.5+galaxy0 | Scanpy plot | OPTIONAL: plot PCA after regression |
| toolshed.g2.bx.psu.edu/repos/iuc/anndata_inspect/anndata_inspect/0.13.3+galaxy0 | Inspect AnnData | EVIDENCE: optional regression PCA coordinates |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_plot/scanpy_plot/1.11.5+galaxy0 | Scanpy plot | |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_cluster_reduce_dimension/scanpy_cluster_reduce_dimension/1.11.5+galaxy0 | Scanpy cluster, embed | |
| toolshed.g2.bx.psu.edu/repos/iuc/query_tabular/query_tabular/3.3.2 | Query Tabular | EVIDENCE: PC1-3 correlations after total-count regression |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_cluster_reduce_dimension/scanpy_cluster_reduce_dimension/1.11.5+galaxy0 | Scanpy cluster, embed | |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_cluster_reduce_dimension/scanpy_cluster_reduce_dimension/1.11.5+galaxy0 | Scanpy cluster, embed | |
| toolshed.g2.bx.psu.edu/repos/iuc/anndata_inspect/anndata_inspect/0.13.3+galaxy0 | Inspect AnnData | EVIDENCE: Leiden partitions per spot |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_plot/scanpy_plot/1.11.5+galaxy0 | Scanpy plot | |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_inspect/scanpy_inspect/1.11.5+galaxy0 | Scanpy Inspect and manipulate | |
| toolshed.g2.bx.psu.edu/repos/iuc/query_tabular/query_tabular/3.3.2 | Query Tabular | EVIDENCE: group sizes at three Leiden resolutions |
| toolshed.g2.bx.psu.edu/repos/iuc/query_tabular/query_tabular/3.3.2 | Query Tabular | EVIDENCE: adjusted Rand index between resolutions |
| toolshed.g2.bx.psu.edu/repos/iuc/query_tabular/query_tabular/3.3.2 | Query Tabular | EVIDENCE: Leiden 0.4-to-0.8 crosswalk |
| toolshed.g2.bx.psu.edu/repos/iuc/query_tabular/query_tabular/3.3.2 | Query Tabular | EVIDENCE: Leiden 0.8-to-1.2 crosswalk |
| toolshed.g2.bx.psu.edu/repos/iuc/scanpy_plot/scanpy_plot/1.11.5+galaxy0 | Scanpy plot | |
| toolshed.g2.bx.psu.edu/repos/iuc/squidpy_graph/squidpy_graph/1.8.1+galaxy0 | Squidpy | |
| toolshed.g2.bx.psu.edu/repos/iuc/squidpy_graph/squidpy_graph/1.8.1+galaxy0 | Squidpy | |
| toolshed.g2.bx.psu.edu/repos/iuc/squidpy_plot/squidpy_plot/1.8.1+galaxy0 | Squidpy Plot | |
| toolshed.g2.bx.psu.edu/repos/iuc/squidpy_graph/squidpy_graph/1.8.1+galaxy0 | Squidpy | |
| toolshed.g2.bx.psu.edu/repos/iuc/squidpy_plot/squidpy_plot/1.8.1+galaxy0 | Squidpy Plot | |
| toolshed.g2.bx.psu.edu/repos/iuc/squidpy_graph/squidpy_graph/1.8.1+galaxy0 | Squidpy | |
| toolshed.g2.bx.psu.edu/repos/iuc/celltypist/celltypist/1.7.1+galaxy2 | CellTypist | |
| toolshed.g2.bx.psu.edu/repos/iuc/liana_methods/liana_methods/1.7.3+galaxy1 | Liana Methods | |
| toolshed.g2.bx.psu.edu/repos/iuc/anndata_inspect/anndata_inspect/0.13.3+galaxy0 | Inspect AnnData | EVIDENCE: CellTypist spot predictions |
| toolshed.g2.bx.psu.edu/repos/iuc/spatialdata_plot/spatialdata_plot/0.8.0+galaxy0 | SpatialData Plot | |
| toolshed.g2.bx.psu.edu/repos/iuc/query_tabular/query_tabular/3.3.2 | Query Tabular | EVIDENCE: CellTypist label counts and percentages |
| toolshed.g2.bx.psu.edu/repos/iuc/query_tabular/query_tabular/3.3.2 | Query Tabular | EVIDENCE: CellTypist confidence summary |
| toolshed.g2.bx.psu.edu/repos/iuc/query_tabular/query_tabular/3.3.2 | Query Tabular | EVIDENCE: CellTypist versus Leiden cross-tabulation |
| toolshed.g2.bx.psu.edu/repos/iuc/spatialdata_plot/spatialdata_plot/0.8.0+galaxy0 | SpatialData Plot |
Tools
To use these workflows in Galaxy you can either click the links to download the workflows, or you can right-click and copy the link to the workflow which can be used in the Galaxy form to import workflows.
Importing into Galaxy
Below are the instructions for importing these workflows directly into your Galaxy server of choice to start using them!Hands On: Importing a workflow
- Click on galaxy-workflows-activity Workflows in the Galaxy activity bar (on the left side of the screen, or in the top menu bar of older Galaxy instances). You will see a list of all your workflows
- Click on galaxy-upload Import at the top-right of the screen
- Provide your workflow
- Option 1: Paste the URL of the workflow into the box labelled “Archived Workflow URL”
- Option 2: Upload the workflow file in the box labelled “Archived Workflow File”
- Click the Import workflow button
Below is a short video demonstrating how to import a workflow from GitHub using this procedure:
Video: Importing a workflow from URL
Version History
| Version | Commit | Time | Comments |
|---|---|---|---|
| 6 | 11368daa6 | 2026-11-12 10:55:13 | Rename workflow file for consistency |
| 5 | 75d1c0edb | 2026-11-12 10:54:54 | Delete topics/single-cell/tutorials/spatial-breast-cancer-tme-SPICA/workflows/full-V1-Breast-Cancer-Block-A-Section-1-workflow.ga |
| 4 | 9547221f0 | 2026-11-09 15:42:56 | fix workflow, images, tests and add hisotry |
| 3 | 37ef4e8bb | 2026-09-14 11:45:28 | update the tutorial revison is needed |
| 2 | c51816b39 | 2026-09-10 09:52:44 | fix workflow |
| 1 | 4878f76dd | 2026-09-09 16:30:54 | update the tutorial backbone still many things to work on |
For Admins
Installing the workflow tools
wget https://training.galaxyproject.org/training-material/topics/single-cell/tutorials/spatial-breast-cancer-tme-SPICA/workflows/full-V1-Breast-Cancer-Block-A-Section-1-workflow.ga -O workflow.ga workflow-to-tools -w workflow.ga -o tools.yaml shed-tools install -g GALAXY -a API_KEY -t tools.yaml workflow-install -g GALAXY -a API_KEY -w workflow.ga --publish-workflows
Download Workflow RO-Crate