Mercurial > repos > computational-metabolomics > mspurity_combineannotations
comparison combineAnnotations.xml @ 0:7f3183988100 draft
"planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit cb903cd93f9378cfb5eeb68512a54178dcea7bbc-dirty"
author | computational-metabolomics |
---|---|
date | Wed, 27 Nov 2019 13:51:34 -0500 |
parents | |
children | d4376a743f7b |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:7f3183988100 |
---|---|
1 <tool id="mspurity_combineannotations" name="msPurity.combineAnnotations" version="@TOOL_VERSION@+galaxy@GALAXY_TOOL_VERSION@"> | |
2 <description>Combine, score and rank metabolite annotation results</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements"/> | |
7 <command detect_errors="exit_code"><![CDATA[ | |
8 Rscript '$__tool_directory__/combineAnnotations.R' | |
9 --sm_resultPth='$sm_resultPth' | |
10 --metfrag_resultPth='$metfrag_resultPth' | |
11 --sirius_csi_resultPth='$sirius_csi_resultPth' | |
12 --probmetab_resultPth='$probmetab_resultPth' | |
13 --ms1_lookup_resultPth='$ms1_lookup_resultPth' | |
14 | |
15 #if $ms1_lookup_checkAdducts: | |
16 --ms1_lookup_checkAdducts | |
17 #end if | |
18 | |
19 --ms1_lookup_keepAdducts='$ms1_lookup_keepAdducts' | |
20 --ms1_lookup_dbSource=$ms1_lookup_dbSource | |
21 | |
22 --sm_weight=$sm_weight | |
23 --metfrag_weight=$metfrag_weight | |
24 --sirius_csi_weight=$sirius_csi_weight | |
25 --probmetab_weight=$probmetab_weight | |
26 --ms1_lookup_weight=$ms1_lookup_weight | |
27 --biosim_weight=$biosim_weight | |
28 | |
29 | |
30 #if $create_new_database: | |
31 --create_new_database | |
32 #end if | |
33 | |
34 --compoundDbType=$compoundDbTypeCond.compoundDbType | |
35 | |
36 #if $compoundDbTypeCond.compoundDbType== 'sqlite' | |
37 --compoundDbPth='$compoundDbTypeCond.compoundDbPth' | |
38 #end if | |
39 | |
40 | |
41 ]]></command> | |
42 <inputs> | |
43 | |
44 | |
45 <param argument="--sm_resultPth" type="data" label="Spectral matching result" format="sqlite" | |
46 help="The SQLite database generated from msPurity.spectralMatching"/> | |
47 <param argument="--metfrag_resultPth" type="data" label="Metfrag result" format="tsv,tabular" optional="true" | |
48 help="The result of the MetFrag analysis (requires a column indicating the XCMS group ID)"/> | |
49 <param argument="--sirius_csi_resultPth" type="data" label="Sirius CSI:FingerID result" format="tsv,tabular" optional="true" | |
50 help="The result of the CSI:FingerID analysis (requires a column indicating the XCMS group ID)"/> | |
51 <param argument="--probmetab_resultPth" type="data" label="Probmetab result" format="tsv,tabular" optional="true" | |
52 help="The result of the Probmetab analysis (requires a column indicating the XCMS group ID)"/> | |
53 <param argument="--ms1_lookup_resultPth" type="data" label="MS1 Lookup result" format="tsv,tabular" optional="true" | |
54 help="The result of the a generic MS1 lookup annotation software (e.g. BEAMS can be used)"/> | |
55 <param argument="--ms1_lookup_keepAdducts" type="text" label="MS1 lookup adducts to keep" optional="true" | |
56 help="Provide a list of adducts that should be used from the MS1 lookup (e.g. [M+H]+, [M+Na]+"/> | |
57 <param argument="--ms1_lookup_checkAdducts" type="boolean" label="MS1 lookup check adducts to CAMERA" | |
58 help="Check if adducts match to those found in CAMERA (requires the database to have been created with CAMERA object"/> | |
59 <param argument="--ms1_lookup_dbSource" type="select" label="MS1 lookup database source" help="Which database was used for the MS1 lookup" > | |
60 <option value="hmdb" selected="true">hmdb</option> | |
61 <option value="pubchem">pubchem</option> | |
62 <option value="kegg">kegg</option> | |
63 </param> | |
64 <param argument="--sm_weight" type="float" min="0.0" max="1.0" value="0.3" label="Spectral matching weight" help="all weights need to sum to 1" /> | |
65 <param argument="--metfrag_weight" type="float" min="0.0" max="1.0" value="0.2" label="Metfrag weight" help="all weights need to sum to 1" /> | |
66 <param argument="--sirius_csi_weight" type="float" min="0.0" max="1.0" value="0.2" label="Sirius CSI:FingerID weight" help="all weights need to sum to 1" /> | |
67 <param argument="--probmetab_weight" type="float" min="0.0" max="1.0" value="0.0" label="Probmetab weight" help="all weights need to sum to 1" /> | |
68 <param argument="--ms1_lookup_weight" type="float" min="0.0" max="1.0" value="0.05" label="MS1 Lookup weight" help="all weights need to sum to 1" /> | |
69 <param argument="--biosim_weight" type="float" min="0.0" max="1.0" value="0.25" label="Biological similarity weight" help="all weights need to sum to 1" /> | |
70 <param argument="--create_new_database" type="boolean" checked="true" label="Create a new database for the results?" | |
71 help="A copy will be made of the input SQLite spectral matching database and the results will be added to this copy. | |
72 When False, the input SQLite database will be updated the results. Use False | |
73 if you want to reduce storage space being used."/> | |
74 | |
75 <conditional name="compoundDbTypeCond"> | |
76 <param argument="--compoundDbType" type="select" label="compoundDbType" help="Database type for compound database to be used full database available on request - contact t.n.lawson@bham.ac.uk)." > | |
77 <option value="sqlite" selected="true">SQLite</option> | |
78 <option value="local_config" >Locally configured MySQL, Postgres or SQLite database</option> | |
79 </param> | |
80 <when value="sqlite"> | |
81 <param argument="--compoundDbPth" type="data" label="SQLite compound database pth" format="sqlite" help=""/> | |
82 </when> | |
83 <when value="local_config"> | |
84 </when> | |
85 </conditional> | |
86 | |
87 </inputs> | |
88 <outputs> | |
89 <data name="combined_annotations_sqlite" from_work_dir="combined_annotations.sqlite" format="sqlite" label="${tool.name} on ${on_string}: sqlite" /> | |
90 <data name="combined_annotations_tsv" from_work_dir="combined_annotations.tsv" format="tsv" label="${tool.name} on ${on_string}: tsv" /> | |
91 </outputs> | |
92 <tests> | |
93 <test> | |
94 <param name="sm_resultPth" value="combinedAnnotation_input_spectralMatching.sqlite" /> | |
95 <param name="metfrag_resultPth" value="combineAnnotations_input_metfrag.tsv" /> | |
96 <param name="sirius_csi_resultPth" value="combineAnnotations_input_sirus_csifingerid.tsv" /> | |
97 <param name="probmetab_resultPth" value="combineAnnotations_input_probmetab.tsv" /> | |
98 <param name="beams_resultPth" value="combineAnnotations_input_beams.tsv" /> | |
99 <param name="compoundDbTypeCond|compoundDbPth" value="metab_compound_subset.sqlite" /> | |
100 <output name="combined_annotations_tsv" file="combineAnnotations_combined_annotations.tsv" ftype="tsv" /> | |
101 <output name="combined_annotations_sqlite" file="combineAnnotations_combined_annotations.sqlite" ftype="sqlite" compare="sim_size"/> | |
102 </test> | |
103 </tests> | |
104 <help><![CDATA[ | |
105 ============================================================= | |
106 Combine annotation results | |
107 ============================================================= | |
108 ----------- | |
109 Description | |
110 ----------- | |
111 | |
112 Tool to combine the annotation results from msPurity spectral matching, MetFrag, Sirius CSI:FingerID and probmetab | |
113 based on weighted scores for each technique aligning each annotation by inchikey and XCMS grouped feature. | |
114 | |
115 See Bioconductor documentation for more details, functions: | |
116 msPurity::combineAnnotation() | |
117 | |
118 ----------- | |
119 Outputs | |
120 ----------- | |
121 * combined_annotation_sqlite | |
122 * combined_annotation_tsv | |
123 | |
124 ]]></help> | |
125 | |
126 <expand macro="citations" /> | |
127 | |
128 </tool> |