comparison microsats_mutability.xml @ 0:4aa1ee5d8510 draft

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