view macros.xml @ 15:41db7569b4ba draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trinity commit 1d443e73d2eb888660bbbc7af198f5bcca9c1a70
author iuc
date Tue, 11 Apr 2023 19:48:34 +0000
parents 34840e9c79b0
children
line wrap: on
line source

<macros>
    <xml name="requirements">
        <requirements>
            <requirement type="package" version="@TOOL_VERSION@">trinity</requirement>
            <yield/>
        </requirements>
    </xml>
    <xml name="bio_tools">
        <xrefs>
            <xref type="bio.tools">trinity</xref>
        </xrefs>
    </xml>
    <token name="@TOOL_VERSION@">2.15.1</token>
    <token name="@VERSION_SUFFIX@">0</token>

    <token name="@COMMAND_PAIRED_STRAND_JACCARD@">
        #if $pool.inputs.strand.is_strand_specific == 'true':
            --SS_lib_type $pool.inputs.strand.library_type
        #end if

        $pool.inputs.jaccard_clip
    </token>

    <xml name="input_paired_strand_jaccard">
        <conditional name="strand">
            <param name="is_strand_specific" type="select" label="Strand specific data">
                <option value="false">No</option>
                <option value="true">Yes</option>
            </param>
            <when value="false" />
            <when value="true">
                <param name="library_type" argument="--SS_lib_type" type="select" label="Strand-specific library type">
                    <option value="FR">Forward-Reverse</option>
                    <option value="RF">Reverse-Forward</option>
                </param>
            </when>
        </conditional>
        <param argument="--jaccard_clip" type="boolean" truevalue="--jaccard_clip" falsevalue="" checked="false" label="Jaccard Clip options" help="Set if you expect high gene density with UTR overlap"/>
    </xml>

    <xml name="is_strand_specific_f_r">
        <conditional name="strand">
            <param name="is_strand_specific" type="select" label="Strand specific data">
                <option value="false">No</option>
                <option value="true">Yes</option>
            </param>
            <when value="false"/>
            <when value="true">
                <param name="library_type" argument="--SS_lib_type" type="select" label="Strand-specific Library Type">
                    <option value="F">F</option>
                    <option value="R">R</option>
                </param>
            </when>
        </conditional>
    </xml>

    <xml name="citation">
        <citations>
            <citation type="doi">10.1038/nbt.1883</citation>
        </citations>
    </xml>
</macros>