comparison Decharger.xml @ 4:6ead64a594bd draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/openms commit 7a5239910fda9ed90cca286a38855703b40b1b56-dirty
author bgruening
date Wed, 27 Jan 2016 10:06:49 -0500
parents 3d84209d3178
children
comparison
equal deleted inserted replaced
3:ec62782f6c68 4:6ead64a594bd
1 <?xml version='1.0' encoding='UTF-8'?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <tool id="Decharger" name="Decharger" version="1.12.0"> 2 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTD2Galaxy.-->
3 <description>Decharges and merges different feature charge variants of the same peptide.</description> 3 <!--Proposed Tool Section: [Quantitation]-->
4 <macros> 4 <tool id="Decharger" name="Decharger" version="2.0.0">
5 <token name="@EXECUTABLE@">Decharger</token> 5 <description>Decharges and merges different feature charge variants of the same peptide.</description>
6 <import>macros.xml</import> 6 <macros>
7 </macros> 7 <token name="@EXECUTABLE@">Decharger</token>
8 <expand macro="stdio"/> 8 <import>macros.xml</import>
9 <expand macro="requirements"/> 9 </macros>
10 <command>Decharger 10 <expand macro="references"/>
11 <expand macro="stdio"/>
12 <expand macro="requirements"/>
13 <command>Decharger
11 14
12 -in ${param_in} 15 #if $param_in:
13 -out_cm ${param_out_cm} 16 -in $param_in
14 -out_fm ${param_out_fm} 17 #end if
15 -outpairs ${param_outpairs} 18 #if $param_out_cm:
16 -threads \${GALAXY_SLOTS:-24} 19 -out_cm $param_out_cm
17 -algorithm:FeatureDeconvolution:charge_min ${param_charge_min} 20 #end if
18 -algorithm:FeatureDeconvolution:charge_max ${param_charge_max} 21 #if $param_out_fm:
19 -algorithm:FeatureDeconvolution:charge_span_max ${param_charge_span_max} 22 -out_fm $param_out_fm
20 -algorithm:FeatureDeconvolution:q_try ${param_q_try} 23 #end if
21 -algorithm:FeatureDeconvolution:retention_max_diff ${param_retention_max_diff} 24 #if $param_outpairs:
22 -algorithm:FeatureDeconvolution:retention_max_diff_local ${param_retention_max_diff_local} 25 -outpairs $param_outpairs
23 -algorithm:FeatureDeconvolution:mass_max_diff ${param_mass_max_diff} 26 #end if
24 -algorithm:FeatureDeconvolution:potential_adducts ${param_potential_adducts} 27 -threads \${GALAXY_SLOTS:-24}
25 -algorithm:FeatureDeconvolution:max_neutrals ${param_max_neutrals} 28 #if $param_algorithm_FeatureDeconvolution_charge_min:
26 -algorithm:FeatureDeconvolution:max_minority_bound ${param_max_minority_bound} 29 -algorithm:FeatureDeconvolution:charge_min $param_algorithm_FeatureDeconvolution_charge_min
27 -algorithm:FeatureDeconvolution:min_rt_overlap ${param_min_rt_overlap} 30 #end if
28 ${param_intensity_filter} 31 #if $param_algorithm_FeatureDeconvolution_charge_max:
32 -algorithm:FeatureDeconvolution:charge_max $param_algorithm_FeatureDeconvolution_charge_max
33 #end if
34 #if $param_algorithm_FeatureDeconvolution_charge_span_max:
35 -algorithm:FeatureDeconvolution:charge_span_max $param_algorithm_FeatureDeconvolution_charge_span_max
36 #end if
37 #if $param_algorithm_FeatureDeconvolution_q_try:
38 -algorithm:FeatureDeconvolution:q_try
39 #if &quot; &quot; in str($param_algorithm_FeatureDeconvolution_q_try):
40 &quot;$param_algorithm_FeatureDeconvolution_q_try&quot;
41 #else
42 $param_algorithm_FeatureDeconvolution_q_try
43 #end if
44 #end if
45 #if $param_algorithm_FeatureDeconvolution_retention_max_diff:
46 -algorithm:FeatureDeconvolution:retention_max_diff $param_algorithm_FeatureDeconvolution_retention_max_diff
47 #end if
48 #if $param_algorithm_FeatureDeconvolution_retention_max_diff_local:
49 -algorithm:FeatureDeconvolution:retention_max_diff_local $param_algorithm_FeatureDeconvolution_retention_max_diff_local
50 #end if
51 #if $param_algorithm_FeatureDeconvolution_mass_max_diff:
52 -algorithm:FeatureDeconvolution:mass_max_diff $param_algorithm_FeatureDeconvolution_mass_max_diff
53 #end if
54
55 #if $rep_param_algorithm_FeatureDeconvolution_potential_adducts:
56 -algorithm:FeatureDeconvolution:potential_adducts
57 #for token in $rep_param_algorithm_FeatureDeconvolution_potential_adducts:
58 #if &quot; &quot; in str(token):
59 &quot;$token.param_algorithm_FeatureDeconvolution_potential_adducts&quot;
60 #else
61 $token.param_algorithm_FeatureDeconvolution_potential_adducts
62 #end if
63 #end for
64 #end if
65 #if $param_algorithm_FeatureDeconvolution_max_neutrals:
66 -algorithm:FeatureDeconvolution:max_neutrals $param_algorithm_FeatureDeconvolution_max_neutrals
67 #end if
68 #if $param_algorithm_FeatureDeconvolution_max_minority_bound:
69 -algorithm:FeatureDeconvolution:max_minority_bound $param_algorithm_FeatureDeconvolution_max_minority_bound
70 #end if
71 #if $param_algorithm_FeatureDeconvolution_min_rt_overlap:
72 -algorithm:FeatureDeconvolution:min_rt_overlap $param_algorithm_FeatureDeconvolution_min_rt_overlap
73 #end if
74 #if $param_algorithm_FeatureDeconvolution_intensity_filter:
75 -algorithm:FeatureDeconvolution:intensity_filter
76 #end if
29 #if $adv_opts.adv_opts_selector=='advanced': 77 #if $adv_opts.adv_opts_selector=='advanced':
30 -algorithm:FeatureDeconvolution:default_map_label ${adv_opts.param_default_map_label} 78 #if $adv_opts.param_force:
31 -algorithm:FeatureDeconvolution:verbose_level ${adv_opts.param_verbose_level} 79 -force
80 #end if
81 #if $adv_opts.param_algorithm_FeatureDeconvolution_default_map_label:
82 -algorithm:FeatureDeconvolution:default_map_label &quot;$adv_opts.param_algorithm_FeatureDeconvolution_default_map_label&quot;
83 #end if
84 #if $adv_opts.param_algorithm_FeatureDeconvolution_verbose_level:
85 -algorithm:FeatureDeconvolution:verbose_level $adv_opts.param_algorithm_FeatureDeconvolution_verbose_level
86 #end if
32 #end if 87 #end if
33 </command> 88 </command>
34 <inputs> 89 <inputs>
35 <param name="param_in" type="data" format="featureXML" optional="False" label="input file " help="(-in)"/> 90 <param format="xml" help="(-in) " label="input file" name="param_in" optional="False" type="data"/>
36 <param name="param_charge_min" type="integer" value="1" label="Minimal possible charge" help="(-charge_min)"/> 91 <param help="(-charge_min) " label="Minimal possible charge" name="param_algorithm_FeatureDeconvolution_charge_min" type="integer" value="1"/>
37 <param name="param_charge_max" type="integer" value="10" label="Maximal possible charge" help="(-charge_max)"/> 92 <param help="(-charge_max) " label="Maximal possible charge" name="param_algorithm_FeatureDeconvolution_charge_max" type="integer" value="10"/>
38 <param name="param_charge_span_max" type="integer" min="1" optional="True" value="4" label="Maximal range of charges for a single analyte, i.e. observing q1=[5,6,7] implies span=3. Setting this to 1 will only find adduct variants of the same charge" help="(-charge_span_max)"/> 93 <param help="(-charge_span_max) observing q1=[5,6,7] implies span=3. Setting this to 1 will only find adduct variants of the same charge" label="Maximal range of charges for a single analyte, i.e" min="1" name="param_algorithm_FeatureDeconvolution_charge_span_max" optional="True" type="integer" value="4"/>
39 <param name="param_q_try" type="select" optional="True" value="feature" label="Try different values of charge for each feature according to the above settings ('heuristic' [does not test all charges, just the likely ones] or 'all' ), or leave feature charge untouched ('feature')." help="(-q_try)"> 94 <param help="(-q_try) " label="Try different values of charge for each feature according to the above settings ('heuristic' [does not test all charges, just the likely ones] or 'all' ), or leave feature charge untouched ('feature')" name="param_algorithm_FeatureDeconvolution_q_try" optional="True" type="select" value="feature">
40 <option value="feature">feature</option> 95 <option value="feature">feature</option>
41 <option value="heuristic">heuristic</option> 96 <option value="heuristic">heuristic</option>
42 <option value="all">all</option> 97 <option value="all">all</option>
43 </param> 98 </param>
44 <param name="param_retention_max_diff" type="float" value="1.0" label="Maximum allowed RT difference between any two features if their relation shall be determined" help="(-retention_max_diff)"/> 99 <param help="(-retention_max_diff) " label="Maximum allowed RT difference between any two features if their relation shall be determined" name="param_algorithm_FeatureDeconvolution_retention_max_diff" type="float" value="1.0"/>
45 <param name="param_retention_max_diff_local" type="float" value="1.0" label="Maximum allowed RT difference between between two co-features, after adduct shifts have been accounted for (if you do not have any adduct shifts, this value should be equal to 'retention_max_diff', otherwise it should be smaller!)" help="(-retention_max_diff_local)"/> 100 <param help="(-retention_max_diff_local) " label="Maximum allowed RT difference between between two co-features, after adduct shifts have been accounted for (if you do not have any adduct shifts, this value should be equal to 'retention_max_diff', otherwise it should be smaller!)" name="param_algorithm_FeatureDeconvolution_retention_max_diff_local" type="float" value="1.0"/>
46 <param name="param_mass_max_diff" type="float" value="0.5" label="Maximum allowed mass difference [in Th] for a single feature." help="(-mass_max_diff)"/> 101 <param help="(-mass_max_diff) " label="Maximum allowed mass difference [in Th] for a single feature" name="param_algorithm_FeatureDeconvolution_mass_max_diff" type="float" value="0.5"/>
47 <param name="param_potential_adducts" type="text" size="20" value="H+:0.9" label="Adducts used to explain mass differences in format: 'Element(+)*:Probability[:RTShift[:Label]]', i.e. the number of '+' indicate the charge, e.g. 'Ca++:0.5' indicates +2. Probabilites have to be in (0,1]. RTShift param is optional and indicates the expected RT shift caused by this adduct, e.g. '(2)H4H-4:1:-3' indicates a 4 deuterium label, which causes early elution by 3 seconds. As a fourth parameter you can add a label which is tagged on every feature which has this adduct. This also determines the map number in the consensus file." help="(-potential_adducts)"/> 102 <repeat max="1" min="0" name="rep_param_algorithm_FeatureDeconvolution_potential_adducts" title="param_algorithm_FeatureDeconvolution_potential_adducts">
48 <param name="param_max_neutrals" type="integer" value="0" label="Maximal number of neutral adducts(q=0) allowed. Add them in the 'potential_adducts' section!" help="(-max_neutrals)"/> 103 <param help="(-potential_adducts) e.g. 'Ca++:0.5' indicates +2. Probabilites have to be in (0,1]. RTShift param is optional and indicates the expected RT shift caused by this adduct, e.g. '(2)H4H-4:1:-3' indicates a 4 deuterium label, which causes early elution by 3 seconds. As a fourth parameter you can add a label which is tagged on every feature which has this adduct. This also determines the map number in the consensus file" label="Adducts used to explain mass differences in format: 'Element(+)*:Probability[:RTShift[:Label]]', i.e. the number of '+' indicate the charge," name="param_algorithm_FeatureDeconvolution_potential_adducts" size="30" type="text" value="H+:0.9">
49 <param name="param_max_minority_bound" type="integer" min="0" optional="True" value="2" label="Maximum count of the least probable adduct (according to 'potential_adducts' param) within a charge variant. E.g. setting this to 2 will not allow an adduct composition of '1(H+),3(Na+)' if Na+ is the least probable adduct" help="(-max_minority_bound)"/> 104 <sanitizer>
50 <param name="param_min_rt_overlap" type="float" min="0.0" max="1.0" optional="True" value="0.66" label="Minimum overlap of the convex hull' RT intersection measured against the union from two features (if CHs are given)" help="(-min_rt_overlap)"/> 105 <valid initial="string.printable">
51 <param name="param_intensity_filter" type="boolean" truevalue="-algorithm:FeatureDeconvolution:intensity_filter true" falsevalue="-algorithm:FeatureDeconvolution:intensity_filter false" checked="false" optional="True" label="Enable the intensity filter, which will only allow edges between two equally charged features if the intensity of the feature with less likely adducts is smaller than that of the other feature. It is not used for features of different charge." help="(-intensity_filter)"/> 106 <remove value="'"/>
52 <expand macro="advanced_options"> 107 <remove value="&quot;"/>
53 <param name="param_default_map_label" type="text" size="20" value="decharged features" label="Label of map in output consensus file where all features are put by default" help="(-default_map_label)"/> 108 </valid>
54 <param name="param_verbose_level" type="integer" min="0" max="3" optional="True" value="0" label="Amount of debug information given during processing." help="(-verbose_level)"/> 109 </sanitizer>
55 </expand> 110 </param>
56 </inputs> 111 </repeat>
57 <outputs> 112 <param help="(-max_neutrals) Add them in the 'potential_adducts' section!" label="Maximal number of neutral adducts(q=0) allowed" name="param_algorithm_FeatureDeconvolution_max_neutrals" type="integer" value="0"/>
58 <data name="param_out_cm" label="output consensus map" format="consensusXML"/> 113 <param help="(-max_minority_bound) E.g. setting this to 2 will not allow an adduct composition of '1(H+),3(Na+)' if Na+ is the least probable adduct" label="Maximum count of the least probable adduct (according to 'potential_adducts' param) within a charge variant" min="0" name="param_algorithm_FeatureDeconvolution_max_minority_bound" optional="True" type="integer" value="2"/>
59 <data name="param_out_fm" label="output feature map" format="featureXML"/> 114 <param help="(-min_rt_overlap) " label="Minimum overlap of the convex hull' RT intersection measured against the union from two features (if CHs are given)" max="1.0" min="0.0" name="param_algorithm_FeatureDeconvolution_min_rt_overlap" optional="True" type="float" value="0.66"/>
60 <data name="param_outpairs" label="output file" format="consensusXML"/> 115 <param checked="false" falsevalue="" help="(-intensity_filter) It is not used for features of different charge" label="Enable the intensity filter, which will only allow edges between two equally charged features if the intensity of the feature with less likely adducts is smaller than that of the other feature" name="param_algorithm_FeatureDeconvolution_intensity_filter" optional="True" truevalue="-algorithm:FeatureDeconvolution:intensity_filter" type="boolean"/>
61 </outputs> 116 <expand macro="advanced_options">
62 <help>**What it does** 117 <param checked="false" falsevalue="" help="(-force) " label="Overwrite tool specific checks" name="param_force" optional="True" truevalue="-force" type="boolean"/>
63 118 <param help="(-default_map_label) " label="Label of map in output consensus file where all features are put by default" name="param_algorithm_FeatureDeconvolution_default_map_label" size="30" type="text" value="decharged features">
64 Decharges and merges different feature charge variants of the same peptide. 119 <sanitizer>
120 <valid initial="string.printable">
121 <remove value="'"/>
122 <remove value="&quot;"/>
123 </valid>
124 </sanitizer>
125 </param>
126 <param help="(-verbose_level) " label="Amount of debug information given during processing" max="3" min="0" name="param_algorithm_FeatureDeconvolution_verbose_level" optional="True" type="integer" value="0"/>
127 </expand>
128 </inputs>
129 <outputs>
130 <data format="consensusxml" name="param_out_cm"/>
131 <data format="xml" name="param_out_fm"/>
132 <data format="consensusxml" name="param_outpairs"/>
133 </outputs>
134 <help>Decharges and merges different feature charge variants of the same peptide.
65 135
66 136
67 For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/TOPP_Decharger.html 137 For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/TOPP_Decharger.html</help>
68 138 </tool>
69 @REFERENCES@
70 </help>
71 </tool>