annotate microsats_mutability.xml @ 0:0530d2a49487 draft

Imported from capsule None
author devteam
date Tue, 01 Apr 2014 09:13:04 -0400
parents
children 5bb6f80be1f5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
1 <tool id="microsats_mutability1" name="Estimate microsatellite mutability" version="1.1.0">
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
2 <description>by specified attributes</description>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
3 <requirements>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
4 <requirement type="package" version="0.7.1">bx-python</requirement>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
5 <requirement type="package" version="1.0.0">galaxy-ops</requirement>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
6 </requirements>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
7 <command interpreter="python">
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
8 microsats_mutability.py
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
9 $input1
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
10 $out_file1
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
11 ${pri_condition.primary_group}
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
12 #if $pri_condition.primary_group == "6":
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
13 ${pri_condition.binsize} ${pri_condition.subgroup} -1
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
14 #else:
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
15 0 ${pri_condition.sub_condition.subgroup}
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
16 #if $pri_condition.sub_condition.subgroup == "6":
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
17 ${pri_condition.sub_condition.s_binsize}
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
18 #else:
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
19 -1
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
20 #end if
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
21 #end if
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
22 $gens
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
23 ${region.type}
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
24 #if $region.type == "win":
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
25 ${region.input2} $input2.dbkey $input2.metadata.chromCol,$input2.metadata.startCol,$input2.metadata.endCol,$input2.metadata.strandCol
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
26 #else:
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
27 "None"
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
28 #end if
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
29 </command>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
30 <inputs>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
31 <page>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
32 <param name="input1" type="data" format="tabular" label="Select dataset containing Orthologous microsatellites"/>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
33 <conditional name="region">
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
34 <param name="type" type="select" label="Estimate rates corresponding to" multiple="false">
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
35 <option value="align">Alignment block</option>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
36 <option value="win">Intervals in your history</option>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
37 </param>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
38 <when value="win">
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
39 <param format="interval" name="input2" type="data" label="Choose intervals">
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
40 <validator type="unspecified_build" />
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
41 </param>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
42 </when>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
43 <when value="align" />
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
44 </conditional>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
45 <param name="gens" size="10" type="integer" value="1" label="Number of generations between the two species in input file"/>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
46 <conditional name="pri_condition">
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
47 <param name="primary_group" type="select" label="Group by" multiple="false">
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
48 <option value="4">Motif type (mono/di/tri etc.)</option>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
49 <option value="7">Repeat Unit (AG, GCT etc.)</option>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
50 <option value="6">Repeat Number </option>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
51 </param>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
52 <when value="6">
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
53 <param name="binsize" size="10" type="integer" value="1" label="Bin-size" help="Bin-size denotes the number of repeat numbers to be considered as a group. Bin-size of 5 will group every 5 consecutive repeat numbers into a group."/>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
54 <param name="subgroup" type="select" label="Sub-group by" multiple="false">
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
55 <option value="-1">None</option>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
56 <option value="4">Motif type (mono/di/tri etc.)</option>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
57 <option value="7">Repeat Unit (AG, GCT etc.)</option>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
58 </param>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
59 </when>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
60 <when value="7">
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
61 <conditional name="sub_condition">
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
62 <param name="subgroup" type="select" label="Sub-group by" multiple="false">
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
63 <option value="-1">None</option>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
64 <option value="4">Motif type (mono/di/tri etc.)</option>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
65 <option value="6">Repeat Number </option>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
66 </param>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
67 <when value="-1"></when>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
68 <when value="4"></when>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
69 <when value="6">
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
70 <param name="s_binsize" size="10" type="integer" value="1" label="Bin size" help="Bin-size denotes the number of repeat numbers to be considered as a group. Bin-size of 5 will group every 5 consecutive repeat numbers into a group."/>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
71 </when>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
72 </conditional>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
73 </when>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
74 <when value="4">
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
75 <conditional name="sub_condition">
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
76 <param name="subgroup" type="select" label="Sub-group by" multiple="false">
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
77 <option value="-1">None</option>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
78 <option value="7">Repeat Unit (AG, GCT etc.)</option>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
79 <option value="6">Repeat Number </option>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
80 </param>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
81 <when value="-1"></when>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
82 <when value="7"></when>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
83 <when value="6">
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
84 <param name="s_binsize" size="10" type="integer" value="1" label="Bin size" help="Bin-size denotes the number of repeat numbers to be considered as a group. Bin-size of 5 will group every 5 consecutive repeat numbers into a group."/>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
85 </when>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
86 </conditional>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
87 </when>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
88 </conditional>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
89 </page>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
90 </inputs>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
91 <outputs>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
92 <data format="tabular" name="out_file1" />
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
93 </outputs>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
94 <!--
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
95 <tests>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
96 <test>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
97 <param name="input1" value="ortho_ms.tab"/>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
98 <param name="type" value="align"/>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
99 <param name="gens" value="1"/>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
100 <param name="primary_group" value="4"/>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
101 <param name="sub_condition|subgroup" value="7"/>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
102 <output name="out_file1" file="ortho_ms_mut.tab"/>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
103 </test>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
104 </tests>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
105 -->
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
106 <help>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
107 .. class:: infomark
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
108
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
109 **What it does**
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
110
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
111 This tool computes microsatellite mutability for the orthologous microsatellites fetched from 'Extract Orthologous Microsatellites from pair-wise alignments' tool.
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
112
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
113 Mutability is computed according to the method described in the following paper:
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
114
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
115 *Webster et al., Microsatellite evolution inferred from human-chimpanzee genomic sequence alignments, Proc Natl Acad Sci 2002 June 25; 99(13): 8748-8753*
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
116
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
117 -----
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
118
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
119 .. class:: warningmark
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
120
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
121 **Note**
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
122
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
123 The user selected group and subgroup by features, the computed mutability and the count of the number of repeats used to compute that mutability are added as columns to the output.
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
124 </help>
0530d2a49487 Imported from capsule None
devteam
parents:
diff changeset
125 </tool>