view macros.xml @ 6:982d690f4e8c draft

planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
author lecorguille
date Mon, 04 Jul 2016 08:46:02 -0400
parents 2db1d1d0f131
children 5c37c1d214a2
line wrap: on
line source

<?xml version="1.0"?>
<macros>
    <xml name="requirements">
        <requirements>
            <requirement type="package" version="3.1.2">R</requirement>
            <requirement type="package" version="0.4_1">r-snow</requirement>
            <requirement type="package" version="1.46.0">bioconductor-xcms</requirement>
            <requirement type="package" version="1.1_4">r-batch</requirement>
        </requirements>
    </xml>
    <xml name="stdio">
        <stdio>
            <exit_code range="1" level="fatal" />
        </stdio>
    </xml>

    <token name="@COMMAND_XCMS_SCRIPT@">
        LANG=C Rscript $__tool_directory__/xcms.r
    </token>

    <token name="@COMMAND_LOG_EXIT@">
        ;
        return=\$?;
        mv log.txt $log;
        cat $log;
        sh -c "exit \$return"
    </token>

    <!-- zipfile load for planemo test -->

    <token name="@COMMAND_ZIPFILE_LOAD@">
        #if $zipfile_load_conditional.zip_file:
            zipfile $zipfile_load_conditional.zip_file
        #end if
    </token>

    <xml name="zipfile_load">
        <conditional name="zipfile_load_conditional">
            <param name="zipfile_load_select" type="select" label="Resubmit your zip file" help="Use only if you get a message which say that your original zip file have been deleted on the server." >
                <option value="no" >no need</option>
                <option value="yes" selected="peakgroups">yes</option>
            </param>
            <when value="no">
            </when>
            <when value="yes">
                <param name="zip_file" type="data" format="no_unzip.zip,zip" label="Zip file" />
            </when>
        </conditional>
    </xml>



    <token name="@HELP_AUTHORS@">
.. class:: infomark

**Authors**  Colin A. Smith csmith@scripps.edu, Ralf Tautenhahn rtautenh@gmail.com, Steffen Neumann sneumann@ipb-halle.de, Paul Benton hpaul.benton08@imperial.ac.uk and Christopher Conley cjconley@ucdavis.edu 

.. class:: infomark

**Galaxy integration** ABiMS TEAM - UPMC/CNRS - Station biologique de Roscoff and Yann Guitton yann.guitton@oniris-nantes.fr - part of Workflow4Metabolomics.org [W4M]

 | Contact support@workflow4metabolomics.org for any questions or concerns about the Galaxy implementation of this tool.

---------------------------------------------------

    </token>


    <xml name="citation">
        <citations>
            <citation type="doi">10.1021/ac051437y</citation>
            <citation type="doi">10.1093/bioinformatics/btu813</citation>
        </citations>
    </xml>
</macros>