view thermo_converter.xml @ 0:00c4b28150bd draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/ThermoRawfileParser commit f211dc8467604ef106cc85b4c68aec5707a24c6d
author galaxyp
date Fri, 14 Sep 2018 18:04:17 -0400
parents
children 15d2a50acaeb
line wrap: on
line source

<tool id="thermo_raw_file_converter" name="Thermo" version="0.0.1">
    <description>RAW file converter (beta)</description>
    <requirements>
        <requirement type="package" version="0.0.2018.09.07">ThermoRawFileParser</requirement>
    </requirements>
    <command>
<![CDATA[

ln -s '$input' ./input.raw &&

ThermoRawFileParser.sh
    -i=input.raw
    -o=./
    -f=1
    #if $metadata:
        --metadata=1
    #end if
]]>
    </command>
    <inputs>
        <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="" />
    </inputs>
    <outputs>
        <data format="mzml" name="output" from_work_dir="input.mzML" label="${tool.name} on ${on_string}" />
        <data format="txt" name="output_metadata" from_work_dir="input-metadata.txt" label="${tool.name} on ${on_string}: Metadata">
            <filter>metadata</filter>
        </data>
    </outputs>
    <tests>
        <test>
            <param name="input" value="fake_input.txt"/>
            <assert_command>
                <has_text text="ThermoRawFileParser.sh"/>
            </assert_command>
        </test>
    </tests>
    <help>
<![CDATA[

Thermo RAW file converter based on the great `ThermoRawFileParser <https://github.com/compomics/ThermoRawFileParser>`_ project.

]]>
    </help>
    <citations>
        <citation type="bibtex">@misc{Galaxy Proteomics Tools,
        author = {Niels Hulstaert, et al.},
        title = {Galaxy Proteomics Tools},
        publisher = {GitHub},
        journal = {GitHub repository},
        year = {2017}, url = {https://github.com/compomics/ThermoRawFileParser}}
        </citation>
    </citations>
</tool>