annotate METEXPtools/export_to_metexp_tabular.xml @ 25:9f03c8587d6b draft default tip

MetExp msclust upload format changed from tabular to csv
author linda-bakker
date Fri, 24 Aug 2018 09:56:05 -0400
parents 4393f982d18f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
1 <tool id="export_to_metexp_tabular"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
2 name="METEXP - Tabular file"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
3 version="0.2.0">
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
4 <description>Create tabular file for loading into METabolomics EXPlorer database</description>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
5 <command interpreter="python">
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
6 export_to_metexp_tabular.py
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
7 $rankfilter_and_caslookup_combi
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
8 $msclust_quant_file
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
9 $output_result
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
10 "$organism"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
11 "$tissue"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
12 "$experiment_name"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
13 "$user_name"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
14 "$column_type"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
15 </command>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
16 <inputs>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
17 <param format="tabular" name="rankfilter_and_caslookup_combi" type="data" label="RIQC-Combine RankFilter and CasLookup output"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
18 help="Select the (multi) output file from the 'Combine RankFilter and CasLookup' tool"/>
25
9f03c8587d6b MetExp msclust upload format changed from tabular to csv
linda-bakker
parents: 6
diff changeset
19 <param format="csv" name="msclust_quant_file" type="data" label="MusClust-quantification file output"
6
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
20 help="Select the output file from MsClust (centrotype, mic or sim) which also contain respective spectrum details"/>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
21
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
22
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
23 <param name="organism" type="text" size="80"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
24 label="Organism(s) info"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
25 help="Metadata information to accompany the results when stored in MetExp DB." >
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
26 <validator type="empty_field" message="A value is required."></validator><!-- attribute optional="False" does not seem to work for params so validator is added -->
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
27 </param>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
28
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
29 <param name="tissue" type="text" size="80"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
30 label="Tissue(s) info"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
31 help="Metadata information to accompany the results when stored in MetExp DB." >
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
32 <validator type="empty_field" message="A value is required."></validator>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
33 </param>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
34
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
35 <param name="experiment_name" type="text" size="80"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
36 label="Experiment name/code"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
37 help="Name or code to store the results under. This can help you find the results back in MetExpDB." >
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
38 <validator type="empty_field" message="A value is required."></validator>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
39 </param>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
40
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
41 <param name="user_name" type="text" size="80"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
42 label="User name"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
43 help="User name or code to store the results under. This can help you find the results back in MetExpDB." >
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
44 <validator type="empty_field" message="A value is required."></validator>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
45 </param>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
46
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
47 <param name="column_type" type="text" size="80"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
48 label="Column type"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
49 help="Column type to report with the results. This can help you find the results back in MetExpDB." >
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
50 <validator type="empty_field" message="A value is required."></validator>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
51 </param>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
52
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
53 </inputs>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
54 <outputs>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
55 <data format="tabular" label="${tool.name} on ${on_string}" name="output_result" />
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
56 </outputs>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
57 <help>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
58 .. class:: infomark
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
59
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
60 Tool to combine output from the tools RankFilter, CasLookup and MsClust
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
61 into a tabular file that can be uploaded to the METabolomics EXPlorer (MetExp) database.
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
62
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
63 RankFilter, CasLookup are already combined by 'RIQC-Combine RankFilter and CasLookup' tool so here we will use
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
64 this result.
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
65
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
66 **Notes**
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
67
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
68 Extra calculations performed:
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
69 - The columns MM and MW are also added here and are derived from the column FORMULA found in RankFilter, CasLookup combined result.
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
70
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
71 So in total here we merge 2 files and calculate one new column.
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
72
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
73
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
74 </help>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
75 </tool>