Mercurial > repos > pieterlukasse > prims_metabolomics
annotate query_mass_repos.xml @ 40:a7b609941846
updated text
author | pieter.lukasse@wur.nl |
---|---|
date | Fri, 19 Sep 2014 16:14:58 +0200 |
parents | ab7f9ec70ffc |
children |
rev | line source |
---|---|
23
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
1 <tool id="query_mass_repos" |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
2 name="METEXP - Find elemental composition formulas based on mass values " |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
3 version="0.1.0"> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
4 <description>Query multiple public repositories for elemental compositions from accurate mass values detected by high-resolution mass spectrometers</description> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
5 <command interpreter="python"> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
6 query_mass_repos.py |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
7 $input_file |
25
ab7f9ec70ffc
fix to support white spaces in column names
pieter.lukasse@wur.nl
parents:
23
diff
changeset
|
8 "$molecular_mass_col" |
23
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
9 "$repository_file" |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
10 $error_margin |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
11 $margin_unit |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
12 $output_result |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
13 </command> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
14 <inputs> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
15 |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
16 <param name="input_file" format="tabular" type="data" |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
17 label="Input file" |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
18 help="Select a tabular file containing the entries to be queried/verified in the MetExp DB"/> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
19 |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
20 <param name="molecular_mass_col" type="text" size="50" |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
21 label="Molecular mass column name" |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
22 value="MM" |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
23 help="Name of the column containing the molecular mass information (in the given input file)" /> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
24 |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
25 <param name="repository_file" type="select" label="Repository/service to query" |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
26 help="Select the repository/service which should be queried" |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
27 dynamic_options='get_directory_files("tool-data/shared/PRIMS-metabolomics/MetExp_MassSearch_Services")'/> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
28 |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
29 <param name="error_margin" type="float" size="10" |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
30 label="Error marging" |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
31 value="0.01" |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
32 help="Mass difference allowed when searching in the repositories for a mass match." /> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
33 |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
34 <param name="margin_unit" type="select" label="Margin unit"> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
35 <option value="ms" selected="True">ms</option> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
36 <option value="ppm">ppm</option> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
37 </param> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
38 <!-- TODO |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
39 <param name="metexp_access_key" type="text" size="50" |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
40 label="(Optional)MetExp access key" |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
41 value="" |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
42 help="Key needed to get access to MetExp services. Fill in if MetExp service was selected" /> --> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
43 |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
44 </inputs> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
45 <outputs> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
46 <data name="output_result" format="tabular" label="${tool.name} on ${on_string}" /> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
47 </outputs> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
48 <code file="match_library.py" /> <!-- file containing get_directory_files function used above--> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
49 <help> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
50 .. class:: infomark |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
51 |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
52 This tool will query multiple public repositories such as PRI-MetExp or http://webs2.kazusa.or.jp/mfsearcher |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
53 for elemental compositions from accurate mass values detected by high-resolution mass spectrometers. |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
54 |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
55 It will take the input file and for each record it will query the |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
56 molecular mass in the selected repository. If one or more compounds are found in the |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
57 repository then extra information regarding (mass based)matching elemental composition formulas is added to the output file. |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
58 |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
59 The output file is thus the input file enriched with information about |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
60 related items found in the selected repository. |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
61 |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
62 **Notes** |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
63 |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
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. |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
65 |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
66 **Services that can be queried** |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
67 |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
68 ================= ========================================================================= |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
69 Database Description |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
70 ----------------- ------------------------------------------------------------------------- |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
71 PRI-MetExp LC-MS and GC-MS data from experiments from the metabolomics group at |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
72 Plant Research International. NB: restricted access to employees with |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
73 access key. |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
74 ExactMassDB A database of possible elemental compositions consits of C: 100, |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
75 H: 200, O: 50, N: 10, P: 10, and S: 10, that satisfy the Senior and |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
76 the Lewis valence rules. |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
77 (via /mfsearcher/exmassdb/) |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
78 ExactMassDB-HR2 HR2, which is one of the fastest tools for calculation of elemental |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
79 compositions, filters some elemental compositions according to |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
80 the Seven Golden Rules (Kind and Fiehn, 2007). The ExactMassDB-HR2 |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
81 database returns the same result as does HR2 with the same atom kind |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
82 and number condition as that used in construction of the ExactMassDB. |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
83 (via /mfsearcher/exmassdb-hr2/) |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
84 Pep1000 A database of possible linear polypeptides that are |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
85 constructed with 20 kinds of amino acids and having molecular |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
86 weights smaller than 1000. |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
87 (via /mfsearcher/pep1000/) |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
88 KEGG Re-calculated compound data from KEGG. Weekly updated. |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
89 (via /mfsearcher/kegg/) |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
90 KNApSAcK Re-calculated compound data from KNApSAcK. |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
91 (via /mfsearcher/knapsack/) |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
92 Flavonoid Viewer Re-calculated compound data from Flavonoid Viewer . |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
93 (via /mfsearcher/flavonoidviewer/ |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
94 LipidMAPS Re-calculated compound data from LIPID MAPS. |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
95 (via /mfsearcher/lipidmaps/) |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
96 HMDB Re-calculated compound data from Human Metabolome Database (HMDB) |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
97 Version 3.5. |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
98 (via /mfsearcher/hmdb/) |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
99 PubChem Re-calculated compound data from PubChem. Monthly updated. |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
100 (via /mfsearcher/pubchem/) |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
101 ================= ========================================================================= |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
102 |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
103 Sources for table above: PRI-MetExp and http://webs2.kazusa.or.jp/mfsearcher |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
104 |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
105 </help> |
85fd05d0d16c
New tool to Query multiple public repositories for elemental compositions
pieter.lukasse@wur.nl
parents:
diff
changeset
|
106 </tool> |