view hyphy_conv.xml @ 11:beeeed9665ea draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit e7a89841d59689e87db592e112f9c8fb5331d954
author iuc
date Thu, 02 Mar 2023 15:10:54 +0000
parents 079ea2eb9ae4
children
line wrap: on
line source

<tool id="hyphy_conv" name="HyPhy-Conv" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
    <description>translate an in-frame codon alignment to proteins</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements"/>
    <command detect_errors="exit_code"><![CDATA[
        cp '$input_file' conv_input.fa &&
        hyphy conv
            '$gencodeid'
            '$deletions'
            conv_input.fa
            aa.nex
        @ERRORS@
    ]]></command>
    <inputs>
        <param name="input_file" type="data" format="fasta" label="Input codon alignment"/>
        <expand macro="gencode"/>
        <param name="deletions" type="boolean" truevalue="Keep Deletions" falsevalue="Skip Deletions" label="Keep deletions" help="If this is checked, deletions will be left in the output file"/>
    </inputs>
    <outputs>
        <data name="proteins" format="nex" from_work_dir="aa.nex" />
    </outputs>
    <tests>
        <test>
            <param name="input_file" ftype="fasta" value="conv-in1.fa"/>
            <param name="deletions" value="Keep Deletions" />
            <output name="proteins" file="conv-out1.nex" />
        </test>
    </tests>
    <help><![CDATA[
HyPhy-CONV: Translate an in-frame codon alignment to proteins
=============================================================

This tool takes a codon-aligned fasta file and outputs the amino acid sequence
it represents, with the option to keep or skip deletions in the input file.
]]>
    </help>
    <expand macro="citations" />
</tool>