Mercurial > repos > genouest > openlabcds2csv
annotate openlabcds2csv.xml @ 0:9072a2d2178b draft
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
author | genouest |
---|---|
date | Fri, 29 Oct 2021 13:59:09 +0000 |
parents | |
children | 91fa8b697e6a |
rev | line source |
---|---|
0
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
1 <tool id="openlabcds2csv" name="Converting multiple OpenLabCDS Text Files to a CSV summary file" version="0.1.0" profile="21.05"> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
2 <requirements> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
3 <requirement type="package" version="8.0.121">openjdk</requirement> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
4 </requirements> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
5 <command detect_errors="exit_code"><![CDATA[ |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
6 java -cp '$__tool_directory__/P2M2WorkflowsTools-assembly-0.1.4.jar' fr.inrae.metabolomics.p2m2.OpenLabCDS2CsvCommand |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
7 #for $input in $input_openlabscds_files |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
8 #if $input |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
9 $input |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
10 #end if |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
11 #end for |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
12 --out '$output_csv' --column '$column' |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
13 ]]></command> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
14 <inputs> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
15 <param type="data" name="input_openlabscds_files" multiple="true" format="txt" /> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
16 <param type="select" name="column" label="target column to build as summary"> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
17 <option value="RetTime">RetTime</option> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
18 <option value="Type">Type</option> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
19 <option value="ISTD">ISTD</option> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
20 <option value="Area" selected="true">Area</option> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
21 <option value="Amt/Area">Amt/Area</option> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
22 <option value="Amount">Amount</option> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
23 <option value="Grp">Grp</option> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
24 </param> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
25 </inputs> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
26 <outputs> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
27 <data name="output_csv" format="csv" /> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
28 </outputs> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
29 <tests> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
30 <test> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
31 <param name="input_openlabscds_files" value="Report_Ex1.txt,Report_Ex2.txt,Report_Ex3.txt"/> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
32 <param name="column" value="Area"/> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
33 <output name="output_csv" file="Results.csv"/> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
34 </test> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
35 </tests> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
36 <help><![CDATA[ |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
37 Get multiple "Internal Standard Report" from the OpenLabCDS software where are describe a list of compound in format row (columns : RetTime Type ISTD Area Amt/Area Amount Grp Name) |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
38 The converter creates a summary that contains a header (a list of compounds) and a list of "Sample name" with associated values for a target column (RetTime,Type,ISTD,Area,Amt/Area,Amount,Grp,Name) |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
39 ]]></help> |
9072a2d2178b
"planemo upload commit c24cf4eadc45f2915f24cae2940c81c12dd3aab4"
genouest
parents:
diff
changeset
|
40 </tool> |