annotate countmatrixforedger.xml @ 5:4cdaf6059e84 draft default tip

planemo upload
author marpiech
date Wed, 01 Feb 2017 10:29:17 -0500
parents 27e62af48a5a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
1 <tool id="countmatrixforedger" name="countMatrixForEdger" version="1.0">
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
2 <description>Make a count matrix for edgeR</description>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
3 <stdio>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
4 <exit_code range="1:" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
5 </stdio>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
6 <command>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
7 <![CDATA[
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
8 #for $i, $s in enumerate( $sample )#
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
9 echo -e ${s.sample_data}"\t"${s.sample_name}"\t"${s.sample_group} >> script.data;
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
10 #end for#
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
11
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
12 $__tool_directory__/tools/scrsh.sh script.data;
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
13
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
14 cat count.matrix > $count_matrix;
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
15 cat annotation > $annotation;
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
16 cat script.log > $log;
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
17 cat error.log > $error_log
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
18
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
19 ]]>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
20 </command>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
21 <inputs>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
22 <repeat name="sample" title="">
5
4cdaf6059e84 planemo upload
marpiech
parents: 2
diff changeset
23 <param name="sample_data" type="data" format="data" label="Output matrix from EDGE-pro (out_rpkm)" />
4cdaf6059e84 planemo upload
marpiech
parents: 2
diff changeset
24 <param name="sample_name" type="text" label="" help="Sample name" />
4cdaf6059e84 planemo upload
marpiech
parents: 2
diff changeset
25 <param name="sample_group" type="text" label="" help="Sample group name- it has to be the same string for each sample of this group" />
0
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
26 </repeat>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
27 </inputs>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
28 <outputs>
2
27e62af48a5a planemo upload
marpiech
parents: 1
diff changeset
29 <data name="count_matrix" format="tabular" label="countMatrixForEdger: count matrix"/>
27e62af48a5a planemo upload
marpiech
parents: 1
diff changeset
30 <data name="annotation" format="tabular" label="countMatrixForEdger: annotation"/>
27e62af48a5a planemo upload
marpiech
parents: 1
diff changeset
31 <data name="log" format="txt" label="countMatrixForEdger: log"/>
27e62af48a5a planemo upload
marpiech
parents: 1
diff changeset
32 <data name="error_log" format="txt" label="countMatrixForEdger: error log"/>
0
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
33 </outputs>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
34 <tests>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
35 <test>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
36 <param name="sample_0|sample_data" value="data1" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
37 <param name="sample_1|sample_data" value="data2" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
38 <param name="sample_2|sample_data" value="data3" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
39 <param name="sample_3|sample_data" value="data4" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
40 <param name="sample_0|sample_name" value="sample1" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
41 <param name="sample_1|sample_name" value="sample2" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
42 <param name="sample_2|sample_name" value="sample3" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
43 <param name="sample_3|sample_name" value="sample4" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
44 <param name="sample_0|sample_group" value="gr1" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
45 <param name="sample_1|sample_group" value="gr1" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
46 <param name="sample_2|sample_group" value="gr2" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
47 <param name="sample_3|sample_group" value="gr2" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
48 <output name="count_matrix" file="count.matrix"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
49 <output name="annotation" file="annotation"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
50 <output name="log" file="script.log"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
51 <output name="error_log" file="error.log"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
52 </test>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
53
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
54 </tests>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
55 <help>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
56 <![CDATA[
5
4cdaf6059e84 planemo upload
marpiech
parents: 2
diff changeset
57
0
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
58 ]]>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
59 </help>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
60 <citations>
1
ddde82ae5dea planemo upload
marpiech
parents: 0
diff changeset
61 <citation>
0
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
62 </citation>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
63 </citations>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
64 </tool>