Mercurial > repos > ethevenot > checkformat
comparison checkformat_config.xml @ 1:e194eec8e70c draft
planemo upload for repository https://github.com/workflow4metabolomics/checkformat.git commit 8ebfbfa8d9449c9bbfbf569851a30b1e33df0b3f
author | ethevenot |
---|---|
date | Sat, 06 Aug 2016 11:54:28 -0400 |
parents | |
children | b6a6b4cc932a |
comparison
equal
deleted
inserted
replaced
0:0d8099822c49 | 1:e194eec8e70c |
---|---|
1 <tool id="checkFormat" name="Check Format" version="2.0.4"> | |
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 <stdio> | |
10 <exit_code range="1:" level="fatal" /> | |
11 </stdio> | |
12 | |
13 <command><![CDATA[ | |
14 Rscript $__tool_directory__/checkformat_wrapper.R | |
15 dataMatrix_in "$dataMatrix_in" | |
16 sampleMetadata_in "$sampleMetadata_in" | |
17 variableMetadata_in "$variableMetadata_in" | |
18 | |
19 information "$information" | |
20 ]]></command> | |
21 | |
22 <inputs> | |
23 <param name="dataMatrix_in" type="data" label="Data matrix file" help="" format="tabular" /> | |
24 <param name="sampleMetadata_in" type="data" label="Sample metadata file" help="" format="tabular" /> | |
25 <param name="variableMetadata_in" type="data" label="Variable metadata file" help="" format="tabular" /> | |
26 </inputs> | |
27 | |
28 <outputs> | |
29 <data name="information" label="${tool.name}_information.txt" format="txt"/> | |
30 </outputs> | |
31 | |
32 <tests> | |
33 <test> | |
34 <param name="dataMatrix_in" value="input-dataMatrix.tsv"/> | |
35 <param name="sampleMetadata_in" value="input-sampleMetadata.tsv"/> | |
36 <param name="variableMetadata_in" value="input-variableMetadata.tsv"/> | |
37 <output name="information" file="output-information.txt" lines_diff="4"/> | |
38 </test> | |
39 </tests> | |
40 | |
41 <help> | |
42 | |
43 .. class:: infomark | |
44 | |
45 **Author** Etienne Thevenot (W4M Core Development Team, MetaboHUB Paris, CEA) | |
46 | |
47 --------------------------------------------------- | |
48 | |
49 .. class:: infomark | |
50 | |
51 **Tool updates** | |
52 | |
53 See the **NEWS** section at the bottom of this page | |
54 | |
55 --------------------------------------------------- | |
56 | |
57 ======================== | |
58 Check Format | |
59 ======================== | |
60 | |
61 ----------- | |
62 Description | |
63 ----------- | |
64 | |
65 | Checks the format (row and column names) of the dataMatrix, sampleMetadata and variableMetadata tables | |
66 | |
67 | |
68 ----------------- | |
69 Workflow position | |
70 ----------------- | |
71 | |
72 .. image:: ./static/images/checkFormat_workflowPositionImage.png | |
73 :width: 600 | |
74 | |
75 | |
76 | |
77 ----------- | |
78 Input files | |
79 ----------- | |
80 | |
81 +----------------------------+---------+ | |
82 | Parameter : num + label | Format | | |
83 +============================+=========+ | |
84 | 1 : Data matrix file | tabular | | |
85 +----------------------------+---------+ | |
86 | 2 : Sample metadata file | tabular | | |
87 +----------------------------+---------+ | |
88 | 3 : Variable metadata file | tabular | | |
89 +----------------------------+---------+ | |
90 | |
91 | | |
92 | **Required formats for the dataMatrix, sampleMetadata, and variableMetadata files are** | |
93 | **described in the HowTo entitled 'Format Data For Postprocessing' available on the** | |
94 | **main page of Workflow4Metabolomics.org** | |
95 | | |
96 | |
97 ------------ | |
98 Output files | |
99 ------------ | |
100 | |
101 information.txt | |
102 | Text file with all messages when error(s) in formats are detected | |
103 | | |
104 | |
105 --------------------------------------------------- | |
106 | |
107 --------------- | |
108 Working example | |
109 --------------- | |
110 | |
111 .. class:: infomark | |
112 | |
113 See the **W4M00001a_sacurine-subset-statistics**, **W4M00001b_sacurine-complete**, **W4M00002_mtbls2**, or **W4M00003_diaplasma** shared histories in the **Shared Data/Published Histories** menu (https://galaxy.workflow4metabolomics.org/history/list_published) | |
114 | |
115 --------------------------------------------------- | |
116 | |
117 ---- | |
118 NEWS | |
119 ---- | |
120 | |
121 CHANGES IN VERSION 2.0.4 | |
122 ======================== | |
123 | |
124 INTERNAL MODIFICATIONS | |
125 | |
126 Minor internal modifications | |
127 | |
128 CHANGES IN VERSION 2.0.2 | |
129 ======================== | |
130 | |
131 INTERNAL MODIFICATIONS | |
132 | |
133 Test for R code | |
134 Planemo running validation | |
135 Planemo installing validation | |
136 Travis automated testing | |
137 Toolshed export | |
138 | |
139 </help> | |
140 | |
141 <citations> | |
142 <citation type="bibtex">@Article{Thevenot2015, | |
143 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}, | |
144 Author = {Thévenot, Etienne A. and Roux, Aurélie and Xu, Ying and Ezan, Eric and Junot, Christophe}, | |
145 Journal = {Journal of Proteome Research}, | |
146 Year = {2015}, | |
147 Note = {PMID: 26088811}, | |
148 Number = {8}, | |
149 Pages = {3322-3335}, | |
150 Volume = {14}, | |
151 | |
152 Doi = {10.1021/acs.jproteome.5b00354}, | |
153 Url = {http://pubs.acs.org/doi/full/10.1021/acs.jproteome.5b00354} | |
154 }</citation> | |
155 <citation type="doi">10.1093/bioinformatics/btu813</citation> | |
156 </citations> | |
157 | |
158 | |
159 | |
160 --------------- | |
161 Working example | |
162 --------------- | |
163 | |
164 | |
165 Input files | |
166 =========== | |
167 | |
168 | **To generate the "dataMatrix", "sampleMetadata" and "variableMetadata" files:** | |
169 | **1) copy/paste the values below in three distinct .txt files** | |
170 | **2) use the "Get Data" / "Upload File" in the "Tools" (left) panel from the Galaxy / ABiMS page by choosing:** | |
171 | **a) File Format: 'tabular'** | |
172 | **b) Convert spaces to tabs: 'Yes'** | |
173 | | |
174 | |
175 **dataMatrix file**:: | |
176 | |
177 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 | |
178 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 | |
179 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 | |
180 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 | |
181 | |
182 | |
183 **sampleMetadata file**:: | |
184 | |
185 sampleMetadata age ageGrp | |
186 HU_017 41 experienced | |
187 HU_021 34 junior | |
188 HU_027 37 experienced | |
189 HU_032 38 experienced | |
190 HU_041 28 junior | |
191 HU_048 39 experienced | |
192 HU_049 50 senior | |
193 HU_050 30 junior | |
194 HU_052 51 senior | |
195 HU_059 81 senior | |
196 HU_060 55 senior | |
197 HU_066 25 junior | |
198 HU_072 47 experienced | |
199 HU_077 27 junior | |
200 HU_091 46 experienced | |
201 HU_109 32 junior | |
202 HU_110 50 senior | |
203 HU_125 58 senior | |
204 HU_126 45 experienced | |
205 HU_131 42 experienced | |
206 HU_134 48 experienced | |
207 HU_149 35 experienced | |
208 HU_150 49 experienced | |
209 HU_173 55 senior | |
210 HU_179 33 junior | |
211 HU_180 53 senior | |
212 HU_182 43 experienced | |
213 HU_202 42 experienced | |
214 HU_204 31 junior | |
215 HU_209 17.5 junior | |
216 | |
217 | |
218 **variableMetadata file**:: | |
219 | |
220 variableMetadata name | |
221 HMDB01032 Dehydroepiandrosterone sulfate | |
222 HMDB03072 Quinic acid | |
223 HMDB00792 Sebacic acid | |
224 | |
225 | |
226 </tool> |