# HG changeset patch # User iuc # Date 1700212420 0 # Node ID 6acb089318361882564b9bdf01cab8c9b8e029f3 # Parent edec35114f72669947ab6b0011f84d3fed9099cc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6fc3a3aa54d7ece1fd8bfffe62ad7e2b620539e0 diff -r edec35114f72 -r 6acb08931836 cluster_reduce_dimension.xml --- a/cluster_reduce_dimension.xml Wed Nov 08 14:46:29 2023 +0000 +++ b/cluster_reduce_dimension.xml Fri Nov 17 09:13:40 2023 +0000 @@ -1,4 +1,4 @@ - + with scanpy macros.xml @@ -110,7 +110,7 @@ #else if $method.method == 'tl.tsne' sc.tl.tsne( adata=adata, - #if $method.n_pcs + #if str($method.n_pcs) != '' n_pcs=$method.n_pcs, #end if perplexity=$method.perplexity, @@ -126,7 +126,7 @@ min_dist=$method.min_dist, spread=$method.spread, n_components=$method.n_components, - #if $method.maxiter + #if str($method.maxiter) != '' maxiter=$method.maxiter, #end if alpha=$method.alpha, @@ -137,7 +137,6 @@ copy=False) #else if $method.method == 'tl.draw_graph' - #if str($method.adjacency) != 'None' from scipy import io adjacency = io.mmread('$method.adjacency') @@ -146,18 +145,18 @@ sc.tl.draw_graph( adata=adata, layout='$method.layout', -#if str($method.root) != '' +#if $method.root #set $root=([int(x.strip()) for x in str($method.root).split(',')]) root=$root, #end if random_state=$method.random_state, - #if str($method.init_pos) != '' + #if $method.init_pos init_pos='$method.init_pos', #end if #if str($method.adjacency) != 'None' adjacency=adjacency, #end if - #if str($method.key_ext) != '' + #if $method.key_ext key_ext='$method.key_ext', #end if copy=False) @@ -183,10 +182,10 @@ sc.tl.embedding_density( adata=adata, basis='$method.basis', -#if str($method.groupby) != '' +#if $method.groupby groupby='$method.groupby', #end if -#if str($method.key_added) != '' +#if $method.key_added key_added='$method.key_added', #end if ) diff -r edec35114f72 -r 6acb08931836 macros.xml --- a/macros.xml Wed Nov 08 14:46:29 2023 +0000 +++ b/macros.xml Fri Nov 17 09:13:40 2023 +0000 @@ -1,10 +1,10 @@ - 1.9.6 + 1.9.6 + 1 22.05 - - scanpy + scanpy loompy leidenalg louvain @@ -469,13 +469,13 @@ @@ -501,15 +501,15 @@ var_group_positions=$var_group_positions, var_group_labels=$var_group_labels, #end if -#if $method.var_group_rotation - var_group_rotation=$method.var_group_rotation, -#end if -#if $method.figsize.test == 'yes' - figsize=($method.figsize.width, $method.figsize.height), -#end if -#if $method.layer != '' - layer='$method.layer', -#end if + #if str($method.var_group_rotation) != '' + var_group_rotation=$method.var_group_rotation, + #end if + #if $method.figsize.test == 'yes' + figsize=($method.figsize.width, $method.figsize.height), + #end if + #if $method.layer + layer='$method.layer', + #end if ]]> @@ -662,9 +662,8 @@ - + - @@ -702,17 +701,19 @@ @@ -752,13 +753,7 @@ horizontal - + @@ -788,7 +783,9 @@ orient='$method.seaborn_violinplot.orient', #end if linewidth=$method.seaborn_violinplot.linewidth, + #if $method.seaborn_violinplot.color color='$method.seaborn_violinplot.color', + #end if saturation=$method.seaborn_violinplot.saturation ]]> @@ -797,7 +794,7 @@ - - + - - + @@ -941,7 +936,7 @@ - + @@ -952,7 +947,9 @@ #if str($method.edges.edges) == 'True' edges=True, edges_width=$method.edges.edges_width, + #if $method.edges.edges_color edges_color='$method.edges.edges_color', + #end if #else edges=False, #end if @@ -962,7 +959,7 @@ - + @@ -989,10 +986,10 @@ @CMD_param_legend_fontsize@ legend_fontweight='$method.plot.legend_fontweight', @CMD_param_size@ - #if str($method.plot.color_map) != '' + #if $method.plot.color_map color_map='$method.plot.color_map', #end if - #if str($method.plot.palette) != '' + #if $method.plot.palette palette='$method.plot.palette', #end if frameon=$method.plot.frameon, @@ -1062,18 +1059,18 @@ - + @@ -1133,7 +1132,9 @@ @@ -1218,7 +1219,7 @@
- + @@ -1230,15 +1231,19 @@
- + @@ -1265,7 +1270,9 @@ swap_axes=$method.swap_axes, @CMD_conditional_stripplot@ scale='$method.violin_plot.scale', + #if $method.row_palette row_palette='$method.row_palette', + #end if #if str($method.standard_scale) != 'None' standard_scale='$method.standard_scale', #end if diff -r edec35114f72 -r 6acb08931836 test-data/pl.rank_genes_groups_dotplot.rank_genes_groups.krumsiek11.png Binary file test-data/pl.rank_genes_groups_dotplot.rank_genes_groups.krumsiek11.png has changed