comparison decoupler_pseudobulk.xml @ 8:93f61ea19336 draft

planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit eea5c13f9e6e070a2359c59400773b01f9cd7567
author ebi-gxa
date Mon, 15 Jul 2024 10:56:42 +0000
parents 130e25d3ce92
children bd4b54b75888
comparison
equal deleted inserted replaced
7:68a2b5445558 8:93f61ea19336
1 <tool id="decoupler_pseudobulk" name="Decoupler pseudo-bulk" version="1.4.0+galaxy2" profile="20.05"> 1 <tool id="decoupler_pseudobulk" name="Decoupler pseudo-bulk" version="1.4.0+galaxy3" profile="20.05">
2 <description>aggregates single cell RNA-seq data for running bulk RNA-seq methods</description> 2 <description>aggregates single cell RNA-seq data for running bulk RNA-seq methods</description>
3 <requirements> 3 <requirements>
4 <requirement type="package" version="1.4.0">decoupler</requirement> 4 <requirement type="package" version="1.4.0">decoupler</requirement>
5 </requirements> 5 </requirements>
6 <command detect_errors="exit_code"><![CDATA[ 6 <command detect_errors="exit_code"><![CDATA[
25 #if $produce_plots: 25 #if $produce_plots:
26 --save_path plots_output_dir 26 --save_path plots_output_dir
27 #end if 27 #end if
28 #if $min_counts: 28 #if $min_counts:
29 --min_counts $min_counts 29 --min_counts $min_counts
30 #end if
31 #if $min_counts_per_sample:
32 --min_counts_per_sample_marking $min_counts_per_sample
30 #end if 33 #end if
31 #if $min_total_counts: 34 #if $min_total_counts:
32 --min_total_counts $min_total_counts 35 --min_total_counts $min_total_counts
33 #end if 36 #end if
34 #if $produce_anndata: 37 #if $produce_anndata:
64 <param type="integer" name="min_cells" label="Minimum Cells" optional="true"/> 67 <param type="integer" name="min_cells" label="Minimum Cells" optional="true"/>
65 <param type="boolean" name="produce_plots" label="Produce plots"/> 68 <param type="boolean" name="produce_plots" label="Produce plots"/>
66 <param type="boolean" name="produce_anndata" label="Produce AnnData with Pseudo-bulk"/> 69 <param type="boolean" name="produce_anndata" label="Produce AnnData with Pseudo-bulk"/>
67 <param type="integer" name="min_counts" label="Minimum Counts" optional="true"/> 70 <param type="integer" name="min_counts" label="Minimum Counts" optional="true"/>
68 <param type="integer" name="min_total_counts" label="Minimum Total Counts" optional="true"/> 71 <param type="integer" name="min_total_counts" label="Minimum Total Counts" optional="true"/>
72 <param type="integer" name="min_counts_per_sample" value="20" label="Minimum counts per gene per contrast field" help="Used to signal genes that should be excluded per contrast field after DE, to avoid very lowly expressed genes in specific contrasts. Genes are not excluded from the result, but a separate file tagging them is produced."/>
69 <param type="boolean" name="filter_expr" label="Enable Filtering by Expression"/> 73 <param type="boolean" name="filter_expr" label="Enable Filtering by Expression"/>
70 <param type="text" name="plot_samples_figsize" label="Plot Samples Figsize" value="10 10" help="X and Y sizes in points separated by a space"/> 74 <param type="text" name="plot_samples_figsize" label="Plot Samples Figsize" value="10 10" help="X and Y sizes in points separated by a space"/>
71 <param type="text" name="plot_filtering_figsize" label="Plot Filtering Figsize" value="10 10" help="X and Y sizes in points separated by a space"/> 75 <param type="text" name="plot_filtering_figsize" label="Plot Filtering Figsize" value="10 10" help="X and Y sizes in points separated by a space"/>
72 </inputs> 76 </inputs>
73 <outputs> 77 <outputs>
81 <filter>produce_plots</filter> 85 <filter>produce_plots</filter>
82 </data> 86 </data>
83 <data name="filter_by_expr_plot" format="png" label="${tool.name} on ${on_string}: Filter by Expression plot" from_work_dir="plots_output_dir/filter_by_expr.png"> 87 <data name="filter_by_expr_plot" format="png" label="${tool.name} on ${on_string}: Filter by Expression plot" from_work_dir="plots_output_dir/filter_by_expr.png">
84 <filter>produce_plots</filter> 88 <filter>produce_plots</filter>
85 </data> 89 </data>
90 <data name="genes_ignore_per_contrast_field" format="tabular" label="{tool.name} on ${on_string}: Genes to ignore by contrast field" from_work_dir="deseq_output_dir/genes_to_ignore_per_contrast_field.tsv">
91 <filter>factor_fields</filter>
92 </data>
86 </outputs> 93 </outputs>
87 <tests> 94 <tests>
88 <test expect_num_outputs="6"> 95 <test expect_num_outputs="7">
89 <param name="input_file" value="mito_counted_anndata.h5ad"/> 96 <param name="input_file" value="mito_counted_anndata.h5ad"/>
90 <param name="adata_obs_fields_to_merge" value="batch,sex:batch,genotype"/> 97 <param name="adata_obs_fields_to_merge" value="batch,sex:batch,genotype"/>
91 <param name="groupby" value="batch_sex"/> 98 <param name="groupby" value="batch_sex"/>
92 <param name="sample_key" value="genotype"/> 99 <param name="sample_key" value="genotype"/>
93 <param name="factor_fields" value="genotype,batch_sex"/> 100 <param name="factor_fields" value="genotype,batch_sex"/>
94 <param name="mode" value="sum"/> 101 <param name="mode" value="sum"/>
95 <param name="min_cells" value="10"/> 102 <param name="min_cells" value="10"/>
96 <param name="produce_plots" value="true"/> 103 <param name="produce_plots" value="true"/>
97 <param name="produce_anndata" value="true"/> 104 <param name="produce_anndata" value="true"/>
98 <param name="min_counts" value="10"/> 105 <param name="min_counts" value="10"/>
106 <param name="min_counts_per_sample" value="50"/>
99 <param name="min_total_counts" value="1000"/> 107 <param name="min_total_counts" value="1000"/>
100 <param name="filter_expr" value="true"/> 108 <param name="filter_expr" value="true"/>
101 <param name="plot_samples_figsize" value="10 10"/> 109 <param name="plot_samples_figsize" value="10 10"/>
102 <param name="plot_filtering_figsize" value="10 10"/> 110 <param name="plot_filtering_figsize" value="10 10"/>
103 <output name="pbulk_anndata" ftype="h5ad"> 111 <output name="pbulk_anndata" ftype="h5ad">
124 </assert_contents> 132 </assert_contents>
125 </output> 133 </output>
126 <output name="plot_output" ftype="png"> 134 <output name="plot_output" ftype="png">
127 <assert_contents> 135 <assert_contents>
128 <has_size value="31853" delta="3000"/> 136 <has_size value="31853" delta="3000"/>
137 </assert_contents>
138 </output>
139 <output name="genes_ignore_per_contrast_field" ftype="tabular">
140 <assert_contents>
141 <has_n_lines n="5"/>
129 </assert_contents> 142 </assert_contents>
130 </output> 143 </output>
131 <output name="filter_by_expr_plot" ftype="png"> 144 <output name="filter_by_expr_plot" ftype="png">
132 <assert_contents> 145 <assert_contents>
133 <has_size value="21656" delta="2000"/> 146 <has_size value="21656" delta="2000"/>