view dnds.xml @ 9:18aad692772a draft default tip

planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
author nml
date Mon, 20 Jun 2022 20:06:36 +0000
parents 9def47f3c1e4
children
line wrap: on
line source

<tool id="dnds" name="dNdS Report" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
    <description>Calculate the dN/dS value for each region in a bed file</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements"/>
    <command detect_errors="exit_code"><![CDATA[

        quasitools dnds $csv_file $ref_file $offset -o output.csv

    ]]></command>
    <inputs>
        <param name="csv_file" type="data" format="csv" optional="false" label="CSV file" />
        <param name="ref_file" type="data" format="fasta" optional="false" label="Reference file" />
        <param name="offset" type="integer" optional="false" label="Offset" min="0" value="0"/>
    </inputs>
    <outputs>
        <data format="csv" name="output" from_work_dir="output.csv" />
    </outputs>
    <tests>
        <test>
            <param name="csv_file" value="mutant_types.csv" />
            <param name="ref_file" value="hxb2_pol.fas" />
            <output name="output" ftype="csv" >
                <assert_contents>
                    <has_text_matching expression="#gene,pn,ps,pn_sites,ps_sites,dn/ds"/>
                    <has_text text="RT,0.0334,0.0111,1,1,3.0539" />
                </assert_contents>
            </output>
        </test>
    </tests>
    <help><![CDATA[

dNdS Report
===================

Determines the dNdS ratio for each codon variant in a supplied csv file (codon variants).

    ]]></help>
    <expand macro="citations" />
</tool>