comparison dnds.xml @ 0:1f1214983a1c draft default tip

planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
author nml
date Mon, 20 Jun 2022 20:05:57 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1f1214983a1c
1 <tool id="dnds" name="dNdS Report" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
2 <description>Calculate the dN/dS value for each region in a bed file</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements"/>
7 <command detect_errors="exit_code"><![CDATA[
8
9 quasitools dnds $csv_file $ref_file $offset -o output.csv
10
11 ]]></command>
12 <inputs>
13 <param name="csv_file" type="data" format="csv" optional="false" label="CSV file" />
14 <param name="ref_file" type="data" format="fasta" optional="false" label="Reference file" />
15 <param name="offset" type="integer" optional="false" label="Offset" min="0" value="0"/>
16 </inputs>
17 <outputs>
18 <data format="csv" name="output" from_work_dir="output.csv" />
19 </outputs>
20 <tests>
21 <test>
22 <param name="csv_file" value="mutant_types.csv" />
23 <param name="ref_file" value="hxb2_pol.fas" />
24 <output name="output" ftype="csv" >
25 <assert_contents>
26 <has_text_matching expression="#gene,pn,ps,pn_sites,ps_sites,dn/ds"/>
27 <has_text text="RT,0.0334,0.0111,1,1,3.0539" />
28 </assert_contents>
29 </output>
30 </test>
31 </tests>
32 <help><![CDATA[
33
34 dNdS Report
35 ===================
36
37 Determines the dNdS ratio for each codon variant in a supplied csv file (codon variants).
38
39 ]]></help>
40 <expand macro="citations" />
41 </tool>