view analysis_add_analysis.xml @ 6:34cbef67b803 draft default tip

"planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit ea279e5b47cf3d5767328d17b0e40e57b0238ea1"
author gga
date Wed, 14 Aug 2019 10:03:06 -0400
parents fa035088afe6
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>