annotate findMotif.xml @ 8:faeb495cd6ef draft default tip

Uploaded
author jjalmagro
date Wed, 28 Jan 2015 05:53:49 -0500
parents 38ed57c267b4
children
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>
7
38ed57c267b4 Uploaded
jjalmagro
parents: 4
diff changeset
11 <requirements>
38ed57c267b4 Uploaded
jjalmagro
parents: 4
diff changeset
12 <requirement type="package" version="1.0">findMotif</requirement>
38ed57c267b4 Uploaded
jjalmagro
parents: 4
diff changeset
13 </requirements>
4
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
14 <inputs>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
15 <param format="fasta" name="input1" type="data" label="Sequences"/>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
16 <param name="motif" type="text" value="acgt" size="17" />
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
17
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
18 <conditional name="options_type">
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
19 <param name="options_type_selector" type="select" label="Options Configuration">
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
20 <option value="basic" selected="true">Basic</option>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
21 <option value="advanced">Advanced</option>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
22 </param>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
23 <when value="basic">
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
24 <!-- do nothing here -->
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
25 </when>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
26 <when value="advanced">
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
27
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
28 <param name="chr" size="6" type="integer" value="1" label="Process only this chr from the sequence"/>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
29 <param name="strand" type="select" label="Limit to only one strand">
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
30 <option value="+">+</option>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
31 <option value="-">-</option>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
32 </param>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
33 <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
34 </when>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
35 </conditional>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
36 </inputs>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
37 <outputs>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
38 <data format="bed" name="output" label="${tool.name} on ${on_string} (bed)"/>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
39 </outputs>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
40
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
41 <tests>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
42 <test>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
43 <param name="input1" value="find_motif_input.fa"/>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
44 <output name="output" file="find_motif__output.bed"/>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
45 </test>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
46 </tests>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
47
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
48 <help>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
49 Find specified motif in a sequence from a FASTA file.
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
50 </help>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
51
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
52 </tool>
83b2fbc9368d Uploaded
jjalmagro
parents:
diff changeset
53