Source code

Download source archive ↓

upstream-extended/iuc/tools/emboss_5/emboss_fuzznuc.xml

1<tool id="EMBOSS: fuzznuc37" name="fuzznuc" version="5.0.3">
2  <description>Nucleic acid pattern search</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><![CDATA[
10    fuzznuc
11
12    -sequence '$input1'
13    $seq_qualifiers.sreverse1 $seq_qualifiers.snucleotide1 $seq_qualifiers.sprotein1 $seq_qualifiers.slower1 $seq_qualifiers.supper1
14    #if $seq_qualifiers.sbegin1
15      -sbegin1 '$seq_qualifiers.sbegin1'
16    #end if
17    #if $seq_qualifiers.send1
18      -send1 '$seq_qualifiers.send1'
19    #end if
20
21    -outfile '$out_file1'
22    $out_qualifiers.raccshow2 $out_qualifiers.rdesshow2 $out_qualifiers.rscoreshow2 $out_qualifiers.rusashow2
23    #if $out_qualifiers.rmaxall2
24      -rmaxall2 '$out_qualifiers.rmaxall2'
25    #end if
26    #if $out_qualifiers.rmaxseq2
27      -rmaxseq2 '$out_qualifiers.rmaxseq2'
28    #end if
29
30    -pattern '$pattern' -pmismatch '$mismatch' -rformat2 '$out_format1' -auto
31
32    -complement '$complement'
33  ]]></command>
34  <inputs>
35    <param name="input1" type="data" format="fasta" label="Sequences" />
36    <param name="pattern" type="text" value="" label="Search pattern">
37      <sanitizer>
38        <valid initial="string.printable">
39         <remove value="&apos;"/>
40        </valid>
41        <mapping initial="none">
42          <add source="&apos;" target=""/>
43        </mapping>
44      </sanitizer>
45    </param>
46    <param name="mismatch" type="integer" value="0" label="Number of mismatches" />
47    <param name="complement" type="select" label="Search complementary strand">
48      <option value="no">No</option>
49      <option value="yes">Yes</option>
50    </param>
51    <param name="out_format1" type="select" label="Output report file format">
52      <option value="seqtable">SeqTable</option>
53      <option value="embl">EMBL</option>
54      <option value="genbank">GENBANK</option>
55      <option value="gff">GFF</option>
56      <option value="pir">PIR</option>
57      <option value="swiss">SwissProt</option>
58      <option value="dbmotif">DbMotif</option>
59      <option value="diffseq">Diffseq</option>
60      <option value="excel">Excel (tab delimited)</option>
61      <option value="feattable">FeatTable</option>
62      <option value="motif">Motif</option>
63      <option value="regions">Regions</option>
64      <option value="simple">SRS Simple</option>
65      <option value="fuzznuc">Fuzznuc Output File</option>
66      <option value="srs">SRS</option>
67      <option value="table">Table</option>
68      <option value="tagseq">TagSeq</option>
69    </param>
70
71    <section name="seq_qualifiers" title="Sequence associated qualifiers">
72      <param type="integer" argument="-sbegin1" optional="true" label="Start of each sequence to be used"/>
73      <param type="integer" argument="-send1" optional="true" label="End of each sequence to be used"/>
74      <param type="boolean" argument="-sreverse1" truevalue="-sreverse1 Y" falsevalue="" label="Reverse (if DNA)"/>
75      <param type="boolean" argument="-snucleotide1" truevalue="-snucleotide1 Y" falsevalue="" label="Sequence is nucleotide"/>
76      <param type="boolean" argument="-sprotein1" truevalue="-sprotein1 Y" falsevalue="" label="Sequence is protein"/>
77      <param type="boolean" argument="-slower1" truevalue="-slower1 Y" falsevalue="" label="Make lower case"/>
78      <param type="boolean" argument="-supper1" truevalue="-supper1 Y" falsevalue="" label="Make upper case"/>
79    </section>
80
81    <section name="out_qualifiers" title="Outfile associated qualifiers">
82      <param type="boolean" argument="-raccshow2" truevalue="-raccshow2 Y" falsevalue="" label="Show accession number in the report"/>
83      <param type="boolean" argument="-rdesshow2" truevalue="-rdesshow2 Y" falsevalue="" label="Show description in the report"/>
84      <param type="boolean" argument="-rscoreshow2" truevalue="-rscoreshow2 Y" falsevalue="" label="Show the score in the report"/>
85      <param type="boolean" argument="-rusashow2" truevalue="-rusashow2 Y" falsevalue="" label="Show the full USA in the report"/>
86      <param type="integer" argument="-rmaxall2" optional="true" label="Maximum total hits to report"/>
87      <param type="integer" argument="-rmaxseq2" optional="true" label="Maximum hits to report for one sequence"/>
88    </section>
89
90  </inputs>
91  <outputs>
92    <data name="out_file1" format="fuzznuc" />
93  </outputs>
94  <tests>
95    <test>
96      <param name="input1" value="2.fasta"/>
97      <param name="pattern" value="AA"/>
98      <param name="mismatch" value="0"/>
99      <param name="complement" value="no"/>
100      <param name="out_format1" value="excel"/>
101      <output name="out_file1" file="emboss_fuzznuc_out.tabular"/>
102    </test>
103    <test>
104      <param name="input1" value="2.fasta"/>
105      <param name="pattern" value="AA"/>
106      <param name="mismatch" value="0"/>
107      <param name="complement" value="no"/>
108      <param name="out_format1" value="excel"/>
109      <param name="seq_qualifiers|supper1" value="true"/>
110      <param name="seq_qualifiers|sbegin1" value="100"/>
111      <param name="out_qualifiers|rmaxseq2" value="5"/>
112      <output name="out_file1" file="emboss_fuzznuc_out2.tabular"/>
113    </test>
114  </tests>
115  <help>
116.. class:: warningmark
117
118The input dataset needs to be sequences.
119
120-----
121
122    You can view the original documentation here_.
123
124    .. _here: http://galaxy-iuc.github.io/emboss-5.0-docs/fuzznuc.html
125  </help>
126  <expand macro="citations" />
127</tool>