Clustering 3k PBMCs with Seurat - Workflow

single-cell-scrna-seurat-pbmc3k/seurat-pbmc-workflow

Author(s)
Marisa Loach
version Version
1
last_modification Last updated
Jan 23, 2025
license License
CC-BY-4.0
galaxy-tags Tags
name:singlecell
name:seurat

Features
Tutorial
hands_on Clustering 3K PBMCs with Seurat
workflow Other workflows associated with this material
Workflow Testing
Tests: ✅
Results: Not yet automated
FAIRness purl PURL
https://gxy.io/GTN:W00305
RO-Crate logo with flask Download Workflow RO-Crate Workflowhub cloud with gears logo View on (Dev) WorkflowHub
Launch in Tutorial Mode question
galaxy-download Download
flowchart TD
  0["ℹ️ Input Dataset\nmatrix.mtx"];
  style 0 stroke:#2c3143,stroke-width:4px;
  1["ℹ️ Input Dataset\ngenes.tsv"];
  style 1 stroke:#2c3143,stroke-width:4px;
  2["ℹ️ Input Dataset\nbarcodes.tsv"];
  style 2 stroke:#2c3143,stroke-width:4px;
  3["ℹ️ Input Dataset\nCanonical Markers"];
  style 3 stroke:#2c3143,stroke-width:4px;
  4["Input 3k PBMC"];
  2 -->|output| 4;
  1 -->|output| 4;
  0 -->|output| 4;
  a8c9f322-b194-4641-9332-7cf0fe55217a["Output\nInput 3k PBMC"];
  4 --> a8c9f322-b194-4641-9332-7cf0fe55217a;
  style a8c9f322-b194-4641-9332-7cf0fe55217a stroke:#2c3143,stroke-width:4px;
  5["Seurat Data Management"];
  4 -->|rds_out| 5;
  6["Mitochondrial Annotations"];
  4 -->|rds_out| 6;
  7["Seurat Visualize"];
  6 -->|rds_out| 7;
  8["Seurat Visualize"];
  6 -->|rds_out| 8;
  9["Seurat Visualize"];
  6 -->|rds_out| 9;
  10["Filtered Dataset"];
  6 -->|rds_out| 10;
  11["Seurat Visualize"];
  10 -->|rds_out| 11;
  12["Seurat Visualize"];
  10 -->|rds_out| 12;
  13["Seurat Visualize"];
  10 -->|rds_out| 13;
  14["Seurat Preprocessing"];
  10 -->|rds_out| 14;
  15["Seurat Preprocessing"];
  14 -->|rds_out| 15;
  16["Preprocessed Data"];
  15 -->|rds_out| 16;
  0a27839d-de16-4ccd-a85e-62de1aa3f195["Output\nPreprocessed Data"];
  16 --> 0a27839d-de16-4ccd-a85e-62de1aa3f195;
  style 0a27839d-de16-4ccd-a85e-62de1aa3f195 stroke:#2c3143,stroke-width:4px;
  17["Seurat Visualize"];
  16 -->|rds_out| 17;
  18["PCA Results"];
  16 -->|rds_out| 18;
  19["Seurat Visualize"];
  18 -->|rds_out| 19;
  20["Seurat Visualize"];
  18 -->|rds_out| 20;
  21["Seurat Visualize"];
  18 -->|rds_out| 21;
  22["Seurat Visualize"];
  18 -->|rds_out| 22;
  23["Seurat Visualize"];
  18 -->|rds_out| 23;
  24["Seurat Visualize"];
  18 -->|rds_out| 24;
  25["Seurat Visualize"];
  18 -->|rds_out| 25;
  26["Seurat Find Clusters"];
  18 -->|rds_out| 26;
  27["Seurat Find Clusters"];
  26 -->|rds_out| 27;
  28["UMAP Results"];
  27 -->|rds_out| 28;
  29["Seurat Visualize"];
  28 -->|rds_out| 29;
  30["Seurat Visualize"];
  28 -->|rds_out| 30;
  31["Seurat Visualize"];
  28 -->|rds_out| 31;
  32["DE Markers"];
  28 -->|rds_out| 32;
  33["Seurat Visualize"];
  28 -->|rds_out| 33;
  34["Seurat Visualize"];
  28 -->|rds_out| 34;
  35["Seurat Visualize"];
  28 -->|rds_out| 35;
  36["Seurat Visualize"];
  28 -->|rds_out| 36;
  37["Annotated Clusters"];
  28 -->|rds_out| 37;
  a0798ec4-d7f8-4ba0-81bf-d1dbc4f99bd7["Output\nAnnotated Clusters"];
  37 --> a0798ec4-d7f8-4ba0-81bf-d1dbc4f99bd7;
  style a0798ec4-d7f8-4ba0-81bf-d1dbc4f99bd7 stroke:#2c3143,stroke-width:4px;
  38["DE Markers Tabular"];
  32 -->|markers_tabular| 38;
  39["Seurat Visualize"];
  37 -->|rds_out| 39;
  40["Seurat Visualize"];
  3 -->|output| 40;
  37 -->|rds_out| 40;
  41["Input DE Markers"];
  38 -->|tabular| 41;
  ac96c3d2-5708-497e-8e0d-fe7d8024209b["Output\nInput DE Markers"];
  41 --> ac96c3d2-5708-497e-8e0d-fe7d8024209b;
  style ac96c3d2-5708-497e-8e0d-fe7d8024209b stroke:#2c3143,stroke-width:4px;
  42["Seurat Visualize"];
  41 -->|out_file1| 42;
  37 -->|rds_out| 42;

Inputs

Input Label
matrix.mtx matrix.mtx
genes.tsv genes.tsv
barcodes.tsv barcodes.tsv
Canonical Markers Canonical Markers

Outputs

From Output Label
toolshed.g2.bx.psu.edu/repos/iuc/seurat_create/seurat_create/5.0+galaxy1 Seurat Create Input 3k PBMC
toolshed.g2.bx.psu.edu/repos/iuc/seurat_preprocessing/seurat_preprocessing/5.0+galaxy0 Seurat Preprocessing Preprocessed Data
toolshed.g2.bx.psu.edu/repos/iuc/seurat_data/seurat_data/5.0+galaxy0 Seurat Data Management Annotated Clusters
Cut1 Cut Input DE Markers

Tools

Tool Links
Cut1
csv_to_tabular
toolshed.g2.bx.psu.edu/repos/iuc/seurat_clustering/seurat_clustering/5.0+galaxy0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/seurat_create/seurat_create/5.0+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/seurat_data/seurat_data/5.0+galaxy0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/seurat_plot/seurat_plot/5.0+galaxy0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/seurat_preprocessing/seurat_preprocessing/5.0+galaxy0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/seurat_reduce_dimension/seurat_reduce_dimension/5.0+galaxy0 View in ToolShed

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 Workflow on the top menu bar of Galaxy. 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 ddc0ab898 2025-01-08 10:15:57 Correcting file name 3
5 ce9b2844f 2025-01-08 10:15:12 Deleting old file
4 1e4cb24f2 2024-10-31 14:03:00 Fixing errors in Seurat_PBMC_Workflow.ga
3 553c45c57 2024-10-31 13:55:39 Adding missing " to workflow
2 6bcca5b8d 2024-10-31 13:27:31 Adding workflows with workflow tests
1 aa1ea4031 2024-10-29 10:14:15 Shorter name for workflow 1

For Admins

Installing the workflow tools

wget https://training.galaxyproject.org/training-material/topics/single-cell/tutorials/scrna-seurat-pbmc3k/workflows/Seurat_PBMC_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