annotate query_metexp.xml @ 3:86d41d9c4a91

removed msclust images
author pieter.lukasse@wur.nl
date Thu, 19 Mar 2015 12:09:38 +0100
parents dffc38727496
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
1 <tool id="query_metexp"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
2 name="METEXP - Query Database "
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
3 version="0.1.0">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
4 <description>Query a set of identifications against the METabolomics EXPeriments database</description>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
5 <command interpreter="python">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
6 query_metexp.py
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
7 $input_file
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
8 "$casid_col"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
9 "$formula_col"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
10 "$molecular_mass_col"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
11 "$metexp_dblink_file"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
12 $separation_method
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
13 $output_result
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
14 </command>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
15 <inputs>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
16
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
17 <param name="input_file" format="tabular" type="data"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
18 label="Input file"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
19 help="Select a tabular file containing the entries to be queried/verified in the MetExp DB"/>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
20
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
21 <param name="separation_method" type="select" label="Data type to query">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
22 <option value="GC" selected="True">GC</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
23 <option value="LC">LC</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
24 </param>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
25
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
26
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
27 <param name="casid_col" type="text" size="50"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
28 label="CAS ID column name"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
29 value="CAS"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
30 help="Name of the column containing the CAS code information (in the given input file)" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
31 <param name="formula_col" type="text" size="50"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
32 label="Formula ID column name"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
33 value="FORMULA"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
34 help="Name of the column containing the formula information (in the given input file)" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
35 <param name="molecular_mass_col" type="text" size="50"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
36 label="Molecular mass column name"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
37 value="MM"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
38 help="Name of the column containing the molecular mass information (in the given input file)" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
39
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
40 <param name="metexp_dblink_file" type="select" label="MetExp DB to query"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
41 help="Select the MetExp Database/backend which should be queried"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
42 dynamic_options='get_directory_files("tool-data/shared/PRIMS-metabolomics/MetExp_Databases")'/>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
43
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
44
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
45 </inputs>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
46 <outputs>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
47 <data name="output_result" format="tabular" label="${tool.name} on ${on_string}" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
48 </outputs>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
49 <code file="match_library.py" /> <!-- file containing get_directory_files function used above-->
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
50 <help>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
51 .. class:: infomark
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
52
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
53 This tool will Query a set of identifications against the METabolomics EXPlorer database.
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
54
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
55 It will take the input file and for each record it will query the
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
56 molecular mass in the selected MetExp DB. If one or more compounds are found in the
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
57 MetExp DB then extra information regarding these compounds is added to the output file.
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
58
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
59 The output file is thus the input file enriched with information about
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
60 related items found in the selected MetExp DB.
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
61
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
62 **Notes**
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
63
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
64 The input file can be any tabular file, as long as it contains a column for the molecular mass
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
65 and one for the formula of the respective identification.
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
66
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
67
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
68 </help>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
69 </tool>