# HG changeset patch # User iuc # Date 1774529333 0 # Node ID 387671174a498118594aa40b7e0c1021dee6c607 # Parent fc222791d03c50932752dc13aa418b0a673b0af7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/scanpy commit 732303de9670376c88e7afb2f23336ee1433e97d diff -r fc222791d03c -r 387671174a49 macros.xml --- a/macros.xml Wed Dec 03 10:01:11 2025 +0000 +++ b/macros.xml Thu Mar 26 12:48:53 2026 +0000 @@ -1,16 +1,12 @@ - 1.10.2 - 3 + 1.11.5 + 0 21.09 scanpy - anndata - numpy - pandas - scipy - statsmodels - fa2 + anndata + fa2_modified @@ -27,11 +23,11 @@ 10.1186/s13059-017-1382-0 + 10.1016/j.xgen.2025.101005 10.1093/gigascience/giaa102 - @@ -566,7 +562,6 @@ cp '$adata' 'anndata.h5ad' && cat '$script_file' > '$hidden_output' && python '$script_file' >> '$hidden_output' && -ls . >> '$hidden_output' && touch 'anndata_info.txt' && cat 'anndata_info.txt' @CMD_PRETTIFY_STDOUT@ ]]> @@ -1451,7 +1446,46 @@ ]]> + + + + + + + - + \ No newline at end of file diff -r fc222791d03c -r 387671174a49 plot.xml --- a/plot.xml Wed Dec 03 10:01:11 2025 +0000 +++ b/plot.xml Thu Mar 26 12:48:53 2026 +0000 @@ -4,9 +4,13 @@ - matplotlib - seaborn + pandas python-igraph + easy_vitessce + starlette + kerchunk + anywidget + uvicorn @@ -22,6 +26,10 @@ sc.settings.figdir = '.' +#if str($method.method) in ['pl.pca', 'pl.umap', 'pl.tsne', 'pl.diffmap', 'pl.violin', 'pl.dotplot', 'pl.heatmap'] and $method.interactive_plot: +@VITESSCE_ACTIVATE@ +#end if + #if str($method.method) == 'pl.scatter': #if str($method.type.type) == 'xy': @@ -86,7 +94,11 @@ #else if str($method.method) == 'pl.heatmap': @CMD_VAR_NAMES_HEADER_CHECK@ + #if $method.interactive_plot: +vitessce_widget = sc.pl.heatmap( + #else: sc.pl.heatmap( + #end if @CMD_PARAM_PLOT_INPUTS@ @CMD_PARAMS_INPUTS@ @CMD_PARAM_GENE_SYMBOLS@ @@ -96,7 +108,11 @@ #else if str($method.method) == 'pl.dotplot': @CMD_VAR_NAMES_HEADER_CHECK@ + #if $method.interactive_plot: +vitessce_widget = sc.pl.dotplot( + #else: sc.pl.dotplot( + #end if @CMD_PARAM_PLOT_INPUTS@ @CMD_PARAMS_INPUTS@ @CMD_PARAM_GENE_SYMBOLS@ @@ -114,7 +130,11 @@ @CMD_SHOW_NONE@) #else if str($method.method) == 'pl.violin': + #if $method.interactive_plot: +vitessce_widget = sc.pl.violin( + #else: sc.pl.violin( + #end if @CMD_PARAM_PLOT_INPUTS@ #if str($method.key_variables.type) == 'var_names': #set $key_list = adata.var_names @@ -220,7 +240,11 @@ @CMD_SHOW_NONE@) #else if str($method.method) == 'pl.pca': + #if $method.interactive_plot: +vitessce_widget = sc.pl.pca( + #else: sc.pl.pca( + #end if @CMD_PARAM_PLOT_INPUTS@ @CMD_PARAM_COLOR@ @CMD_PARAM_GENE_SYMBOLS@ @@ -264,7 +288,11 @@ @CMD_SHOW_NONE@) #else if str($method.method) == 'pl.tsne': + #if $method.interactive_plot: +vitessce_widget = sc.pl.tsne( + #else: sc.pl.tsne( + #end if @CMD_PARAM_PLOT_INPUTS@ @CMD_PARAM_COLOR@ @CMD_PARAM_GENE_SYMBOLS@ @@ -278,9 +306,12 @@ @CMD_SECTION_MATPLOTLIB_PYPLOT_SCATTER@ @CMD_PARAM_LAYER@ @CMD_SHOW_NONE@) - #else if str($method.method) == 'pl.umap': + #if $method.interactive_plot: +vitessce_widget = sc.pl.umap( + #else: sc.pl.umap( + #end if @CMD_PARAM_PLOT_INPUTS@ @CMD_PARAM_COLOR@ @CMD_PARAM_GENE_SYMBOLS@ @@ -296,7 +327,11 @@ @CMD_SHOW_NONE@) #else if str($method.method) == 'pl.diffmap': + #if $method.interactive_plot: +vitessce_widget = sc.pl.diffmap( + #else: sc.pl.diffmap( + #end if @CMD_PARAM_PLOT_INPUTS@ @CMD_PARAM_COLOR@ @CMD_PARAM_GENE_SYMBOLS@ @@ -350,8 +385,6 @@ hspace=$method.hspace, @CMD_SHOW_NONE@) - - #else if str($method.method) == 'pl.dpt_timeseries': sc.pl.dpt_timeseries( @CMD_PARAM_PLOT_INPUTS@ @@ -504,10 +537,14 @@ #end if -#if $advanced_common.output_anndata: +#if $advanced_common.output_anndata or (str($method.method) in ['pl.umap', 'pl.tsne', 'pl.diffmap', 'pl.violin', 'pl.dotplot', 'pl.heatmap'] and $method.interactive_plot): @CMD_ANNDATA_WRITE_OUTPUTS@ #end if +#if str($method.method) in ['pl.pca', 'pl.umap', 'pl.tsne', 'pl.diffmap', 'pl.violin', 'pl.dotplot', 'pl.heatmap'] and $method.interactive_plot: +@VITESSCE_CONFIG@ +#end if + ]]> @@ -535,8 +572,6 @@ - - @@ -614,12 +649,14 @@ + + @@ -630,6 +667,7 @@ + @@ -746,6 +784,7 @@ + @@ -777,6 +816,7 @@ + @@ -790,6 +830,7 @@ + @@ -803,6 +844,7 @@ + @@ -850,10 +892,6 @@ - - @@ -984,21 +1022,21 @@ - format == 'png' and method['method'] != 'pl.rank_genes_groups_violin' + format == 'png' and method['method'] != 'pl.rank_genes_groups_violin' and not (method['method'] in ['pl.pca', 'pl.umap', 'pl.tsne', 'pl.diffmap', 'pl.violin', 'pl.dotplot', 'pl.heatmap'] and method['interactive_plot']) format == 'png' and method['method'] == 'pl.rank_genes_groups_violin' - format == 'pdf' and method['method'] != 'pl.rank_genes_groups_violin' + format == 'pdf' and method['method'] != 'pl.rank_genes_groups_violin' and not (method['method'] in ['pl.pca', 'pl.umap', 'pl.tsne', 'pl.diffmap', 'pl.violin', 'pl.dotplot', 'pl.heatmap'] and method['interactive_plot']) format == 'pdf' and method['method'] == 'pl.rank_genes_groups_violin' - format == 'svg' and method['method'] != pl.rank_genes_groups_violin + format == 'svg' and method['method'] != 'pl.rank_genes_groups_violin' and not (method['method'] in ['pl.pca', 'pl.umap', 'pl.tsne', 'pl.diffmap', 'pl.violin', 'pl.dotplot', 'pl.heatmap'] and method['interactive_plot']) @@ -1008,7 +1046,13 @@ advanced_common['show_log'] - advanced_common['output_anndata'] + advanced_common['output_anndata'] or (method['method'] in ['pl.pca', 'pl.umap', 'pl.tsne', 'pl.diffmap', 'pl.violin', 'pl.dotplot', 'pl.heatmap'] and method['interactive_plot']) + + + method['method'] in ['pl.pca', 'pl.umap', 'pl.tsne', 'pl.diffmap', 'pl.violin', 'pl.dotplot', 'pl.heatmap'] and method['interactive_plot'] + + + method['method'] in ['pl.pca', 'pl.umap', 'pl.tsne', 'pl.diffmap', 'pl.violin', 'pl.dotplot', 'pl.heatmap'] and method['interactive_plot'] @@ -1055,14 +1099,14 @@ - + - - + +
@@ -1078,8 +1122,8 @@ - - + + @@ -1090,7 +1134,7 @@ - + @@ -1128,7 +1172,7 @@ - + @@ -1908,28 +1952,7 @@ - - - - @@ -1948,7 +1971,7 @@ - + @@ -1971,7 +1994,7 @@ - + @@ -1986,12 +2009,12 @@ - + - + @@ -2013,7 +2036,7 @@ - + @@ -2048,7 +2071,7 @@ - + @@ -2090,7 +2113,7 @@ - + @@ -2116,7 +2139,7 @@ - + @@ -2139,7 +2162,7 @@ - + @@ -2164,7 +2187,7 @@ - + @@ -2189,7 +2212,7 @@ - + @@ -2214,7 +2237,7 @@ - + @@ -2231,6 +2254,112 @@ + + + + + + + + + + + + + +
+ + + +
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
`__ -.. This function is commented out because it is not compatible with pandas version. If the issue is not resolved in the next update, this should be removed. -.. Branching trajectories and pseudotime, clustering: Plot groups and pseudotime (`pl.dpt_groups_pseudotime`) -.. =========================================================================================================== - -.. More details on the `scanpy documentation -.. `__ - Branching trajectories and pseudotime, clustering: Heatmap of pseudotime series (`pl.dpt_timeseries`) ===================================================================================================== diff -r fc222791d03c -r 387671174a49 test-data/pl.heatmap.krumsiek11.png Binary file test-data/pl.heatmap.krumsiek11.png has changed diff -r fc222791d03c -r 387671174a49 test-data/pl.rank_genes_groups_heatmap.rank_genes_groups.krumsiek11.png Binary file test-data/pl.rank_genes_groups_heatmap.rank_genes_groups.krumsiek11.png has changed diff -r fc222791d03c -r 387671174a49 test-data/pl.rank_genes_groups_stacked_violin.rank_genes_groups.krumsiek11.png Binary file test-data/pl.rank_genes_groups_stacked_violin.rank_genes_groups.krumsiek11.png has changed diff -r fc222791d03c -r 387671174a49 test-data/pl.scatter.krumsiek11.png Binary file test-data/pl.scatter.krumsiek11.png has changed diff -r fc222791d03c -r 387671174a49 test-data/pl.scatter.pbmc68k_reduced.png Binary file test-data/pl.scatter.pbmc68k_reduced.png has changed diff -r fc222791d03c -r 387671174a49 test-data/pl.scatter.pbmc68k_reduced_n_genes_n_counts.png Binary file test-data/pl.scatter.pbmc68k_reduced_n_genes_n_counts.png has changed diff -r fc222791d03c -r 387671174a49 test-data/pl.scatter.umap.pbmc68k_reduced.png Binary file test-data/pl.scatter.umap.pbmc68k_reduced.png has changed diff -r fc222791d03c -r 387671174a49 test-data/pl.stacked_violin.krumsiek11.png Binary file test-data/pl.stacked_violin.krumsiek11.png has changed diff -r fc222791d03c -r 387671174a49 test-data/pl.stacked_violin_pp.filter_genes_dispersion.krumsiek11-seurat.png Binary file test-data/pl.stacked_violin_pp.filter_genes_dispersion.krumsiek11-seurat.png has changed