view macros.xml @ 11:91311aa08cdc draft

planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 08e7f269a5c59687a7768be8db5fcb4e4d736093
author lecorguille
date Mon, 30 Jan 2017 08:52:59 -0500
parents 5590b80e6e13
children 15646e937936
line wrap: on
line source

<?xml version="1.0"?>
<macros>
    <xml name="requirements">
        <requirements>
            <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.zipfile_load_select == "yes":
            #if $zipfile_load_conditional.zip_file:
                zipfile $zipfile_load_conditional.zip_file
            #end if
        #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">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>