diff ident_params.xml @ 61:3ec27b4cee7c draft default tip

"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit fc2810c412d9954fa584ae74497562b986c52764"
author galaxyp
date Thu, 12 Aug 2021 14:06:52 +0000
parents 943a34df6047
children
line wrap: on
line diff
--- a/ident_params.xml	Tue Jul 20 08:55:11 2021 +0000
+++ b/ident_params.xml	Thu Aug 12 14:06:52 2021 +0000
@@ -525,7 +525,13 @@
 
             ## SPECTRUM ANNOTATION
             -annotation_level $advanced_options.spectrum_annotation_options.annotation_level
+
+            ## if the user modifies fragment_tol but he does not modify annotation_mz_tolerance,
+            ## we must overwrite default annotation_mz_tolerance value with fragment_tol value
+
+            #if not ($spectrum_matching_options.fragment_tol != 0.5 and $advanced_options.spectrum_annotation_options.annotation_mz_tolerance == 0.5)
             -annotation_mz_tolerance $advanced_options.spectrum_annotation_options.annotation_mz_tolerance
+            #end if
             -annotation_high_resolution $advanced_options.spectrum_annotation_options.annotation_high_resolution
             ## TODO: There are still many options from the GUI to be incorporated to the CLI
 
@@ -1203,9 +1209,9 @@
                             </param>
                             <param name="comet_isotope_correction" label="Comet: Isotope Correction" type="select" help="Controls whether the peptide_mass_tolerance takes into account possible isotope errors in the precursor mass measurement">
                                 <option value="0">off</option>
-                                <option value="1" selected="True">0,+1</option>
+                                <option value="1">0,+1</option>
                                 <option value="2">0,+1,+2</option>
-                                <option value="3">0,+1,+2,+3</option>
+                                <option value="3" selected="True">0,+1,+2,+3</option>
                                 <option value="4">-8,-4,0,+4,+8</option>
                             </param>
                             <param name="comet_min_prec_mass"  type="float" value="600.0"
@@ -1237,7 +1243,7 @@
                                 <option value="0" selected="True">Summed intensities + flanking</option>
                                 <option value="1">Summed intensities</option>
                             </param>
-                            <param name="comet_frag_bin_offset"  type="float" value="0.01"
+                            <param name="comet_frag_bin_offset"  type="float" value="0"
                                 label="Comet: Fragment Bin Offset" help="Controls how each fragment bin is defined in terms of where each bin starts" />
                         </when>
                     </conditional>
@@ -1706,7 +1712,7 @@
                 <param name="annotation_level" label="Percent of the possible annotations relative to the most intensive peak" help="The intensity percentile to consider for annotation, e.g. 0.75 means that the 25% most intense peaks will be annotated, default is 0.75." value="0.75" type="float">
                     <validator type="in_range" min="0" max="1" />
                 </param>
-                <param name="annotation_mz_tolerance" label="Fragment ion annotation accuracy" help=" The m/z tolerance to annotate peaks, default is equal to the search settings MS2 tolerance." value="10" type="float" />
+                <param name="annotation_mz_tolerance" label="Fragment ion annotation accuracy" help=" The m/z tolerance to annotate peaks, default is equal to the search settings MS2 tolerance." value="0.5" type="float" />
                 <param name="annotation_high_resolution" label="High resolution" help="The most accurate peak will be selected within the m/z tolerance if chosen" truevalue="1" falsevalue="0" checked="true" type="boolean"/>
             </section>
 
@@ -1851,7 +1857,7 @@
                     </param>
                     <when value="no" />
                     <when value="yes">
-                        <param name="decoy_tag" type="text" value="-REVERSED" label="The decoy flag">
+                        <param name="decoy_tag" type="text" value="_REVERSED" label="The decoy flag">
                         </param>
                         <param name="decoy_type" type="select" label="Location of the decoy flag: prefix or suffix">
                             <option value="0">Prefix</option>