view analysis_add_analysis.xml @ 5:fa035088afe6 draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 35c5eff77b573a66f3611b4906417df9a440c857
author gga
date Tue, 05 Mar 2019 05:26:06 -0500
parents f8dab3351d1b
children
line wrap: on
line source

<?xml version="1.0"?>
<tool id="analysis_add_analysis" profile="16.04" name="Create an analysis" version="@WRAPPER_VERSION@.0">
    <description>in Tripal</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements">
        <requirement type="package" version="1.5">jq</requirement>
    </expand>
    <expand macro="stdio"/>
    <command><![CDATA[

        @AUTH@

        tripaille analysis add_analysis

            @ANALYSIS@

            | jq -S . > '$results'
    ]]></command>
    <inputs>
        <expand macro="analysis" />
    </inputs>
    <outputs>
        <data format="json" name="results" label="New Tripal analysis" />
    </outputs>
    <tests>
        <test expect_failure="true">
            <section name="analysis">
                <param name="name" value="Some analysis" />
                <param name="program" value="blastp" />
                <param name="program_version" value="2.5.0" />
                <param name="algorithm" value="blast" />
                <param name="source" value="NCBI" />
                <param name="source_version" value="1.0" />
                <param name="source_uri" value="http://ncbi.com/somewhere" />
                <param name="description" value="My cool new test analysis" />
                <param name="date" value="2016-12-12" />
            </section>

            <expand macro="test_result" />
        </test>
    </tests>
    <help><![CDATA[
        @HELP_OVERVIEW@

        **Create Analysis**

        With this tool, you can create a new analysis in the Tripal/Chado database.

        Keep in mind that you cannot add multiple analysis with the same program, program version and source.

        @HELP@
    ]]></help>
    <expand macro="citation"/>
</tool>