Mercurial > repos > iuc > tn93
comparison tn93.xml @ 0:ccebde0e2d61 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tn93/ commit 53d8d20f3b6716d7ce8d0f56916563d21fe3aa4a
author | iuc |
---|---|
date | Wed, 17 Jul 2019 13:42:11 -0400 |
parents | |
children | b38f620a3628 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:ccebde0e2d61 |
---|---|
1 <tool id="tn93" name="TN93" version="@VERSION@"> | |
2 <description>compute distances between aligned sequences</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <requirements> | |
7 <requirement type="package" version="@VERSION@">tn93</requirement> | |
8 </requirements> | |
9 <version_command><![CDATA[tn93 --version]]></version_command> | |
10 <command detect_errors="exit_code"><![CDATA[ | |
11 tn93 | |
12 -o '$tn93_distances' | |
13 #if str($options.advanced) == 'advanced': | |
14 -t $options.threshold | |
15 -a $options.ambigs | |
16 -g $options.fraction | |
17 -f csv | |
18 -l $options.overlap | |
19 #if $options.counts_in_name: | |
20 -d '$options.counts_in_name' | |
21 #end if | |
22 #end if | |
23 #if $second_fasta: | |
24 -s '$second_fasta' | |
25 #end if | |
26 '$input_fasta' | |
27 ]]></command> | |
28 <inputs> | |
29 <param name="input_fasta" type="data" format="fasta" label="Input in FASTA format" /> | |
30 <param name="second_fasta" argument="-s" type="data" format="fasta" optional="true" | |
31 label="Additional input FASTA for pairwise comparisons" /> | |
32 <conditional name="options"> | |
33 <param label="Additional options" name="advanced" type="select"> | |
34 <option value="defaults">Use defaults</option> | |
35 <option value="advanced">Specify additional parameters</option> | |
36 </param> | |
37 <when value="defaults" /> | |
38 <when value="advanced"> | |
39 <param name="threshold" type="float" value="0.015" label="Only report distances below this threshold" /> | |
40 <param name="ambigs" argument="-a" type="select" label="Strategy for ambiguous nucleotides"> | |
41 <option value="handle">handle</option> | |
42 <option value="resolve">resolve</option> | |
43 <option value="average">average</option> | |
44 <option value="skip">skip</option> | |
45 <option value="gapmm">gapmm</option> | |
46 </param> | |
47 <param name="fraction" argument="-g" type="float" value="1.0" | |
48 label="Maximum tolerated fraction of ambiguous characters" /> | |
49 <param name="overlap" argument="-l" type="integer" value="100" | |
50 label="Only count pairs that overlap by at least N bases" /> | |
51 <param name="counts_in_name" argument="-d" type="text" | |
52 optional="true" label="Sequence name component immediately preceding a copy number" /> | |
53 </when> | |
54 </conditional> | |
55 </inputs> | |
56 <outputs> | |
57 <data format="csv" name="tn93_distances" /> | |
58 </outputs> | |
59 <tests> | |
60 <test> | |
61 <param name="input_fasta" value="tn93-in1.fa" /> | |
62 <param name="advanced" value="advanced" /> | |
63 <param name="threshold" value="0.35" /> | |
64 <output file="tn93-out1.csv" ftype="csv" name="tn93_distances" sort="True" /> | |
65 </test> | |
66 <test> | |
67 <param name="input_fasta" value="tn93-in2-alpha.fa" /> | |
68 <param name="second_fasta" value="tn93-in2-beta.fa" /> | |
69 <param name="advanced" value="advanced" /> | |
70 <param name="threshold" value="0.35" /> | |
71 <output file="tn93-out2.csv" ftype="csv" name="tn93_distances" sort="True" /> | |
72 </test> | |
73 </tests> | |
74 <help><![CDATA[ | |
75 TN93 | |
76 ---- | |
77 | |
78 Compute pairwise distances between aligned | |
79 nucleotide sequences in sequential FASTA format using the | |
80 [Tamura Nei 93 distance](http://www.ncbi.nlm.nih.gov/pubmed/8336541). | |
81 | |
82 NOTES | |
83 ----- | |
84 | |
85 All sequences must be aligned and have the same length. Only IUPAC characters are recognized (e.g. no ~). Sequence names can include copy number as in | |
86 | |
87 >seqname:10 | |
88 | |
89 ':' can be replaced with another character using `-d`, and sequences that have no explicit copy number are assumed to be a single copy. Copy numbers | |
90 only affect histogram and mean calculations. | |
91 ]]></help> | |
92 <expand macro="citations"> | |
93 <citation type="doi">10.1093/oxfordjournals.molbev.a040023</citation> | |
94 </expand> | |
95 </tool> |