annotate export_to_metexp_tabular.xml @ 62:9bd2597c8851 default tip

r
author pieter.lukasse@wur.nl
date Fri, 06 Feb 2015 15:49:26 +0100
parents 646ca60a9ab0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
1 <tool id="export_to_metexp_tabular"
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
2 name="METEXP - Tabular file"
26
637830ac8bcd added validation in metexp to tabular tool; added workaround/fix for L and D compound types
pieter.lukasse@wur.nl
parents: 21
diff changeset
3 version="0.2.0">
21
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
4 <description>Create tabular file for loading into METabolomics EXPlorer database</description>
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
5 <command interpreter="python">
27
ecd3f6c9e606 small fix to support spaces in parameters
pieter.lukasse@wur.nl
parents: 26
diff changeset
6 export_to_metexp_tabular.py
ecd3f6c9e606 small fix to support spaces in parameters
pieter.lukasse@wur.nl
parents: 26
diff changeset
7 $rankfilter_and_caslookup_combi
ecd3f6c9e606 small fix to support spaces in parameters
pieter.lukasse@wur.nl
parents: 26
diff changeset
8 $msclust_quant_file
ecd3f6c9e606 small fix to support spaces in parameters
pieter.lukasse@wur.nl
parents: 26
diff changeset
9 $output_result
ecd3f6c9e606 small fix to support spaces in parameters
pieter.lukasse@wur.nl
parents: 26
diff changeset
10 "$organism"
ecd3f6c9e606 small fix to support spaces in parameters
pieter.lukasse@wur.nl
parents: 26
diff changeset
11 "$tissue"
ecd3f6c9e606 small fix to support spaces in parameters
pieter.lukasse@wur.nl
parents: 26
diff changeset
12 "$experiment_name"
ecd3f6c9e606 small fix to support spaces in parameters
pieter.lukasse@wur.nl
parents: 26
diff changeset
13 "$user_name"
ecd3f6c9e606 small fix to support spaces in parameters
pieter.lukasse@wur.nl
parents: 26
diff changeset
14 "$column_type"
21
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
15 </command>
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
16 <inputs>
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
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"
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
18 help="Select the (multi) output file from the 'Combine RankFilter and CasLookup' tool"/>
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
19 <param format="tabular" name="msclust_quant_file" type="data" label="MusClust-quantification file output"
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
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"/>
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
21
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
22
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
23 <param name="organism" type="text" size="80"
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
24 label="Organism(s) info"
26
637830ac8bcd added validation in metexp to tabular tool; added workaround/fix for L and D compound types
pieter.lukasse@wur.nl
parents: 21
diff changeset
25 help="Metadata information to accompany the results when stored in MetExp DB." >
637830ac8bcd added validation in metexp to tabular tool; added workaround/fix for L and D compound types
pieter.lukasse@wur.nl
parents: 21
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 -->
637830ac8bcd added validation in metexp to tabular tool; added workaround/fix for L and D compound types
pieter.lukasse@wur.nl
parents: 21
diff changeset
27 </param>
637830ac8bcd added validation in metexp to tabular tool; added workaround/fix for L and D compound types
pieter.lukasse@wur.nl
parents: 21
diff changeset
28
21
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
29 <param name="tissue" type="text" size="80"
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
30 label="Tissue(s) info"
26
637830ac8bcd added validation in metexp to tabular tool; added workaround/fix for L and D compound types
pieter.lukasse@wur.nl
parents: 21
diff changeset
31 help="Metadata information to accompany the results when stored in MetExp DB." >
637830ac8bcd added validation in metexp to tabular tool; added workaround/fix for L and D compound types
pieter.lukasse@wur.nl
parents: 21
diff changeset
32 <validator type="empty_field" message="A value is required."></validator>
637830ac8bcd added validation in metexp to tabular tool; added workaround/fix for L and D compound types
pieter.lukasse@wur.nl
parents: 21
diff changeset
33 </param>
21
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
34
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
35 <param name="experiment_name" type="text" size="80"
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
36 label="Experiment name/code"
26
637830ac8bcd added validation in metexp to tabular tool; added workaround/fix for L and D compound types
pieter.lukasse@wur.nl
parents: 21
diff changeset
37 help="Name or code to store the results under. This can help you find the results back in MetExpDB." >
637830ac8bcd added validation in metexp to tabular tool; added workaround/fix for L and D compound types
pieter.lukasse@wur.nl
parents: 21
diff changeset
38 <validator type="empty_field" message="A value is required."></validator>
637830ac8bcd added validation in metexp to tabular tool; added workaround/fix for L and D compound types
pieter.lukasse@wur.nl
parents: 21
diff changeset
39 </param>
21
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
40
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
41 <param name="user_name" type="text" size="80"
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
42 label="User name"
26
637830ac8bcd added validation in metexp to tabular tool; added workaround/fix for L and D compound types
pieter.lukasse@wur.nl
parents: 21
diff changeset
43 help="User name or code to store the results under. This can help you find the results back in MetExpDB." >
637830ac8bcd added validation in metexp to tabular tool; added workaround/fix for L and D compound types
pieter.lukasse@wur.nl
parents: 21
diff changeset
44 <validator type="empty_field" message="A value is required."></validator>
637830ac8bcd added validation in metexp to tabular tool; added workaround/fix for L and D compound types
pieter.lukasse@wur.nl
parents: 21
diff changeset
45 </param>
21
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
46
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
47 <param name="column_type" type="text" size="80"
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
48 label="Column type"
26
637830ac8bcd added validation in metexp to tabular tool; added workaround/fix for L and D compound types
pieter.lukasse@wur.nl
parents: 21
diff changeset
49 help="Column type to report with the results. This can help you find the results back in MetExpDB." >
637830ac8bcd added validation in metexp to tabular tool; added workaround/fix for L and D compound types
pieter.lukasse@wur.nl
parents: 21
diff changeset
50 <validator type="empty_field" message="A value is required."></validator>
637830ac8bcd added validation in metexp to tabular tool; added workaround/fix for L and D compound types
pieter.lukasse@wur.nl
parents: 21
diff changeset
51 </param>
21
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
52
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
53 </inputs>
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
54 <outputs>
47
646ca60a9ab0 removed tsv
pieter.lukasse@wur.nl
parents: 46
diff changeset
55 <data format="tabular" label="${tool.name} on ${on_string}" name="output_result" />
21
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
56 </outputs>
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
57 <help>
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
58 .. class:: infomark
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
59
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
60 Tool to combine output from the tools RankFilter, CasLookup and MsClust
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
61 into a tabular file that can be uploaded to the METabolomics EXPlorer (MetExp) database.
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
62
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
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
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
64 this result.
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
65
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
66 **Notes**
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
67
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
68 Extra calculations performed:
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
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.
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
70
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
71 So in total here we merge 2 files and calculate one new column.
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
72
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
73
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
74 </help>
19d8fd10248e * Added interface to METEXP data store, including tool to fire queries in batch mode
pieter.lukasse@wur.nl
parents:
diff changeset
75 </tool>