annotate countmatrixforedger.xml @ 1:ddde82ae5dea draft

planemo upload
author marpiech
date Sun, 11 Dec 2016 18:57:58 -0500
parents c5a812cdf478
children 27e62af48a5a
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="">
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
23 <param name="sample_data" type="data" format="data" label="" help="" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
24 <param name="sample_name" type="text" label="" help="" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
25 <param name="sample_group" type="text" label="" help="" />
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>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
29 <data name="count_matrix" format="data" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
30 <data name="annotation" format="data" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
31 <data name="log" format="data" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
32 <data name="error_log" format="data" />
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[
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
57 ]]>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
58 </help>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
59 <citations>
1
ddde82ae5dea planemo upload
marpiech
parents: 0
diff changeset
60 <citation>
0
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
61 </citation>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
62 </citations>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
63 </tool>