annotate tools/regVariation/microsats_mutability.xml @ 0:9071e359b9a3

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