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