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

Seurat Tool FIlter Plot & Explore edits by Author #4988

Merged
merged 27 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
0d0ea28
Update tutorial.md in Seurat Tool FIlter Plot & Explore by Author
Camila-goclowski Jun 3, 2024
e5d0a39
infrastructure spelled correctly
Camila-goclowski Jun 3, 2024
e6a0625
added workflow via folder
Camila-goclowski Jun 3, 2024
ceb4c44
flipped contributions
Camila-goclowski Jun 3, 2024
fb4c787
made renamed objects more intuitive
Camila-goclowski Jun 3, 2024
2ec7011
workflow test
Camila-goclowski Jun 3, 2024
639174c
new
Camila-goclowski Jun 3, 2024
89f435f
workflow fix attempt (add input)
Camila-goclowski Jun 3, 2024
9f1e9ac
remove unsuccessful attempt
Camila-goclowski Jun 3, 2024
9332ef4
try adding via links
Camila-goclowski Jun 3, 2024
190de58
Create test-data folder
wee-snufkin Jun 17, 2024
743b3f1
delete test-data folder
wee-snufkin Jun 17, 2024
b2b85c2
workflow tests
wee-snufkin Jun 17, 2024
2b6f069
Merge branch 'main' into patch-4
wee-snufkin Jun 17, 2024
90be5e4
add creators, licences and stuff
wee-snufkin Jun 17, 2024
6183a0f
Update topics/single-cell/tutorials/scrna-case_FilterPlotandExplore_S…
Camila-goclowski Jun 20, 2024
35483ed
Update topics/single-cell/tutorials/scrna-case_FilterPlotandExplore_S…
Camila-goclowski Jun 20, 2024
7f0b7ba
Merge branch 'galaxyproject:main' into patch-4
Camila-goclowski Aug 10, 2024
b817fda
Update Workflow-constructed-from-history-'Tool-based-FPE'-(imported-f…
Camila-goclowski Aug 10, 2024
c4f3583
Update Workflow-constructed-from-history-'Tool-based-FPE'-(imported-f…
Camila-goclowski Aug 10, 2024
41e4a70
Update topics/single-cell/tutorials/scrna-case_FilterPlotandExplore_S…
shiltemann Dec 5, 2024
9d27f21
Update topics/single-cell/tutorials/scrna-case_FilterPlotandExplore_S…
shiltemann Dec 5, 2024
545fd21
rename workflow files
shiltemann Dec 5, 2024
83d1d9c
Merge branch 'main' into patch-4
shiltemann Dec 5, 2024
b0e6202
point to workflow in GTN
shiltemann Dec 5, 2024
01f479b
fix rename
shiltemann Dec 5, 2024
4c5dee5
add tag
shiltemann Dec 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,22 @@ tags:
contributions:
authorship:
- Camila-goclowski
infrastructure:
- pcm32
editing:
- pavanvidem
- hexylena


answer_histories:
- label: "usegalaxy.eu"
history: https://usegalaxy.eu/u/camila-goclowski/h/seurattool-based-fpe
date: 2024-06-03

input_histories:
- label: "usegalaxy.eu"
history: https://usegalaxy.eu/u/camila-goclowski/h/tool-based-seurat-fpe-input-data

---


Expand Down Expand Up @@ -387,8 +399,8 @@ This is an important step to set up our data for further dimensionality reductio
> - *"Genes to use"*: `Seurat FindVariableGenes on data 12: Variable genes tabular file`
> - *"Vars to regress"*: `nCount_RNA`
> - *"Statistical model"*: `Linear model`
>
> **Rename** {% icon galaxy-pencil %} output `Preprocessed Seurat Object`
>
> **Rename** {% icon galaxy-pencil %} output `Scaled, Preprocessed Seurat Object`
{: .hands_on}

You now have a preprocessed Seurat object!
Expand Down Expand Up @@ -417,9 +429,11 @@ We can calculate the first handful of principal components in our data to drasti
> <hands-on-title>Run PCA </hands-on-title>
>
> Run{% tool [Seurat RunPCA](toolshed.g2.bx.psu.edu/repos/ebi-gxa/seurat_run_pca/seurat_run_pca/4.0.4+galaxy0) %} with the following parameters:
> - *"RDS file"*: `Preprocessed Seurat Object` (output of **Seurat RunPCA** {% icon tool%})
> - *"RDS file"*: `Scaled, Preprocessed Seurat Object` (output of **Seurat ScaleData** {% icon tool%})
> - *"Choose the format of the output"*: `RDS with a Seurat object`
> - *"Genes to scale"*: `Seurat FindVariableGenes on data 12: Variable genes tabular file`
>
> **Rename** {% icon galaxy-pencil %} RDS output `PCA Processed Seurat Object`
{: .hands_on}

This tool will output you with four new datasets into your history:
Expand Down Expand Up @@ -452,20 +466,24 @@ Let's now use the 15 PC threshold we chose from the Elbowplot and apply it to fi
> <hands-on-title>Find Neighbors </hands-on-title>
>
> Run{% tool [Seurat FindNeighbours](toolshed.g2.bx.psu.edu/repos/ebi-gxa/seurat_find_neighbours/seurat_find_neighbours/4.0.4+galaxy0) %} with the following parameters:
> - *"RDS file"*: `Preprocessed Seurat Object` (output of **Seurat RunPCA** {% icon tool %})
> - *"RDS file"*: `PCA Processed Seurat Object` (output of **Seurat RunPCA** {% icon tool %})
> - *"Reduction"*: `pca`
> - *"Dimensions"*: `1,2,3,4,5,6,7,8,9,10,11,12,13,14,15`
> - *"Assay"*: `RNA`
>
> **Rename** {% icon galaxy-pencil %} output `Preprocessed Seurat Object with Neighbors`
{: .hands_on}

Now we can use the neighborhood graph to identify clusters of cells whose transcriptional profiles appear most similar to one another: we can identify and label clusters:

> <hands-on-title>Find Clusters </hands-on-title>
>
> Run{% tool [Seurat FindClusters](toolshed.g2.bx.psu.edu/repos/ebi-gxa/seurat_find_clusters/seurat_find_clusters/4.0.4+galaxy0) %} with the following parameters:
> - *"RDS file"*: `Preprocessed Seurat Object` (output of **Seurat FindNeighbors** {% icon tool %})
> - *"RDS file"*: `Preprocessed Seurat Object with Neighbors` (output of **Seurat FindNeighbors** {% icon tool %})
> - In *"Advanced Options "*
> - *"Resolution"*: `0.5`
>
> **Rename** {% icon galaxy-pencil %} output `Preprocessed Seurat Object with Clusters`
{: .hands_on}

This tool will output two new datasets: as usual, a new Seurat object which includes a metadata column denoting which cluster each cell was assigned to, and a csv file of the same information.
Expand All @@ -492,7 +510,7 @@ Now that we have made note within our object of which cells cluster together, we
> <hands-on-title>Run UMAP </hands-on-title>
>
> Run{% tool [Seurat UMAP](toolshed.g2.bx.psu.edu/repos/ebi-gxa/seurat_run_umap/seurat_run_umap/4.0.4+galaxy0) %} with the following parameters:
> - *"RDS file"*: `Preprocessed Seurat Object` (output of **Seurat FIndClusters** {% icon tool %})
> - *"RDS file"*: `Preprocessed Seurat Object with Clusters` (output of **Seurat FindClusters** {% icon tool %})
> - *"Choose the format of the output"*: `RDS with a Seurat object`
> - *"Dims"*: `1:15`
>
Expand Down Expand Up @@ -788,4 +806,5 @@ If we look at the differences between genotypes alone (so the pseudo-bulk), we c

Ultimately, there are quite a lot ways to analyse your single-cell data, both within the confines of this tutorial (the many parameters that could be changed throughout) and outside of it (batch correction, sub-clustering, cell-cycle scoring, inferred trajectories, etc.) Most analyses will still yield the same general output, though: there are fewer knockout cells in the mature T-cell population, suggesting some sort of abberant development of T-cells in the Igf2-p0 hets.

Congratulations! You have interpreted your plots in several important ways!
{% icon congratulations %} Congratulations! You have interpreted your plots in several important ways! You might want to consult your results with this [control history](https://singlecell.usegalaxy.eu/u/camila-goclowski/h/seurattool-based-fpe), and check out the [workflow](https://singlecell.usegalaxy.eu/u/camila-goclowski/w/workflow-constructed-from-history-tool-based-fpe) for this tutorial.

Copy link
Member

Choose a reason for hiding this comment

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

can you please rename this file and also the workflow to have a nice name. Without ()' and the imported from ...

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
GTN_RUN_SKIP_REASON #Saskia approved
- doc: Test outline for Workflow-constructed-from-history-'Tool-based-FPE'-(imported-from-uploaded-file)
shiltemann marked this conversation as resolved.
Show resolved Hide resolved
job:
SC-Atlas experiment accession: E-MTAB-6945
outputs:
rds_seurat_umap:
class: File
location: https://zenodo.org/record/11966309/files/rds_seurat_umap.rdata
filetype: rdata
rds_seurat_clusters:
class: File
location: https://zenodo.org/record/11966309/files/rds_seurat_clusters.rdata
filetype: rdata
Loading
Loading