view FeatureFinderSuperHirn.xml @ 13:6b6f5338c01c draft

"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 55a2aeba8bfd8a6910630721de9857dcdfe05d3c"
author galaxyp
date Tue, 13 Oct 2020 20:17:46 +0000
parents f35d5aa5d58a
children
line wrap: on
line source

<?xml version='1.0' encoding='UTF-8'?>
<!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTDConverter.-->
<!--Proposed Tool Section: [Quantitation]-->
<tool id="FeatureFinderSuperHirn" name="FeatureFinderSuperHirn" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@" profile="20.05">
  <description>Finds mass spectrometric features in mass spectra.</description>
  <macros>
    <token name="@EXECUTABLE@">FeatureFinderSuperHirn</token>
    <import>macros.xml</import>
    <import>macros_autotest.xml</import>
    <import>macros_test.xml</import>
  </macros>
  <expand macro="requirements"/>
  <expand macro="stdio"/>
  <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@
@EXT_FOO@
#import re

## Preprocessing
mkdir in &&
ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' &&
mkdir out &&

## Main program call

set -o pipefail &&
@EXECUTABLE@ -write_ctd ./ &&
python3 '$__tool_directory__/fill_ctd.py' '@EXECUTABLE@.ctd' '$args_json' '$hardcoded_json' &&
@EXECUTABLE@ -ini @EXECUTABLE@.ctd
-in
'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)'
-out
'out/output.${gxy2omsext("featurexml")}'

## Postprocessing
&& mv 'out/output.${gxy2omsext("featurexml")}' '$out'
#if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS
  && mv '@EXECUTABLE@.ctd' '$ctd_out'
#end if]]></command>
  <configfiles>
    <inputs name="args_json" data_style="paths"/>
    <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile>
  </configfiles>
  <inputs>
    <param name="in" argument="-in" type="data" format="mzml" optional="false" label="input profile data file" help=" select mzml data sets(s)"/>
    <section name="algorithm" title="Algorithm parameters section" help="" expanded="false">
      <section name="centroiding" title="" help="" expanded="false">
        <param name="active" argument="-algorithm:centroiding:active" type="boolean" truevalue="true" falsevalue="false" checked="false" label="MS1 data centroid data" help=""/>
        <param name="window_width" argument="-algorithm:centroiding:window_width" type="integer" optional="true" min="1" value="5" label="Centroid window width" help=""/>
        <param name="absolute_isotope_mass_precision" argument="-algorithm:centroiding:absolute_isotope_mass_precision" type="float" optional="true" min="0.0" value="0.01" label="Absolute isotope mass precision (Da)" help=""/>
        <param name="relative_isotope_mass_precision" argument="-algorithm:centroiding:relative_isotope_mass_precision" type="float" optional="true" min="0.0" value="10.0" label="Relative isotope mass precision" help=""/>
        <param name="minimal_peak_height" argument="-algorithm:centroiding:minimal_peak_height" type="float" optional="true" min="0.0" value="0.0" label="Minimal peak height" help=""/>
        <param name="min_ms_signal_intensity" argument="-algorithm:centroiding:min_ms_signal_intensity" type="float" optional="true" min="0.0" value="50.0" label="Minimal Centroid MS Signal Intensity" help=""/>
      </section>
      <section name="ms1" title="" help="" expanded="false">
        <param name="precursor_detection_scan_levels" argument="-algorithm:ms1:precursor_detection_scan_levels" type="text" optional="true" value="1" label="Precursor detection scan levels" help=" (space separated list, in order to allow for spaces in list items surround them by single quotes)">
          <expand macro="list_integer_valsan"/>
        </param>
        <param name="max_inter_scan_distance" argument="-algorithm:ms1:max_inter_scan_distance" type="integer" optional="true" min="0" value="0" label="MS1 max inter scan distance" help=""/>
        <param name="tr_resolution" argument="-algorithm:ms1:tr_resolution" type="float" optional="true" min="0.0" value="0.01" label="MS1 LC retention time resolution" help=""/>
        <param name="intensity_threshold" argument="-algorithm:ms1:intensity_threshold" type="float" optional="true" min="0.0" value="1000.0" label="FT peak detect MS1 intensity min threshold" help=""/>
        <param name="max_inter_scan_rt_distance" argument="-algorithm:ms1:max_inter_scan_rt_distance" type="float" optional="true" min="0.0" value="0.1" label="MS1 max inter scan distance" help=""/>
        <param name="min_nb_cluster_members" argument="-algorithm:ms1:min_nb_cluster_members" type="integer" optional="true" min="0" value="4" label="FT peak detect MS1 min nb peak members" help=""/>
        <param name="detectable_isotope_factor" argument="-algorithm:ms1:detectable_isotope_factor" type="float" optional="true" min="0.0" value="0.05" label="Detectable isotope facto" help=""/>
        <param name="intensity_cv" argument="-algorithm:ms1:intensity_cv" type="float" optional="true" min="0.0" value="0.9" label="IntensityCV" help=""/>
        <param name="retention_time_tolerance" argument="-algorithm:ms1:retention_time_tolerance" type="float" optional="true" min="0.0" value="0.5" label="MS1 retention time tolerance (minutes)" help=""/>
        <param name="mz_tolerance" argument="-algorithm:ms1:mz_tolerance" type="float" optional="true" min="0.0" value="0.0" label="MS1 m/z tolerance (ppm)" help=""/>
      </section>
      <section name="ms1_feature_merger" title="" help="" expanded="false">
        <param name="active" argument="-algorithm:ms1_feature_merger:active" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Activation of MS1 feature merging post processing" help=""/>
        <param name="tr_resolution" argument="-algorithm:ms1_feature_merger:tr_resolution" type="float" optional="true" min="0.0" value="0.01" label="MS1 LC retention time resolution" help=""/>
        <param name="initial_apex_tr_tolerance" argument="-algorithm:ms1_feature_merger:initial_apex_tr_tolerance" type="float" optional="true" min="0.0" value="5.0" label="Initial Apex Tr tolerance" help=""/>
        <param name="feature_merging_tr_tolerance" argument="-algorithm:ms1_feature_merger:feature_merging_tr_tolerance" type="float" optional="true" min="0.0" value="1.0" label="MS1 feature Tr merging tolerance" help=""/>
        <param name="intensity_variation_percentage" argument="-algorithm:ms1_feature_merger:intensity_variation_percentage" type="float" optional="true" min="0.0" max="100.0" value="25.0" label="Percentage of intensity variation between LC border peaks" help=""/>
        <param name="ppm_tolerance_for_mz_clustering" argument="-algorithm:ms1_feature_merger:ppm_tolerance_for_mz_clustering" type="float" optional="true" min="0.0" value="10.0" label="PPM value for the m/z clustering of merging candidates" help=""/>
      </section>
      <section name="ms1_feature_selection_options" title="" help="" expanded="false">
        <param name="start_elution_window" argument="-algorithm:ms1_feature_selection_options:start_elution_window" type="float" optional="true" min="0.0" value="0.0" label="start elution window (minutes)" help=""/>
        <param name="end_elution_window" argument="-algorithm:ms1_feature_selection_options:end_elution_window" type="float" optional="true" min="0.0" value="180.0" label="end elution window (minutes)" help=""/>
        <param name="mz_range_min" argument="-algorithm:ms1_feature_selection_options:mz_range_min" type="float" optional="true" min="0.0" value="0.0" label="MS1 feature mz range min" help=""/>
        <param name="mz_range_max" argument="-algorithm:ms1_feature_selection_options:mz_range_max" type="float" optional="true" min="0.0" value="2000.0" label="MS1 feature mz range max" help=""/>
        <param name="chrg_range_min" argument="-algorithm:ms1_feature_selection_options:chrg_range_min" type="integer" optional="true" min="0" value="1" label="MS1 feature CHRG range min" help=""/>
        <param name="chrg_range_max" argument="-algorithm:ms1_feature_selection_options:chrg_range_max" type="integer" optional="true" min="0" value="5" label="MS1 feature CHRG range max" help=""/>
      </section>
    </section>
    <expand macro="adv_opts_macro">
      <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/>
      <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help="">
        <expand macro="list_string_san"/>
      </param>
    </expand>
    <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs">
      <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option>
    </param>
  </inputs>
  <outputs>
    <data name="out" label="${tool.name} on ${on_string}: out" format="featurexml"/>
    <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd">
      <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
    </data>
  </outputs>
  <tests>
    <expand macro="autotest_FeatureFinderSuperHirn"/>
    <expand macro="manutest_FeatureFinderSuperHirn"/>
  </tests>
  <help><![CDATA[Finds mass spectrometric features in mass spectra.


For more information, visit https://abibuilder.informatik.uni-tuebingen.de/archive/openms/Documentation/release/2.6.0/html/UTILS_FeatureFinderSuperHirn.html]]></help>
  <expand macro="references"/>
</tool>