annotate findMotif.xml @ 6:e7eb315be15a draft

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