Mercurial > repos > galaxyp > thermo_raw_file_converter
changeset 1:15d2a50acaeb draft
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/ThermoRawfileParser commit a9276f2d097976168059eb91e18cf280ef7a45bb
author | galaxyp |
---|---|
date | Fri, 21 Sep 2018 18:49:31 -0400 |
parents | 00c4b28150bd |
children | edbeb2956484 |
files | thermo_converter.xml |
diffstat | 1 files changed, 17 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/thermo_converter.xml Fri Sep 14 18:04:17 2018 -0400 +++ b/thermo_converter.xml Fri Sep 21 18:49:31 2018 -0400 @@ -11,7 +11,7 @@ ThermoRawFileParser.sh -i=input.raw -o=./ - -f=1 + -f=$output_format #if $metadata: --metadata=1 #end if @@ -21,9 +21,17 @@ <param name="input" type="data" format="thermo.raw" label="Thermo RAW file" help="" /> <param name="metadata" type="boolean" truevalue="" falsevalue="" checked="False" label="Output metadata" help="" /> + <param name="output_format" type="select" label="Choose an output format"> + <option value="0">mgf</option> + <option value="1" selected="True">mzml</option> + </param> </inputs> <outputs> - <data format="mzml" name="output" from_work_dir="input.mzML" label="${tool.name} on ${on_string}" /> + <data format="mzml" name="output" from_work_dir="input.mzML" label="${tool.name} on ${on_string}"> + <change_format> + <when input="output_format" value="0" format="mgf" /> + </change_format> + </data> <data format="txt" name="output_metadata" from_work_dir="input-metadata.txt" label="${tool.name} on ${on_string}: Metadata"> <filter>metadata</filter> </data> @@ -35,6 +43,13 @@ <has_text text="ThermoRawFileParser.sh"/> </assert_command> </test> + <test> + <param name="input" value="fake_input.txt"/> + <param name="output_format" value="0"/> + <assert_command> + <has_text text="-f=0"/> + </assert_command> + </test> </tests> <help> <![CDATA[