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

Update Scanpy to 1.10, preparing for GTA #6162

Merged
merged 57 commits into from
Sep 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
0c519fa
Update Scanpy to 1.10
pavanvidem Jul 19, 2024
c44197b
update some tests
pavanvidem Jul 23, 2024
4236e39
update some existing function parameters, add pp.scrublet function
pavanvidem Aug 7, 2024
329e9d7
Change tool names to start with Scanpy
pavanvidem Aug 7, 2024
e9d1fec
Update a few more clustering functions
pavanvidem Aug 7, 2024
c7704de
Add pl.tracksplot, pl.scrublet_score_distribution
pavanvidem Aug 10, 2024
9be88ad
update a few more ploting functions
pavanvidem Aug 12, 2024
55bc97e
add rank_genes_groups_tracksplot and update some other params
pavanvidem Aug 15, 2024
e886155
Add harmony, scanorama and bbkn params
pavanvidem Aug 15, 2024
d247e23
Add tests for batch correction methods and scrublet
pavanvidem Aug 16, 2024
d40b30a
test
nilchia Aug 20, 2024
9036da2
fixed filter.xml
nilchia Aug 20, 2024
e3baa92
inspect.xml is fixed
nilchia Aug 22, 2024
1551a83
Fixed remove_confounders
nilchia Aug 22, 2024
b6b9a80
fix mnnpy
nilchia Aug 22, 2024
e011636
plot.xml is fixed
nilchia Aug 24, 2024
447a859
fixed lint error
nilchia Aug 25, 2024
9f69540
remove header variable from plot.xml
nilchia Aug 25, 2024
1ab4be4
reduced test-data size
nilchia Aug 26, 2024
f18d3cd
add header from #6113 PR
nilchia Aug 26, 2024
7e3db42
corrected cmd in plot.xml for header
nilchia Aug 26, 2024
019fcc9
correct requirements
nilchia Aug 26, 2024
8d6c87a
clean cluster.xml
nilchia Aug 26, 2024
9ac98b0
clean filter.xml
nilchia Aug 26, 2024
9b9a87a
clean inspect.xml
nilchia Aug 27, 2024
af1c7f1
clean macros.xml
nilchia Aug 27, 2024
9d5f434
clean normalize.xml
nilchia Aug 27, 2024
ac5a655
clean remove.xml
nilchia Aug 27, 2024
fb2d5ca
clean plot.xml part1
nilchia Aug 27, 2024
c76235b
clean plot.xml
nilchia Aug 27, 2024
0dfc450
update tests
nilchia Aug 27, 2024
0686e98
multi_panel in plot.xml
nilchia Aug 28, 2024
12682d5
remove repeated default params in tests and final update
nilchia Aug 28, 2024
a9b9109
update readme
nilchia Aug 28, 2024
0c69fbc
lint fix
nilchia Aug 28, 2024
d85089d
Final
nilchia Aug 28, 2024
5e238a9
added comment for issues and commented out functions
nilchia Sep 3, 2024
8e110a9
image-diff for plot.xml outputs
nilchia Sep 3, 2024
7e83eb9
corrected macros
nilchia Sep 3, 2024
85591a1
added selected=true
nilchia Sep 3, 2024
348c8a6
header argument as boolean
nilchia Sep 3, 2024
4b16a23
better name for CMD_SHOW
nilchia Sep 3, 2024
a89b760
selected=true round 2 :)
nilchia Sep 3, 2024
3c82de3
use cp again
nilchia Sep 3, 2024
dbacb2c
remove selected=true when the param is optional=true
nilchia Sep 3, 2024
810ca82
comment for cp
nilchia Sep 4, 2024
2aa47ae
indentation
nilchia Sep 5, 2024
4c2d6d0
Update tools/scanpy/macros.xml
nilchia Sep 6, 2024
b497f28
add Single Cell category
nilchia Sep 6, 2024
809c9b2
assert h5
nilchia Sep 6, 2024
8b0c121
no adata output for filter_marker
nilchia Sep 6, 2024
41a71ef
correct shed.yml
nilchia Sep 6, 2024
dcdfa0c
correct shed.yml
nilchia Sep 6, 2024
ba5d660
new link to paper
nilchia Sep 7, 2024
2aa4462
link to published paper
nilchia Sep 7, 2024
b5cc8f1
test for pp.downsample_counts, pp.sqrt, external.pp.magic, pp.regress…
nilchia Sep 7, 2024
7b4559d
update magic test
nilchia Sep 7, 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
5 changes: 3 additions & 2 deletions tools/scanpy/.shed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ long_description: |
remote_repository_url: https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/
type: unrestricted
categories:
- Transcriptomics
- Sequence Analysis
- Single Cell
- Spatial Omics
- Transcriptomics
auto_tool_repositories:
name_template: "{{ tool_id }}"
description_template: "Wrapper for the scanpy tool suite: {{ tool_name }}"
Expand Down
23 changes: 18 additions & 5 deletions tools/scanpy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Scanpy
`pp.highly_variable_genes` | Extract highly variable genes
`pp.subsample` | Subsample to a fraction of the number of observations
`pp.downsample_counts` | Downsample counts so that each cell has no more than target_counts
`pp.scrublet` | Predict doublets

3. Normalize (`normalize.xml`)

Expand All @@ -34,29 +35,33 @@ Scanpy
`pp.recipe_zheng17` | Normalization and filtering as of [Zheng17]
`pp.recipe_weinreb17` | Normalization and filtering as of [Weinreb17]
`pp.recipe_seurat` | Normalization and filtering as of Seurat [Satija15]
`external.pp.magic` | Denoising using Markov Affinity-based Graph Imputation of Cells (MAGIC) API

4. Remove confounders (`remove_confounder.xml`)

Methods | Description
--- | ---
`pp.regress_out` | Regress out unwanted sources of variation
`pp.mnn_correct` | Correct batch effects by matching mutual nearest neighbors
<!-- `pp.mnn_correct` | Correct batch effects by matching mutual nearest neighbors -->
`pp.combat` | ComBat function for batch effect correction
`external.pp.bbknn` | Batch effect removal with Batch balanced KNN (BBKNN)
`external.pp.harmony_integrate` | Integrate multiple single-cell experiments with Harmony
`external.pp.scanorama_integrate` | Integrate multiple single-cell experiments with Scanorama

5. Clustering, embedding and trajectory inference (`cluster_reduce_dimension.xml`)

Methods | Description
--- | ---
`tl.louvain` | Cluster cells into subgroups
`tl.leiden` | Cluster cells into subgroups
`tl.pca` | Principal component analysis
`pp.pca` | Principal component analysis (appears to be the same func...)
`pp.pca` | Principal component analysis
`tl.diffmap` | Diffusion Maps
`tl.tsne` | t-SNE
`tl.umap` | Embed the neighborhood graph using UMAP
`tl.draw_graph` | Force-directed graph drawing
`tl.dpt` | Infer progression of cells through geodesic distance along the graph
`tl.paga` | Mapping out the coarse-grained connectivity structures of complex manifolds
`tl.embedding_density` | Calculate the density of cells in an embedding (per condition)

6. Plot (`plot.xml`)

Expand All @@ -66,18 +71,20 @@ Scanpy
--- | ---
`pl.scatter` | Scatter plot along observations or variables axes
`pl.heatmap` | Heatmap of the expression values of set of genes
`pl.tracksplot` | Tracks plot of the expression values per cell
`pl.dotplot` | Makes a dot plot of the expression values
`pl.violin` | Violin plot
`pl.stacked_violin` | Stacked violin plots
`pl.matrixplot` | Heatmap of the mean expression values per cluster
`pl.clustermap` | Hierarchically-clustered heatmap

2. Preprocessing

Methods | Description
--- | ---
`pl.highest_expr_genes` | Plot the fraction of counts assigned to each gene over all cells
`pl.highly_variable_genes` | Plot dispersions versus means for genes
`pl.scrublet_score_distribution` | Histogram of doublet scores

3. PCA

Expand All @@ -96,12 +103,13 @@ Scanpy
`pl.umap` | Scatter plot in UMAP basis
`pl.diffmap` | Scatter plot in Diffusion Map basis
`pl.draw_graph` | Scatter plot in graph-drawing basis
`pl.embedding_density` | Density of cells in an embedding (per condition)

5. Branching trajectories and pseudotime, clustering

Methods | Description
--- | ---
`pl.dpt_groups_pseudotime` | Plot groups and pseudotime
<!-- `pl.dpt_groups_pseudotime` | Plot groups and pseudotime -->
`pl.dpt_timeseries` | Heatmap of pseudotime series
`pl.paga` | Plot the abstracted graph through thresholding low-connectivity edges
`pl.paga_compare` | Scatter and PAGA graph side-by-side
Expand All @@ -113,3 +121,8 @@ Scanpy
--- | ---
`pl.rank_genes_groups` | Plot ranking of genes using dotplot plot
`pl.rank_genes_groups_violin` | Plot ranking of genes for all tested comparisons
`pl.rank_genes_groups_stacked_violin` | Plot ranking of genes as stacked violin plot
`pl.rank_genes_groups_heatmap` | Plot ranking of genes as heatmap plot
`pl.rank_genes_groups_dotplot` | Plot ranking of genes as dotplot plot
`pl.rank_genes_groups_matrixplot` | Plot ranking of genes as matrixplot plot
`pl.rank_genes_groups_tracksplot` | Plot ranking of genes as tracksplot plot
Loading