annotate metams_lcms_annotate.xml @ 49:f772a5caa86a

Added more options and better documentation. Added MsClust support for parsing XCMS alignment results. Improved output reports for XCMS wrappers. New tools.
author pieter.lukasse@wur.nl
date Wed, 10 Dec 2014 22:03:27 +0100
parents e67149fbff20
children 70574a6381ea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
49
f772a5caa86a Added more options and better documentation.
pieter.lukasse@wur.nl
parents: 41
diff changeset
1 <tool id="metams_lcms_annotate" name="METAMS-LC/MS Annotate" version="0.0.4">
f772a5caa86a Added more options and better documentation.
pieter.lukasse@wur.nl
parents: 41
diff changeset
2 <description> Runs metaMS process for LC/MS feature annotation</description>
41
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
3 <requirements>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
4 <requirement type="package" version="3.1.1">R_bioc_metams</requirement>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
5 </requirements>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
6 <command interpreter="Rscript">
49
f772a5caa86a Added more options and better documentation.
pieter.lukasse@wur.nl
parents: 41
diff changeset
7 metaMS_cmd_annotate.r
41
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
8 $constructed_db
49
f772a5caa86a Added more options and better documentation.
pieter.lukasse@wur.nl
parents: 41
diff changeset
9 $xsetData
41
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
10 $customMetaMSsettings
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
11 $outputFile
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
12 $htmlReportFile
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
13 $htmlReportFile.files_path
49
f772a5caa86a Added more options and better documentation.
pieter.lukasse@wur.nl
parents: 41
diff changeset
14 $outputLog
41
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
15 </command>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
16 <inputs>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
17 <param name="constructed_db" type="select" label="Constructed DB" help="Reference annotation database generated from matching measurements of a mixture of chemical standards
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
18 against a manually validated reference table which contains the key analytical information for each standard."
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
19 dynamic_options='get_directory_files("tool-data/shared/PRIMS-metabolomics/metaMS")'/>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
20
49
f772a5caa86a Added more options and better documentation.
pieter.lukasse@wur.nl
parents: 41
diff changeset
21 <param name="xsetData" type="data" format="rdata" label="xcmsSet data file (xset RDATA)" help="E.g. output data file resulting from METAMS 'feature picking, aligning and grouping' run"/>
41
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
22
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
23 <param name="protocolName" type="text" size="30" label="protocolName" value="Synapt.QTOF.RP" help="protocolName"/>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
24
49
f772a5caa86a Added more options and better documentation.
pieter.lukasse@wur.nl
parents: 41
diff changeset
25 <param name="rtdiff" type="float" size="10" value="1.5" label="rtdiff" help="rtdiff"/>
41
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
26 <param name="rtval" type="float" size="10" value="0.1" label="rtval" help="rtval" />
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
27 <param name="mzdiff" type="float" size="10" value="0.005" label="mzdiff" help="mzdiff" />
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
28 <param name="match2DB_ppm" type="float" size="10" value="5.0" label="ppm" help="ppm" />
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
29 <param name="minfeat" type="integer" size="10" value="2" label="minfeat" help="minfeat" />
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
30
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
31 </inputs>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
32 <configfiles>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
33
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
34 <configfile name="customMetaMSsettings">## start comment
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
35 ## metaMS process settings
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
36 customMetaMSsettings &lt;- metaMSsettings(protocolName = "${protocolName}",
49
f772a5caa86a Added more options and better documentation.
pieter.lukasse@wur.nl
parents: 41
diff changeset
37 chrom = "LC")
41
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
38 metaSetting(customMetaMSsettings, "match2DB") &lt;- list(
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
39 rtdiff = ${rtdiff},
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
40 rtval = ${rtval},
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
41 mzdiff = ${mzdiff},
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
42 ppm = ${match2DB_ppm},
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
43 minfeat = ${minfeat})</configfile>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
44
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
45 </configfiles>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
46
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
47 <outputs>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
48 <data name="outputFile" format="tabular" label="${tool.name} on ${on_string} - metaMS annotated file (TSV)"/>
49
f772a5caa86a Added more options and better documentation.
pieter.lukasse@wur.nl
parents: 41
diff changeset
49 <data name="outputLog" format="txt" label="${tool.name} on ${on_string} - metaMS LOG" hidden="True"/>
41
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
50 <data name="htmlReportFile" format="html" label="${tool.name} on ${on_string} - metaMS report (HTML)"/>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
51 </outputs>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
52 <tests>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
53 <test>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
54 </test>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
55 </tests>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
56 <code file="match_library.py" /> <!-- file containing get_directory_files function used above-->
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
57 <help>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
58
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
59 .. class:: infomark
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
60
49
f772a5caa86a Added more options and better documentation.
pieter.lukasse@wur.nl
parents: 41
diff changeset
61 Runs metaMS process for LC/MS feature annotation.
f772a5caa86a Added more options and better documentation.
pieter.lukasse@wur.nl
parents: 41
diff changeset
62 The figure below shows the main parts of the metaMS process.
f772a5caa86a Added more options and better documentation.
pieter.lukasse@wur.nl
parents: 41
diff changeset
63 This tool related to the last step of this process.
41
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
64
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
65 .. image:: $PATH_TO_IMAGES/metaMS.png
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
66
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
67
49
f772a5caa86a Added more options and better documentation.
pieter.lukasse@wur.nl
parents: 41
diff changeset
68 From CAMERA documentation:
f772a5caa86a Added more options and better documentation.
pieter.lukasse@wur.nl
parents: 41
diff changeset
69
f772a5caa86a Added more options and better documentation.
pieter.lukasse@wur.nl
parents: 41
diff changeset
70 .. image:: $PATH_TO_IMAGES/CAMERA_results.png
f772a5caa86a Added more options and better documentation.
pieter.lukasse@wur.nl
parents: 41
diff changeset
71
41
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
72 **References**
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
73
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
74 If you use this Galaxy tool in work leading to a scientific publication please
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
75 cite the following papers:
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
76
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
77 Wehrens, R.; Weingart, G.; Mattivi, F. (2014).
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
78 metaMS: an open-source pipeline for GC-MS-based untargeted metabolomics.
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
79 Journal of chromatography B: biomedical sciences and applications, 996 (1): 109-116.
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
80 doi: 10.1016/j.jchromb.2014.02.051
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
81 handle: http://hdl.handle.net/10449/24012
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
82
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
83
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
84 </help>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
85 <citations>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
86 <citation type="doi">10.1016/j.jchromb.2014.02.051</citation> <!-- example
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
87 see also https://wiki.galaxyproject.org/Admin/Tools/ToolConfigSyntax#A.3Ccitations.3E_tag_set
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
88 -->
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
89 </citations>
e67149fbff20 small changes/improvements;
pieter.lukasse@wur.nl
parents:
diff changeset
90 </tool>