comparison 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
comparison
equal deleted inserted replaced
48:26b93438f30e 49:f772a5caa86a
1 <tool id="metams_lcms_annotate" name="METAMS-LC/MS Annotate" version="0.0.3"> 1 <tool id="metams_lcms_annotate" name="METAMS-LC/MS Annotate" version="0.0.4">
2 <description> Runs metaMS process for LC/MS feature grouping and annotation</description> 2 <description> Runs metaMS process for LC/MS feature annotation</description>
3 <requirements> 3 <requirements>
4 <requirement type="package" version="3.1.1">R_bioc_metams</requirement> 4 <requirement type="package" version="3.1.1">R_bioc_metams</requirement>
5 </requirements> 5 </requirements>
6 <command interpreter="Rscript"> 6 <command interpreter="Rscript">
7 metaMS_cmd_interface.r 7 metaMS_cmd_annotate.r
8 $constructed_db 8 $constructed_db
9 $data_files 9 $xsetData
10 $customMetaMSsettings 10 $customMetaMSsettings
11 $outputFile 11 $outputFile
12 $outputLog
13 $xsetOut
14 $htmlReportFile 12 $htmlReportFile
15 $htmlReportFile.files_path 13 $htmlReportFile.files_path
14 $outputLog
16 </command> 15 </command>
17 <inputs> 16 <inputs>
18 <param name="constructed_db" type="select" label="Constructed DB" help="Reference annotation database generated from matching measurements of a mixture of chemical standards 17 <param name="constructed_db" type="select" label="Constructed DB" help="Reference annotation database generated from matching measurements of a mixture of chemical standards
19 against a manually validated reference table which contains the key analytical information for each standard." 18 against a manually validated reference table which contains the key analytical information for each standard."
20 dynamic_options='get_directory_files("tool-data/shared/PRIMS-metabolomics/metaMS")'/> 19 dynamic_options='get_directory_files("tool-data/shared/PRIMS-metabolomics/metaMS")'/>
21 20
22 <param name="data_files" type="data" format="prims.fileset.zip" label="Data files (.zip file with CDFs)" help=".zip file containing the CDF files of the new measurements"/> 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"/>
23
24
25 22
26 <param name="protocolName" type="text" size="30" label="protocolName" value="Synapt.QTOF.RP" help="protocolName"/> 23 <param name="protocolName" type="text" size="30" label="protocolName" value="Synapt.QTOF.RP" help="protocolName"/>
27 24
28 <param name="method" type="select" size="30" label="PEAK PICKING method ====================================================="> 25 <param name="rtdiff" type="float" size="10" value="1.5" label="rtdiff" help="rtdiff"/>
29 <option value="matchedFilter" selected="true">matchedFilter</option>
30 </param>
31 <param name="step" type="float" size="10" value="0.05" label="step" help="step"/>
32 <param name="fwhm" type="integer" size="10" value="20" label="fwhm" help="fwhm" />
33 <param name="snthresh" type="integer" size="10" value="4" label="snthresh" help="snthresh" />
34 <param name="max" type="integer" size="10" value="50" label="max" help="max" />
35
36 <param name="min_class_fraction" type="float" size="10" value="0.3" label="ALIGNMENT min.class.fraction =====================================================" help="min.class.fraction"/>
37 <param name="min_class_size" type="integer" size="10" value="3" label="min.class.size" help="min.class.size" />
38 <param name="mzwid" type="float" size="10" value="0.1" label="mzwid" help="mzwid"/>
39 <param name="bws" type="text" size="10" value="30,10" label="bws" help="bws"/>
40 <param name="missingratio" type="float" size="10" value="0.2" label="missingratio" help="missingratio"/>
41 <param name="extraratio" type="float" size="10" value="0.1" label="extraratio" help="extraratio"/>
42 <param name="retcormethod" type="select" size="30" label="retcormethod" help="retcormethod">
43 <option value="linear" selected="true">linear</option>
44 </param>
45 <param name="retcorfamily" type="select" size="30" label="retcorfamily" help="retcorfamily">
46 <option value="symmetric" selected="true">symmetric</option>
47 </param>
48 <param name="fillPeaks" type="select" size="30" label="fillPeaks" help="fillPeaks">
49 <option value="TRUE" selected="true">Yes</option>
50 <option value="FALSE">No</option>
51 </param>
52 <param name="perfwhm" type="float" size="10" value="0.6" label="CAMERA perfwhm =====================================================" help="perfwhm"/>
53 <param name="cor_eic_th" type="float" size="10" value="0.7" label="cor_eic_th" help="cor_eic_th" />
54 <param name="ppm" type="float" size="10" value="5.0" label="ppm" help="ppm" />
55 <param name="rtdiff" type="float" size="10" value="1.5" label="MATCH2DB rtdiff =====================================================" help="rtdiff"/>
56 <param name="rtval" type="float" size="10" value="0.1" label="rtval" help="rtval" /> 26 <param name="rtval" type="float" size="10" value="0.1" label="rtval" help="rtval" />
57 <param name="mzdiff" type="float" size="10" value="0.005" label="mzdiff" help="mzdiff" /> 27 <param name="mzdiff" type="float" size="10" value="0.005" label="mzdiff" help="mzdiff" />
58 <param name="match2DB_ppm" type="float" size="10" value="5.0" label="ppm" help="ppm" /> 28 <param name="match2DB_ppm" type="float" size="10" value="5.0" label="ppm" help="ppm" />
59 <param name="minfeat" type="integer" size="10" value="2" label="minfeat" help="minfeat" /> 29 <param name="minfeat" type="integer" size="10" value="2" label="minfeat" help="minfeat" />
60 30
62 <configfiles> 32 <configfiles>
63 33
64 <configfile name="customMetaMSsettings">## start comment 34 <configfile name="customMetaMSsettings">## start comment
65 ## metaMS process settings 35 ## metaMS process settings
66 customMetaMSsettings &lt;- metaMSsettings(protocolName = "${protocolName}", 36 customMetaMSsettings &lt;- metaMSsettings(protocolName = "${protocolName}",
67 chrom = "LC", 37 chrom = "LC")
68 PeakPicking = list(
69 method = "${method}",
70 step = ${step},
71 fwhm = ${fwhm},
72 snthresh = ${snthresh},
73 max = ${max}),
74 Alignment = list(
75 min.class.fraction = ${min_class_fraction},
76 min.class.size = ${min_class_size},
77 mzwid = ${mzwid},
78 bws = c(${bws}),
79 missingratio = ${missingratio},
80 extraratio = ${extraratio},
81 retcormethod = "${retcormethod}",
82 retcorfamily = "${retcorfamily}",
83 fillPeaks = ${fillPeaks}),
84 CAMERA = list(
85 perfwhm = ${perfwhm},
86 cor_eic_th = ${cor_eic_th},
87 ppm= ${ppm}))
88 metaSetting(customMetaMSsettings, "match2DB") &lt;- list( 38 metaSetting(customMetaMSsettings, "match2DB") &lt;- list(
89 rtdiff = ${rtdiff}, 39 rtdiff = ${rtdiff},
90 rtval = ${rtval}, 40 rtval = ${rtval},
91 mzdiff = ${mzdiff}, 41 mzdiff = ${mzdiff},
92 ppm = ${match2DB_ppm}, 42 ppm = ${match2DB_ppm},
94 44
95 </configfiles> 45 </configfiles>
96 46
97 <outputs> 47 <outputs>
98 <data name="outputFile" format="tabular" label="${tool.name} on ${on_string} - metaMS annotated file (TSV)"/> 48 <data name="outputFile" format="tabular" label="${tool.name} on ${on_string} - metaMS annotated file (TSV)"/>
99 <data name="outputLog" format="txt" label="${tool.name} on ${on_string} - metaMS LOG"/> 49 <data name="outputLog" format="txt" label="${tool.name} on ${on_string} - metaMS LOG" hidden="True"/>
100 <data name="xsetOut" format="rdata" label="${tool.name} on ${on_string} - metaMS xcmsSet (RDATA)"/>
101 <data name="htmlReportFile" format="html" label="${tool.name} on ${on_string} - metaMS report (HTML)"/> 50 <data name="htmlReportFile" format="html" label="${tool.name} on ${on_string} - metaMS report (HTML)"/>
102 </outputs> 51 </outputs>
103 <tests> 52 <tests>
104 <test> 53 <test>
105 </test> 54 </test>
107 <code file="match_library.py" /> <!-- file containing get_directory_files function used above--> 56 <code file="match_library.py" /> <!-- file containing get_directory_files function used above-->
108 <help> 57 <help>
109 58
110 .. class:: infomark 59 .. class:: infomark
111 60
112 Runs metaMS process for LC/MS feature grouping and annotation. Parts of the metaMS process also make use of the XCMS and CAMERA tools and algorithms. 61 Runs metaMS process for LC/MS feature annotation.
113 The figure below shows the main parts of the metaMS process. 62 The figure below shows the main parts of the metaMS process.
63 This tool related to the last step of this process.
114 64
115 .. image:: $PATH_TO_IMAGES/metaMS.png 65 .. image:: $PATH_TO_IMAGES/metaMS.png
116 66
67
68 From CAMERA documentation:
69
70 .. image:: $PATH_TO_IMAGES/CAMERA_results.png
117 71
118 **References** 72 **References**
119 73
120 If you use this Galaxy tool in work leading to a scientific publication please 74 If you use this Galaxy tool in work leading to a scientific publication please
121 cite the following papers: 75 cite the following papers: