upstream-extended/iuc/tools/emboss_5/emboss_wordmatch.xml
1<tool id="EMBOSS: wordmatch110" name="wordmatch" version="@VERSION@.1">
2 <description>Finds all exact matches of a given size between 2 sequences</description>
3 <expand macro="bio_tools" />
4 <macros>
5 <import>macros.xml</import>
6 </macros>
7 <expand macro="requirements" />
8 <code file="emboss_format_corrector.py" />
9 <command>wordmatch -asequence '$input1' -bsequence '$input2' -outfile '$out_file1' -aoutfeat '$out_file2' -boutfeat '$out_file3' -wordsize $wordsize -aformat3 $out_format1 -offormat4 $out_format2
10 -offormat5 $out_format3 -auto</command>
11 <inputs>
12 <param name="input1" type="data" format="fasta" label="Sequence 1" />
13 <param name="input2" type="data" format="fasta" label="Sequence 2" />
14 <param name="wordsize" type="integer" value="4" label="Word size" />
15 <param name="out_format1" type="select" label="Output alignment file format">
16 <option value="match">Match (m)</option>
17 <option value="simple">Simple (m)</option>
18 <option value="fasta">FASTA (m)</option>
19 <option value="msf">MSF (m)</option>
20 <option value="srs">SRS (m)</option>
21 <option value="pair">Pair (p)</option>
22 <option value="markx0">Markx0 (p)</option>
23 <option value="markx1">Markx1 (p)</option>
24 <option value="markx2">Markx2 (p)</option>
25 <option value="markx3">Markx3 (p)</option>
26 <option value="markx10">Markx10 (p)</option>
27 <option value="srspair">SRS pair (p)</option>
28 <option value="score">Score (p)</option>
29 </param>
30 <param name="out_format2" type="select" label="Output feature 1 file format">
31 <option value="gff">GFF</option>
32 <option value="embl">EMBL</option>
33 <option value="swiss">SwissProt</option>
34 </param>
35 <param name="out_format3" type="select" label="Output feature 2 file format">
36 <option value="gff">GFF</option>
37 <option value="embl">EMBL</option>
38 <option value="swiss">SwissProt</option>
39 </param>
40 </inputs>
41 <outputs>
42 <data name="out_file1" format="match" />
43 <data name="out_file2" format="gff" />
44 <data name="out_file3" format="gff" />
45 </outputs>
46 <!-- <tests>
47 <test>
48 <param name="input1" value="2.fasta"/>
49 <param name="input2" value="1.fasta"/>
50 <param name="wordsize" value="4"/>
51 <param name="out_format1" value="fasta"/>
52 <param name="out_format2" value="gff"/>
53 <param name="out_format3" value="gff"/>
54 <output name="ofile2" file="emboss_wordmatch_out.embl"/>
55 </test>
56 </tests> test takes a long time to run-->
57 <help>
58.. class:: warningmark
59
60The input datasets need to be sequences.
61
62-----
63
64 You can view the original documentation here_.
65
66 .. _here: http://galaxy-iuc.github.io/emboss-5.0-docs/wordmatch.html
67 </help>
68 <expand macro="citations" />
69</tool>