comparison sleuth.xml @ 3:2c3d294dbe42 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sleuth commit 4adb19064a6973121680119529444286c24c1ac1
author iuc
date Mon, 02 Jun 2025 21:31:22 +0000
parents d6b5fc94062c
children
comparison
equal deleted inserted replaced
2:d6b5fc94062c 3:2c3d294dbe42
1 <tool id="sleuth" name="Sleuth" version="@TOOL_VERSION@+galaxy@SUFFIX_VERSION@" profile="@PROFILE@"> 1 <tool id="sleuth" name="Sleuth" version="@TOOL_VERSION@+galaxy@SUFFIX_VERSION@" profile="@PROFILE@">
2 <description>differential expression analysis</description> 2 <description>Differential expression analysis</description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro='xrefs'/> 6 <expand macro='xrefs'/>
7 <expand macro='requirements'/> 7 <expand macro='requirements'/>
8 <stdio> 8 <stdio>
9 <regex match="Execution halted" 9 <regex match="Execution halted"
10 source="both" 10 source="both"
11 level="fatal" 11 level="fatal"
12 description="Execution halted." /> 12 description="Execution halted."/>
13 <regex match="Error in" 13 <regex match="Error in"
14 source="both" 14 source="both"
15 level="fatal" 15 level="fatal"
16 description="An undefined error occurred, please check your input carefully and contact your administrator." /> 16 description="An undefined error occurred, please check your input carefully and contact your administrator."/>
17 <regex match="Fatal error" 17 <regex match="Fatal error"
18 source="both" 18 source="both"
19 level="fatal" 19 level="fatal"
20 description="An undefined error occurred, please check your input carefully and contact your administrator." /> 20 description="An undefined error occurred, please check your input carefully and contact your administrator."/>
21 </stdio> 21 </stdio>
22 <version_command><![CDATA[echo $(R --version | grep version | grep -v GNU)", sleuth version" $(R --vanilla --slave -e "library(sleuth); cat(sessionInfo()\$otherPkgs\$sleuth\$Version)" 2> /dev/null | grep -v -i "WARNING: ")]]></version_command> 22 <version_command><![CDATA[echo $(R --version | grep version | grep -v GNU)", sleuth version" $(R --vanilla --slave -e "library(sleuth); cat(sessionInfo()\$otherPkgs\$sleuth\$Version)" 2> /dev/null | grep -v -i "WARNING: ")]]></version_command>
23 <command><![CDATA[ 23 <command><![CDATA[
24 #import os 24 #import os
25 mkdir -p './kallisto_outputs' && 25 mkdir -p './kallisto_outputs' &&
72 <when value="single"> 72 <when value="single">
73 <repeat name="rep_factorLevel" title="Factor level" min="2" default="2"> 73 <repeat name="rep_factorLevel" title="Factor level" min="2" default="2">
74 <param name="factorLevel" type="text" value="FactorLevel" label="Specify a factor level, typical values could be 'tumor', 'normal', 'treated' or 'control'" 74 <param name="factorLevel" type="text" value="FactorLevel" label="Specify a factor level, typical values could be 'tumor', 'normal', 'treated' or 'control'"
75 help="Only letters, numbers and underscores will be retained in this field"> 75 help="Only letters, numbers and underscores will be retained in this field">
76 <sanitizer> 76 <sanitizer>
77 <valid initial="string.letters,string.digits"><add value="_" /></valid> 77 <valid initial="string.letters,string.digits"><add value="_"/></valid>
78 </sanitizer> 78 </sanitizer>
79 </param> 79 </param>
80 <param name="countsFile" type="data" format="h5" multiple="true" label="Counts file(s)"/> 80 <param name="countsFile" type="data" format="h5" multiple="true" label="Counts file(s)"/>
81 </repeat> 81 </repeat>
82 </when> 82 </when>
83 <when value="complex"> 83 <when value="complex">
84 <param name="countsFile" type="data_collection" format="h5" multiple="true" label="Counts file(s)"/> 84 <param name="countsFile" type="data_collection" format="h5" multiple="true" label="Counts file(s)"/>
85 <param argument="--metadata_file" type="data" format="txt" label="Input metadata file" help="You can find more details about the format of the design table in the help section." /> 85 <param argument="--metadata_file" type="data" format="txt" label="Input metadata file" help="You can find more details about the format of the design table in the help section."/>
86 </when> 86 </when>
87 </conditional> 87 </conditional>
88 <section name="advanced_options" title="Advanced options" expanded="true"> 88 <section name="advanced_options" title="Advanced options" expanded="true">
89 <param argument="normalization" type="boolean" truevalue="--normalize" falsevalue="" checked="true" label="Normalize data" 89 <param argument="normalization" type="boolean" truevalue="--normalize" falsevalue="" checked="true" label="Normalize data"
90 help="If this is set to false, bootstraps will not be read and transformation of the data will not be done. This should 90 help="If this is set to false, bootstraps will not be read and transformation of the data will not be done. This should
91 only be set to false if one desires to do a quick check of the raw data. " /> 91 only be set to false if one desires to do a quick check of the raw data. "/>
92 <param argument="nbins" type="integer" min="0" value="100" label="NBins" help="The number of bins that the data should be 92 <param argument="nbins" type="integer" min="0" value="100" label="NBins" help="The number of bins that the data should be
93 split for the sliding window shrinkage using the mean-variance curve." /> 93 split for the sliding window shrinkage using the mean-variance curve."/>
94 <param argument="lwr" type="float" min="0" max="1" value="0.25" label="LWR" help="The lower range of variances within each 94 <param argument="lwr" type="float" min="0" max="1" value="0.25" label="LWR" help="The lower range of variances within each
95 bin that should be included for the shrinkage procedure. " /> 95 bin that should be included for the shrinkage procedure. "/>
96 <param argument="upr" type="float" min="0" max="1" value="0.75" label="UPR" help="The upper range of variances within each 96 <param argument="upr" type="float" min="0" max="1" value="0.75" label="UPR" help="The upper range of variances within each
97 bin that should be included for the shrinkage procedure." /> 97 bin that should be included for the shrinkage procedure."/>
98 </section> 98 </section>
99 99
100 </inputs> 100 </inputs>
101 <outputs> 101 <outputs>
102 <data name="sleuth_table" from_work_dir="sleuth_table.tab" format="tabular" label="${tool.name} on ${on_string}: DE table"> 102 <data name="sleuth_table" from_work_dir="sleuth_table.tab" format="tabular" label="${tool.name} on ${on_string}: DE table">
103 <actions> 103 <actions>
104 <action name="column_names" type="metadata" default="target_id,pval,qval,test_stat,rss,degrees_free,mean_obs,var_obs,tech_var,sigma_sq,smooth_sigma_sq,final_sigma_sq" /> 104 <action name="column_names" type="metadata" default="target_id,pval,qval,test_stat,rss,degrees_free,mean_obs,var_obs,tech_var,sigma_sq,smooth_sigma_sq,final_sigma_sq"/>
105 </actions> 105 </actions>
106 </data> 106 </data>
107 <data name="pca_plot" from_work_dir="pca_plot.pdf" format="pdf" label="${tool.name} on ${on_string}: PCA plot"/> 107 <data name="pca_plot" from_work_dir="pca_plot.pdf" format="pdf" label="${tool.name} on ${on_string}: PCA plot"/>
108 <data name="density_plot" from_work_dir="group_density.pdf" format="pdf" label="${tool.name} on ${on_string}: density plot"/> 108 <data name="density_plot" from_work_dir="group_density.pdf" format="pdf" label="${tool.name} on ${on_string}: density plot"/>
109 </outputs> 109 </outputs>
152 <param name="lwr" value="0.25"/> 152 <param name="lwr" value="0.25"/>
153 <param name="upr" value="0.75"/> 153 <param name="upr" value="0.75"/>
154 </section> 154 </section>
155 <output name="sleuth_table" ftype="tabular"> 155 <output name="sleuth_table" ftype="tabular">
156 <assert_contents> 156 <assert_contents>
157 <has_size value="756310" delta="100"/> 157 <has_size value="756425" delta="100"/>
158 <has_text text="ENST00000394894.8"/> 158 <has_text text="ENST00000394894.8"/>
159 <has_text text="ENST00000524187.1"/> 159 <has_text text="ENST00000524187.1"/>
160 </assert_contents> 160 </assert_contents>
161 </output> 161 </output>
162 <output name="pca_plot" file="test02_pca.pdf" ftype="pdf" compare="sim_size"/> 162 <output name="pca_plot" file="test02_pca.pdf" ftype="pdf" compare="sim_size"/>
181 <param name="lwr" value="0.25"/> 181 <param name="lwr" value="0.25"/>
182 <param name="upr" value="0.75"/> 182 <param name="upr" value="0.75"/>
183 </section> 183 </section>
184 <output name="sleuth_table" ftype="tabular"> 184 <output name="sleuth_table" ftype="tabular">
185 <assert_contents> 185 <assert_contents>
186 <has_size value="756310" delta="100"/> 186 <has_size value="756425" delta="100"/>
187 <has_text text="ENST00000394894.8"/> 187 <has_text text="ENST00000394894.8"/>
188 <has_text text="ENST00000524187.1"/> 188 <has_text text="ENST00000524187.1"/>
189 </assert_contents> 189 </assert_contents>
190 </output> 190 </output>
191 <output name="pca_plot" file="test03_pca.pdf" ftype="pdf" compare="sim_size"/> 191 <output name="pca_plot" file="test03_pca.pdf" ftype="pdf" compare="sim_size"/>
228 The tabular file **requires to have at least three columns with the same names as the previous example** (path, condition, sample). The path column correspond to original FASTQ filenames uploaded to Galaxy. 228 The tabular file **requires to have at least three columns with the same names as the previous example** (path, condition, sample). The path column correspond to original FASTQ filenames uploaded to Galaxy.
229 Condition includes the information about the first factor, and sample includes information about the second factor. **Only alphanumeric characters, undescores and dots are allowed**. 229 Condition includes the information about the first factor, and sample includes information about the second factor. **Only alphanumeric characters, undescores and dots are allowed**.
230 Additional factors can be included in the design table. 230 Additional factors can be included in the design table.
231 231
232 ]]></help> 232 ]]></help>
233 <expand macro="citations" /> 233 <expand macro="citations"/>
234 </tool> 234 </tool>