4
|
1 <tool id="find_motif" name="findMotif" version="1.0.0">
|
|
2 <description>Find specified motif in sequence</description>
|
|
3 <command>findMotif -motif="$motif" "$input1"
|
|
4 #if str( $options_type.options_type_selector ) == "advanced":
|
|
5 -chr="${options_type.chr}"
|
|
6 -strand="${options_type.strand}
|
|
7 "${options_type.wigOutput}"
|
|
8 #end if
|
|
9 > "$output"
|
|
10 </command>
|
7
|
11 <requirements>
|
|
12 <requirement type="package" version="1.0">findMotif</requirement>
|
|
13 </requirements>
|
4
|
14 <inputs>
|
|
15 <param format="fasta" name="input1" type="data" label="Sequences"/>
|
|
16 <param name="motif" type="text" value="acgt" size="17" />
|
|
17
|
|
18 <conditional name="options_type">
|
|
19 <param name="options_type_selector" type="select" label="Options Configuration">
|
|
20 <option value="basic" selected="true">Basic</option>
|
|
21 <option value="advanced">Advanced</option>
|
|
22 </param>
|
|
23 <when value="basic">
|
|
24 <!-- do nothing here -->
|
|
25 </when>
|
|
26 <when value="advanced">
|
|
27
|
|
28 <param name="chr" size="6" type="integer" value="1" label="Process only this chr from the sequence"/>
|
|
29 <param name="strand" type="select" label="Limit to only one strand">
|
|
30 <option value="+">+</option>
|
|
31 <option value="-">-</option>
|
|
32 </param>
|
|
33 <param name="wigOutput" label="Output wiggle data format instead of bed file" type="boolean" truevalue="-wigOutput" falsevalue="" checked="False"/>
|
|
34 </when>
|
|
35 </conditional>
|
|
36 </inputs>
|
|
37 <outputs>
|
|
38 <data format="bed" name="output" label="${tool.name} on ${on_string} (bed)"/>
|
|
39 </outputs>
|
|
40
|
|
41 <tests>
|
|
42 <test>
|
|
43 <param name="input1" value="find_motif_input.fa"/>
|
|
44 <output name="output" file="find_motif__output.bed"/>
|
|
45 </test>
|
|
46 </tests>
|
|
47
|
|
48 <help>
|
|
49 Find specified motif in a sequence from a FASTA file.
|
|
50 </help>
|
|
51
|
|
52 </tool>
|
|
53
|