comparison checkFormat_config.xml @ 0:0d8099822c49 draft

planemo upload for repository https://github.com/workflow4metabolomics/checkformat.git commit 217d97da5c733c3628997666c73867e81af0a0ee
author ethevenot
date Sat, 30 Jul 2016 12:06:35 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:0d8099822c49
1 <tool id="checkFormat" name="Check Format" version="2.0.2">
2 <description>Checks the formats of the dataMatrix, sampleMetadata, and variableMetadata files</description>
3
4 <requirements>
5 <requirement type="package" version="3.2.2">R</requirement>
6 <requirement type="package">r-batch</requirement>
7 </requirements>
8
9 <command><![CDATA[
10 Rscript $__tool_directory__/checkFormat_wrapper.R
11 dataMatrix_in "$dataMatrix_in"
12 sampleMetadata_in "$sampleMetadata_in"
13 variableMetadata_in "$variableMetadata_in"
14
15 information "$information"
16 ]]></command>
17
18 <inputs>
19 <param name="dataMatrix_in" type="data" label="Data matrix file" help="" format="tabular" />
20 <param name="sampleMetadata_in" type="data" label="Sample metadata file" help="" format="tabular" />
21 <param name="variableMetadata_in" type="data" label="Variable metadata file" help="" format="tabular" />
22 </inputs>
23
24 <outputs>
25 <data name="information" label="${tool.name}_information.txt" format="txt"/>
26 </outputs>
27
28 <tests>
29 <test>
30 <param name="dataMatrix_in" value="input-dataMatrix.tsv"/>
31 <param name="sampleMetadata_in" value="input-sampleMetadata.tsv"/>
32 <param name="variableMetadata_in" value="input-variableMetadata.tsv"/>
33 <output name="information" file="output-information.txt" lines_diff="4"/>
34 </test>
35 </tests>
36
37 <help>
38
39 .. class:: infomark
40
41 **Author** Etienne Thevenot (W4M Core Development Team, MetaboHUB Paris, CEA)
42
43 ---------------------------------------------------
44
45 .. class:: infomark
46
47 **Tool updates**
48
49 See the **NEWS** section at the bottom of this page
50
51 ---------------------------------------------------
52
53 ========================
54 Check Format
55 ========================
56
57 -----------
58 Description
59 -----------
60
61 | Checks the format (row and column names) of the dataMatrix, sampleMetadata and variableMetadata tables
62
63
64 -----------------
65 Workflow position
66 -----------------
67
68 .. image:: ./static/images/checkFormat_workflowPositionImage.png
69 :width: 600
70
71
72
73 -----------
74 Input files
75 -----------
76
77 +----------------------------+---------+
78 | Parameter : num + label | Format |
79 +============================+=========+
80 | 1 : Data matrix file | tabular |
81 +----------------------------+---------+
82 | 2 : Sample metadata file | tabular |
83 +----------------------------+---------+
84 | 3 : Variable metadata file | tabular |
85 +----------------------------+---------+
86
87 |
88 | **Required formats for the dataMatrix, sampleMetadata, and variableMetadata files are**
89 | **described in the HowTo entitled 'Format Data For Postprocessing' available on the**
90 | **main page of Workflow4Metabolomics.org**
91 |
92
93 ------------
94 Output files
95 ------------
96
97 information.txt
98 | Text file with all messages when error(s) in formats are detected
99 |
100
101 ---------------------------------------------------
102
103 ---------------
104 Working example
105 ---------------
106
107 .. class:: infomark
108
109 See the **W4M00001a_sacurine-subset-statistics**, **W4M00001b_sacurine-complete**, **W4M00002_mtbls2**, or **W4M00003_diaplasma** shared histories in the **Shared Data/Published Histories** menu
110
111 ---------------------------------------------------
112
113 ----
114 NEWS
115 ----
116
117 CHANGES IN VERSION 2.0.2
118 ========================
119
120 INTERNAL MODIFICATIONS
121
122 Test for R code
123 Planemo running validation
124 Planemo installing validation
125 Travis automated testing
126 Toolshed export
127
128 </help>
129
130 <citations>
131 <citation type="bibtex">@Article{Thevenot2015,
132 Title = {Analysis of the human adult urinary metabolome variations with age, body mass index and gender by implementing a comprehensive workflow for univariate and OPLS statistical analyses},
133 Author = {Thévenot, Etienne A. and Roux, Aurélie and Xu, Ying and Ezan, Eric and Junot, Christophe},
134 Journal = {Journal of Proteome Research},
135 Year = {2015},
136 Note = {PMID: 26088811},
137 Number = {8},
138 Pages = {3322-3335},
139 Volume = {14},
140
141 Doi = {10.1021/acs.jproteome.5b00354},
142 Url = {http://pubs.acs.org/doi/full/10.1021/acs.jproteome.5b00354}
143 }</citation>
144
145 </citations>
146
147 ---------------
148 Working example
149 ---------------
150
151
152 Input files
153 ===========
154
155 | **To generate the "dataMatrix", "sampleMetadata" and "variableMetadata" files:**
156 | **1) copy/paste the values below in three distinct .txt files**
157 | **2) use the "Get Data" / "Upload File" in the "Tools" (left) panel from the Galaxy / ABiMS page by choosing:**
158 | **a) File Format: 'tabular'**
159 | **b) Convert spaces to tabs: 'Yes'**
160 |
161
162 **dataMatrix file**::
163
164 dataMatrix HU_017 HU_021 HU_027 HU_032 HU_041 HU_048 HU_049 HU_050 HU_052 HU_059 HU_060 HU_066 HU_072 HU_077 HU_090 HU_109 HU_110 HU_125 HU_126 HU_131 HU_134 HU_149 HU_150 HU_173 HU_179 HU_180 HU_182 HU_202 HU_204 HU_209
165 HMDB01032 2569204.92420381 6222035.77434915 17070707.9912636 1258838.24348419 13039543.0754619 1909391.77026598 3495.09386434063 2293521.90928998 128503.275117713 81872.5276382213 8103557.56578035 149574887.036181 1544036.41049333 7103429.53933206 14138796.50382 4970265.57952158 263054.73056162 1671332.30008058 88433.1944958815 23602331.2894815 18648126.5206986 1554657.98756878 34152.3646391152 209372.71275317 33187733.370626 202438.591636003 13581070.0886437 354170.810678102 9120781.48986975 43419175.4051586
166 HMDB03072 3628416.30251025 65626.9834353751 112170.118946651 3261804.34422417 42228.2787747563 343254.201250707 1958217.69317664 11983270.0435677 5932111.41638028 5511385.83359531 9154521.47755199 2632133.21209418 9500411.14556502 6551644.51726592 7204319.80891836 1273412.04795188 3260583.81592376 8932005.5351622 8340827.52597275 9256460.69197759 11217839.169041 5919262.81433556 11790077.0657915 9567977.80797097 73717.5811684739 9991787.29074293 4208098.14739633 623970.649925847 10904221.2642849 2171793.93621067
167 HMDB00792 429568.609438384 3887629.50527037 1330692.11658995 1367446.73023821 844197.447472453 2948090.71886592 1614157.90566884 3740009.19379795 3292251.66531919 2310688.79492013 4404239.59008605 3043289.12780863 825736.467181043 2523241.91730649 6030501.02648005 474901.604069803 2885792.42617652 2955990.64049134 1917716.3427982 1767962.67737699 5926203.40397675 1639065.69474684 346810.763557826 1054776.22313737 2390258.27543894 1831346.37315857 1026696.36904362 7079792.50047866 4368341.01359769 3495986.87280275
168
169
170 **sampleMetadata file**::
171
172 sampleMetadata age ageGrp
173 HU_017 41 experienced
174 HU_021 34 junior
175 HU_027 37 experienced
176 HU_032 38 experienced
177 HU_041 28 junior
178 HU_048 39 experienced
179 HU_049 50 senior
180 HU_050 30 junior
181 HU_052 51 senior
182 HU_059 81 senior
183 HU_060 55 senior
184 HU_066 25 junior
185 HU_072 47 experienced
186 HU_077 27 junior
187 HU_091 46 experienced
188 HU_109 32 junior
189 HU_110 50 senior
190 HU_125 58 senior
191 HU_126 45 experienced
192 HU_131 42 experienced
193 HU_134 48 experienced
194 HU_149 35 experienced
195 HU_150 49 experienced
196 HU_173 55 senior
197 HU_179 33 junior
198 HU_180 53 senior
199 HU_182 43 experienced
200 HU_202 42 experienced
201 HU_204 31 junior
202 HU_209 17.5 junior
203
204
205 **variableMetadata file**::
206
207 variableMetadata name
208 HMDB01032 Dehydroepiandrosterone sulfate
209 HMDB03072 Quinic acid
210 HMDB00792 Sebacic acid
211
212 </tool>