annotate countmatrixforedger.xml @ 0:c5a812cdf478 draft

planemo upload
author marpiech
date Fri, 09 Dec 2016 10:52:35 -0500
parents
children ddde82ae5dea
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 cat script.data > /tmp/script.data;
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
13 $__tool_directory__/tools/scrsh.sh script.data;
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
14
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
15 cat count.matrix > $count_matrix;
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
16 cat annotation > $annotation;
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
17 cat script.log > $log;
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
18 cat error.log > $error_log
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
19
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
20 ]]>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
21 </command>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
22 <inputs>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
23 <repeat name="sample" title="">
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
24 <param name="sample_data" type="data" format="data" label="" help="" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
25 <param name="sample_name" type="text" label="" help="" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
26 <param name="sample_group" type="text" label="" help="" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
27 </repeat>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
28 </inputs>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
29 <outputs>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
30 <!-- <data name="output" format="data" /> -->
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
31 <data name="count_matrix" format="data" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
32 <data name="annotation" format="data" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
33 <data name="log" format="data" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
34 <data name="error_log" format="data" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
35 </outputs>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
36 <tests>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
37 <!-- <test>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
38 <param name="sample_0|sample_data" value="data1" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
39 <param name="sample_1|sample_data" value="data2" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
40 <param name="sample_2|sample_data" value="data3" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
41 <param name="sample_3|sample_data" value="data4" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
42 <param name="sample_0|sample_name" value="sample1" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
43 <param name="sample_1|sample_name" value="sample2" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
44 <param name="sample_2|sample_name" value="sample3" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
45 <param name="sample_3|sample_name" value="sample4" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
46 <param name="sample_0|sample_group" value="gr1" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
47 <param name="sample_1|sample_group" value="gr1" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
48 <param name="sample_2|sample_group" value="gr2" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
49 <param name="sample_3|sample_group" value="gr2" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
50 <output name="output" file="output"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
51
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
52 </test> -->
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
53 <test>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
54 <param name="sample_0|sample_data" value="data1" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
55 <param name="sample_1|sample_data" value="data2" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
56 <param name="sample_2|sample_data" value="data3" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
57 <param name="sample_3|sample_data" value="data4" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
58 <param name="sample_0|sample_name" value="sample1" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
59 <param name="sample_1|sample_name" value="sample2" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
60 <param name="sample_2|sample_name" value="sample3" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
61 <param name="sample_3|sample_name" value="sample4" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
62 <param name="sample_0|sample_group" value="gr1" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
63 <param name="sample_1|sample_group" value="gr1" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
64 <param name="sample_2|sample_group" value="gr2" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
65 <param name="sample_3|sample_group" value="gr2" />
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
66 <output name="count_matrix" file="count.matrix"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
67 <output name="annotation" file="annotation"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
68 <output name="log" file="script.log"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
69 <output name="error_log" file="error.log"/>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
70 </test>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
71
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
72 </tests>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
73 <help>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
74 <![CDATA[
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
75
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
76 tutaj cos bedzie
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
77 ]]>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
78 </help>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
79 <citations>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
80 <citation type="bibtex">
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
81 @article{Berenger2014,
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
82 doi = {10.1186/1758-2946-6-23},
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
83 url = {http://dx.doi.org/10.1186/1758-2946-6-23},
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
84 year = {2014},
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
85 publisher = {Springer Nature},
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
86 volume = {6},
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
87 number = {1},
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
88 pages = {23},
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
89 author = {Francois Berenger and Arnout Voet and Xiao Lee and Kam YJ Zhang},
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
90 title = {A rotation-translation invariant molecular descriptor of partial charges and its use in ligand-based virtual screening},
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
91 journal = {Journal of Cheminformatics}
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
92 }
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
93 </citation>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
94 </citations>
c5a812cdf478 planemo upload
marpiech
parents:
diff changeset
95 </tool>