Mercurial > repos > galaxyp > mgf_formatter
diff mgf_formatter.xml @ 0:e5ab158e482b draft
Initial upload.
author | galaxyp |
---|---|
date | Fri, 10 May 2013 10:40:10 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mgf_formatter.xml Fri May 10 10:40:10 2013 -0400 @@ -0,0 +1,45 @@ +<tool id="mgf_formatter" name="MGF Formatter" version="0.1.0"> + <description>convert peak lists into MGF files formatted for particular downstream applications.</description> + + <command> + MgfFormatter --mgf_format $mgf_format --output '$output' $itraq_filter + #if $type.input_type == "mgf" + $type.split_multiple_charge_states + #end if + $type.inputs + </command> + <inputs> + <conditional name="type"> + <param name="input_type" type="select" label="Input Type"> + <option value="mzml">mzML</option> + <option value="mzxml">mzXML</option> + <option value="mgf">MGF</option> + </param> + <when value="mzml"> + <param format="mzml" name="inputs" type="data" label="Input mzML" /> + </when> + <when value="mzxml"> + <param format="mzxml" name="inputs" type="data" label="Input mzXML" /> + </when> + <when value="mgf"> + <param format="mgf" name="inputs" type="data" label="Input MGF" /> + <param type="boolean" name="split_multiple_charge_states" label="Split up scans with multiple charge states specified in MGF." truevalue="" falsevalue="--no_split_multiple_charge_states" checked="true" /> + </when> + </conditional> + <param name="mgf_format" type="select" label="MGF Format"> + <option value="DEFAULT">Mascot (default, probably should use msconvert instead)</option> + <option value="PROTEIN_PILOT">ProteinPilot</option> + <option value="MS2PREPROC">ms2preproc</option> + <option value="MSM">MSM</option> + </param> + <param name="itraq_filter" type="boolean" label="Preselect iTRAQ reporter ions" help="Recent versions of ProteinPilot fail to find the correct report ions, this tool filters out extra peaks in that region to circumvent this bug if this is checked. This is an advanced option and should only be checked if you are certain you want it." truevalue="--itraq_filter" falsevalue="" /> + </inputs> + <outputs> + <data format="mgf" name="output" label="${mgf_format.value_label.split()[0]} formatted MGF of ${on_string}" /> + </outputs> + <requirements> + <requirement type="package">tint_proteomics_scripts</requirement> + </requirements> + <help> + </help> +</tool>