Mercurial > repos > iuc > raceid_inspecttrajectory
comparison raceid_inspecttrajectories.xml @ 4:86e2358cf273 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/raceid3 commit 5d7c4cd914295a81d42bf8baaad4981c23a83059"
author | iuc |
---|---|
date | Mon, 12 Aug 2019 13:03:03 -0400 |
parents | e0e9b24d76aa |
children | c8434a623268 |
comparison
equal
deleted
inserted
replaced
3:4164c0da0a5d | 4:86e2358cf273 |
---|---|
1 <tool id="raceid_inspecttrajectory" name="Lineage Branch Analysis using StemID" version="@VERSION_RACEID@.@VERSION_PACKAGE@.1" > | 1 <tool id="raceid_inspecttrajectory" name="Lineage Branch Analysis using StemID" version="@VERSION_RACEID@.@VERSION_WRAPPER@" > |
2 <description>inspects branches of a lineage tree</description> | 2 <description>inspects branches of a lineage tree</description> |
3 <macros> | 3 <macros> |
4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
5 <import>macros_inspecttrajectories.xml</import> | 5 <import>macros_cheetah.xml</import> |
6 </macros> | 6 </macros> |
7 <expand macro="requirements" /> | 7 <expand macro="requirements" /> |
8 <version_command><![CDATA[ | 8 <expand macro="version_command_config" prog="trajectoryinspect.R" cheetah="INSPECTTRAJECTORIES_CHEETAH" /> |
9 Rscript '$__tool_directory__/scripts/trajectoryinspect.R' @GET_VERSION@ | |
10 ]]></version_command> | |
11 | |
12 <command detect_errors="exit_code"><![CDATA[ | |
13 #set bin = 'trajectoryinspect.R' | |
14 Rscript '$__tool_directory__/scripts/$bin' '$userconf' 2>&1 > '$outlog' | |
15 ]]></command> | |
16 | |
17 <configfiles> | |
18 <configfile name="userconf" ><![CDATA[ | |
19 @STRING2VECTOR@ | |
20 | |
21 @INSPECTTRAJECTORIES_CHEETAH@ | |
22 ]]> | |
23 </configfile> | |
24 </configfiles> | |
25 | |
26 <inputs> | 9 <inputs> |
27 <expand macro="inspecttrajectories_inputs" /> | 10 <param name="inputrds" type="data" format="rdata" label="Input RDS" help="Requires the RDS output from the trajectory analysis" /> |
11 <section name="trjsid" title="StemID Branch Link Examine" expanded="true" help="StemID derives cell lineage trees and predicts multipotent cell identities"> | |
12 <conditional name="basic" > | |
13 <param name="doit" type="select" label="Perform StemID?" > | |
14 <expand macro="yesno_checkedno" /> | |
15 </param> | |
16 <when value="no" /> | |
17 <when value="yes" > | |
18 <param name="i" type="integer" min="1" value="1" label="Cluster Number" /> | |
19 <param name="br" type="text" label="Trajectory Path i, j, k" help="A path of three clusters starting at i, passing through j, and ending at k." > | |
20 <expand macro="sanitize_numeric_vector" /> | |
21 </param> | |
22 <expand macro="use_defaults_no"> | |
23 <param name="zscore" type="boolean" checked="false" label="Plot Z-score Transformed Projections" /> | |
24 <param name="ndiffgenes" type="integer" min="1" value="10" label="Number of DE Genes" help="Number of differentially expressed genes to output per cluster" /> | |
25 </expand> | |
26 </when> | |
27 </conditional> | |
28 </section> | |
29 <section name="trjfid" title="FateID Branch Link Examine" expanded="true" help="FateID infers cell fate bias in multipotent progenitor cells" > | |
30 <conditional name="basic" > | |
31 <param name="doit" type="select" label="Perform FateID?" > | |
32 <expand macro="yesno_checkedno" /> | |
33 </param> | |
34 <when value="no" /> | |
35 <when value="yes" > | |
36 <param name="cellsfromz" type="text" value="" label="Cells from Clusters" help="Vector of valid cluster numbers ordered along the trajectory" > | |
37 <expand macro="sanitize_numeric_vector" /> | |
38 </param> | |
39 <expand macro="use_defaults_no"> | |
40 <param name="filterset_minexpr" type="integer" min="0" value="2" label="Min Expression" help="Minimum expression required for at least minnumber cells" /> | |
41 <param name="filterset_minnumber" type="integer" min="0" value="1" label="Min Number of Cells" help="Minimum number of cells in which a gene needs to be expressed at least a level of minexpr."/> | |
42 <param name="getsom_nb" type="integer" min="1" value="1000" label="SOM Nodes" help="Number of nodes of the self-organizing map." /> | |
43 <param name="getsom_alpha" type="float" min="0" value="0.5" label="Smoothing parameter" help="Pseudo-temporal expression profiles are derived by a local regression of expression values across the ordered cells using the function 'loess' from the package 'stats'. This is the parameter, which controls the degree of smoothing. Larger values return smoother profiles." /> | |
44 <param name="procsom_corthr" type="float" min="0" max="1" value="0.85" label="Correlation threshold" help="The z-score of the average normalized pseudo-temporal expression profiles within each node of the self-organizing map is computed, and the correlation of these z-scores between neighbouring nodes is computed. If the correlation is greater than 'corthr', neighbouring nodes are merged" /> | |
45 <param name="procsom_minsom" type="integer" min="0" value="3" label="Min SOM" help="Nodes of the self-organizing map with less than this number of transcripts are discarded" /> | |
46 <param name="plotheat_xgrid" type="boolean" checked="false" label="Partitioning along the x-axis" /> | |
47 <param name="plotheat_ygrid" type="boolean" checked="false" label="Partitioning along the y-axis" /> | |
48 <param name="plotheat_xlab" type="boolean" checked="false" label="Average position is given for each partition along the x-axis" /> | |
49 </expand> | |
50 <conditional name="som" > | |
51 <param name="doit" type="select" label="Perform Additional FateID Analysis with Self-Organised Map?" > | |
52 <expand macro="yesno_checkedno" /> | |
53 </param> | |
54 <when value="no" /> | |
55 <when value="yes" > | |
56 <conditional name="use_genes" > | |
57 <param name="typer" type="select" label="Genes to Inspect" > | |
58 <option value="genelist">List of Genes</option> | |
59 <option value="cln">Cluster</option> | |
60 </param> | |
61 <when value="genelist"> | |
62 <param name="use_genes" type="text" value="" label="Gene List" > | |
63 <expand macro="sanitize_string_vector" /> | |
64 </param> | |
65 </when> | |
66 <when value="cln" > | |
67 <param name="use_genes" type="integer" min="1" value="1" label="Cluster Number" /> | |
68 </when> | |
69 </conditional> | |
70 <param name="use_types" type="text" value="\\_\\d+" label="Types Regex (select)" help="Regex to select types across cell names" > | |
71 <expand macro="sanitize_regex" /> | |
72 </param> | |
73 <param name="title" type="text" value="Title" label="Plot title" /> | |
74 <expand macro="use_defaults_no"> | |
75 <param name="cluster" type="boolean" checked="false" label="Partitioning along the x-axis" /> | |
76 <param name="alpha" type="float" min="0" max="1" value="0.5" label="Smoothing parameter" /> | |
77 </expand> | |
78 </when> | |
79 </conditional> | |
80 </when> | |
81 </conditional> | |
82 </section> | |
28 </inputs> | 83 </inputs> |
29 | 84 |
30 <outputs> | 85 <outputs> |
31 <data name="outpdf" format="pdf" label="${tool.name} on ${on_string}: PDF Report" /> | 86 <data name="outpdf" format="pdf" label="${tool.name} on ${on_string}: PDF Report" /> |
32 <data name="outdiffgenes" format="tabular" label="${tool.name} on ${on_string}: TrajectoryInspect - Differential Genes" > | 87 <data name="outdiffgenes" format="tabular" label="${tool.name} on ${on_string}: TrajectoryInspect - Differential Genes" > |
36 <filter>use_log</filter> | 91 <filter>use_log</filter> |
37 </data> | 92 </data> |
38 | 93 |
39 </outputs> | 94 </outputs> |
40 <tests> | 95 <tests> |
41 <expand macro="inspecttrajectories_tests" /> | 96 <test> |
97 <!-- default, generates a blank report --> | |
98 <param name="inputrds" value="out_traject_default.ltree.rdat" /> | |
99 <output name="outpdf" value="out_traject_inspect_default.ltree.blank.pdf" compare="sim_size" delta="15" /> | |
100 </test> | |
101 <test> | |
102 <!-- stemID branch inspection: vignette search "getproj" --> | |
103 <param name="inputrds" value="out_traject_default.ltree.rdat" /> | |
104 <section name="trjsid" > | |
105 <conditional name="basic" > | |
106 <param name="doit" value="yes" /> | |
107 <param name="i" value="3" /> | |
108 <param name="br" value="1,3,8" /> | |
109 </conditional> | |
110 </section> | |
111 <output name="outpdf" value="out_traject_inspect_stemid.pdf" compare="sim_size" delta="30" /> | |
112 <output name="outdiffgenes" value="out_traject_inspect_stemid.tabular" /> | |
113 </test> | |
114 <test> | |
115 <!-- fateID trajectory inspection: vignette search "cellsfromtree" --> | |
116 <param name="inputrds" value="out_traject_default.ltree.rdat" /> | |
117 <section name="trjfid" > | |
118 <conditional name="basic" > | |
119 <param name="doit" value="yes" /> | |
120 <param name="cellsfromz" value="2,1,4" /> | |
121 <expand macro="test_nondef" > | |
122 <param name="filterset_minexpr" value="2" /> | |
123 <param name="getsom_nb" value="1000" /> | |
124 <param name="getsom_alpha" value="0.5" /> | |
125 <param name="plotheat_xlab" value="true" /> | |
126 </expand> | |
127 </conditional> | |
128 </section> | |
129 <output name="outpdf" value="out_traject_inspect_fateid.pdf" compare="sim_size" delta="15" /> | |
130 </test> | |
131 <test> | |
132 <!-- fateID trajectory inspection with som: vignette search "SOM" --> | |
133 <param name="inputrds" value="out_traject_default.ltree.rdat" /> | |
134 <section name="trjfid" > | |
135 <conditional name="basic" > | |
136 <param name="doit" value="yes" /> | |
137 <param name="cellsfromz" value="2,1,4" /> | |
138 <conditional name="som" > | |
139 <param name="doit" value="yes" /> | |
140 <expand macro="test_nondef" > | |
141 <param name="typer" value="cln" /> | |
142 <param name="use_genes" value="12" /> | |
143 </expand> | |
144 </conditional> | |
145 </conditional> | |
146 </section> | |
147 <output name="outpdf" value="out_traject_inspect_fateid_som.pdf" compare="sim_size" delta="15" /> | |
148 </test> | |
149 <test> | |
150 <!-- uses all 3 sections with additional non-default params --> | |
151 <param name="inputrds" value="out_traject_default.ltree.rdat" /> | |
152 <section name="trjsid" > | |
153 <conditional name="basic" > | |
154 <param name="doit" value="yes" /> | |
155 <param name="i" value="5" /> | |
156 <param name="br" value="6,5,3" /> | |
157 <expand macro="test_nondef" > | |
158 <param name="zscore" value="true" /> | |
159 <param name="ndiffgenes" value="14" /> | |
160 </expand> | |
161 </conditional> | |
162 </section> | |
163 <section name="trjfid" > | |
164 <conditional name="basic" > | |
165 <param name="doit" value="yes" /> | |
166 <param name="cellsfromz" value="3,9,2" /> | |
167 <expand macro="test_nondef" > | |
168 <param name="filterset_minexpr" value="1" /> | |
169 <param name="filterset_minnumber" value="2" /> | |
170 <param name="procsom_minsom" value="5" /> | |
171 <param name="procsom_corthr" value="0.5" /> | |
172 <param name="plotheat_ygrid" value="true" /> | |
173 </expand> | |
174 <conditional name="som" > | |
175 <param name="doit" value="yes" /> | |
176 <conditional name="use_genes" > | |
177 <param name="typer" value="genelist" /> | |
178 <param name="use_genes" value="Clca4,Mki67,Defa24,Ybx1,Vasp,Apoa1" /> | |
179 <expand macro="test_nondef" > | |
180 <param name="cluster" value="true" /> | |
181 <param name="alpha" value="0.1" /> | |
182 </expand> | |
183 </conditional> | |
184 </conditional> | |
185 </conditional> | |
186 </section> | |
187 <output name="outdiffgenes" value="out_traject_inspect_allthree.tabular" /> | |
188 <output name="outpdf" value="out_traject_inspect_allthree.pdf" compare="sim_size" delta="15" /> | |
189 </test> | |
42 </tests> | 190 </tests> |
43 <help><![CDATA[ | 191 <help><![CDATA[ |
44 StemID2 and FateID | 192 StemID2 and FateID |
45 ===================== | 193 ===================== |
46 | 194 |