# HG changeset patch # User iuc # Date 1700212515 0 # Node ID 3081ff5c84a37d92e80e99b4531805083f356088 # Parent 6bd82ed14acdbee46b904cabd227a2346d888a34 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6fc3a3aa54d7ece1fd8bfffe62ad7e2b620539e0 diff -r 6bd82ed14acd -r 3081ff5c84a3 inspect.xml --- a/inspect.xml Wed Nov 08 14:48:14 2023 +0000 +++ b/inspect.xml Fri Nov 17 09:15:15 2023 +0000 @@ -1,4 +1,4 @@ - + with scanpy macros.xml @@ -66,11 +66,11 @@ adata=adata, expr_type='$method.expr_type', var_type='$method.var_type', - #if str($method.qc_vars) != '' + #if $method.qc_vars #set $qc_vars = [str(x.strip()) for x in str($method.qc_vars).split(',')] qc_vars=$qc_vars, #end if - #if str($method.percent_top) != '' + #if $method.percent_top #set $percent_top = [int(x.strip()) for x in str($method.percent_top).split(',')] percent_top=$method.percent_top, #end if @@ -125,7 +125,7 @@ #if str($method.n_pcs) != '' n_pcs=$method.n_pcs, #end if - #if str($method.use_rep) != '' + #if $method.use_rep use_rep='$method.use_rep', #end if knn=$method.knn, @@ -138,7 +138,7 @@ sc.tl.rank_genes_groups( adata=adata, groupby='$method.groupby', - #if str($method.groups) != '' + #if $method.groups #set $group=[x.strip() for x in str($method.groups).split(',')] groups=$group, #end if @@ -176,13 +176,13 @@ #if $method.tl_rank_genes_groups_method.solver.intercept_scaling.fit_intercept == 'True' intercept_scaling=$method.tl_rank_genes_groups_method.solver.intercept_scaling.intercept_scaling, #end if - #if $method.tl_rank_genes_groups_method.solver.random_state + #if str($method.tl_rank_genes_groups_method.solver.random_state) != '' random_state=$method.tl_rank_genes_groups_method.solver.random_state, #end if #else if $method.tl_rank_genes_groups_method.solver.solver == 'sag' penalty='l2', fit_intercept=$method.tl_rank_genes_groups_method.solver.fit_intercept, - #if $method.tl_rank_genes_groups_method.solver.random_state + #if str($method.tl_rank_genes_groups_method.solver.random_state) != '' random_state=$method.tl_rank_genes_groups_method.solver.random_state, #end if max_iter=$method.tl_rank_genes_groups_method.solver.max_iter, @@ -213,7 +213,7 @@ sc.tl.marker_gene_overlap( adata, reference_markers, - #if str($method.key) != '' + #if $method.key key='$method.key', #end if method='$method.overlap.method', @@ -226,7 +226,7 @@ #if str($method.adj_pval_threshold) != '' adj_pval_threshold=$method.adj_pval_threshold, #end if - #if str($method.key_added) != '' + #if $method.key_added key_added='$method.key_added', #end if inplace=True) @@ -240,7 +240,7 @@ sc.pp.scale( adata, zero_center=$method.zero_center, - #if $method.max_value + #if str($method.max_value) != '' max_value=$method.max_value, #end if copy=False) @@ -368,9 +368,9 @@ - + - + diff -r 6bd82ed14acd -r 3081ff5c84a3 macros.xml --- a/macros.xml Wed Nov 08 14:48:14 2023 +0000 +++ b/macros.xml Fri Nov 17 09:15:15 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 6bd82ed14acd -r 3081ff5c84a3 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