view MassCalculator.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
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 CTD2Galaxy.-->
  <!--Proposed Tool Section: [Utilities]-->
  <tool id="MassCalculator" name="MassCalculator" version="2.0.0">
    <description>Calculates masses and mass-to-charge ratios of peptide sequences</description>
    <macros>
      <token name="@EXECUTABLE@">MassCalculator</token>
      <import>macros.xml</import>
    </macros>
    <expand macro="references"/>
    <expand macro="stdio"/>
    <expand macro="requirements"/>
    <command>MassCalculator

#if $param_in:
  -in $param_in
#end if

#if $rep_param_in_seq:
-in_seq
  #for token in $rep_param_in_seq:
    #if &quot; &quot; in str(token):
      &quot;$token.param_in_seq&quot;
    #else
      $token.param_in_seq
    #end if
  #end for
#end if
#if $param_out:
  -out $param_out
#end if

#if $rep_param_charge:
-charge
  #for token in $rep_param_charge:
    #if &quot; &quot; in str(token):
      &quot;$token.param_charge&quot;
    #else
      $token.param_charge
    #end if
  #end for
#end if
#if $param_format:
  -format
  #if &quot; &quot; in str($param_format):
    &quot;$param_format&quot;
  #else
    $param_format
  #end if
#end if
#if $param_average_mass:
  -average_mass
#end if
#if $param_fragment_type:
  -fragment_type
  #if &quot; &quot; in str($param_fragment_type):
    &quot;$param_fragment_type&quot;
  #else
    $param_fragment_type
  #end if
#end if
#if $param_separator:
  -separator     &quot;$param_separator&quot;
#end if
-threads \${GALAXY_SLOTS:-24}
#if $adv_opts.adv_opts_selector=='advanced':
    #if $adv_opts.param_force:
  -force
#end if
#end if
</command>
    <inputs>
      <param format="txt" help="(-in) " label="Input file with peptide sequences and optionally charge numbers (mutually exclusive to 'in_seq')" name="param_in" optional="True" type="data"/>
      <repeat min="0" name="rep_param_in_seq" title="param_in_seq">
        <param help="(-in_seq) " label="List of peptide sequences (mutually exclusive to 'in')" name="param_in_seq" size="30" type="text">
          <sanitizer>
            <valid initial="string.printable">
              <remove value="'"/>
              <remove value="&quot;"/>
            </valid>
          </sanitizer>
        </param>
      </repeat>
      <repeat max="1" min="0" name="rep_param_charge" title="param_charge">
        <param help="(-charge) " label="List of charge states; required if 'in_seq' is given" name="param_charge" size="30" type="text" value="0">
          <sanitizer>
            <valid initial="string.printable">
              <remove value="'"/>
              <remove value="&quot;"/>
            </valid>
          </sanitizer>
        </param>
      </repeat>
      <param help="(-format) " label="Output format ('list': human-readable list, 'table': CSV-like table, 'mass_only': mass values only, 'mz_only': m/z values only)" name="param_format" optional="True" type="select" value="list">
        <option value="list">list</option>
        <option value="table">table</option>
        <option value="mass_only">mass_only</option>
        <option value="mz_only">mz_only</option>
      </param>
      <param checked="false" falsevalue="" help="(-average_mass) " label="Compute average (instead of monoisotopic) peptide masses" name="param_average_mass" optional="True" truevalue="-average_mass" type="boolean"/>
      <param help="(-fragment_type) " label="For what type of sequence/fragment the mass should be computed" name="param_fragment_type" optional="True" type="select" value="full">
        <option value="full">full</option>
        <option value="internal">internal</option>
        <option value="N-terminal">N-terminal</option>
        <option value="C-terminal">C-terminal</option>
        <option value="a-ion">a-ion</option>
        <option value="b-ion">b-ion</option>
        <option value="c-ion">c-ion</option>
        <option value="x-ion">x-ion</option>
        <option value="y-ion">y-ion</option>
        <option value="z-ion">z-ion</option>
      </param>
      <param help="(-separator) " label="Field separator for 'table' output format; by default, the 'tab' character is used" name="param_separator" size="30" type="text">
        <sanitizer>
          <valid initial="string.printable">
            <remove value="'"/>
            <remove value="&quot;"/>
          </valid>
        </sanitizer>
      </param>
      <expand macro="advanced_options">
        <param checked="false" falsevalue="" help="(-force) " label="Overwrite tool specific checks" name="param_force" optional="True" truevalue="-force" type="boolean"/>
      </expand>
    </inputs>
    <outputs>
      <data format="txt" name="param_out"/>
    </outputs>
    <help>Calculates masses and mass-to-charge ratios of peptide sequences


For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/UTILS_MassCalculator.html</help>
  </tool>