-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathgetIndelRates_3way.xml
More file actions
65 lines (51 loc) · 2.06 KB
/
Copy pathgetIndelRates_3way.xml
File metadata and controls
65 lines (51 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<tool id="indelRates_3way" name="Estimate Indel Rates" version="1.0.1">
<description> for 3-way alignments</description>
<requirements>
<requirement type="package" version="0.7.1">bx-python</requirement>
<requirement type="package" version="1.0.0">galaxy-ops</requirement>
</requirements>
<command interpreter="python">
getIndelRates_3way.py $input1 $out_file1
#if $region.type == "align"
"None"
#else
$region.input2 $input2.dbkey $input2.metadata.chromCol,$input2.metadata.startCol,$input2.metadata.endCol,$input2.metadata.strandCol
#end if
</command>
<inputs>
<page>
<param format="tabular" name="input1" type="data" label="Select dataset containing Indels"/>
<conditional name="region">
<param name="type" type="select" label="Estimate rates corresponding to" multiple="false">
<option value="win" selected="True">Intervals in your history</option>
<option value="align">Alignment block</option>
</param>
<when value="win">
<param format="interval" name="input2" type="data" label="Choose intervals">
<validator type="unspecified_build" />
</param>
</when>
<when value="align" />
</conditional>
</page>
</inputs>
<outputs>
<data format="tabular" name="out_file1" metadata_source="input1"/>
</outputs>
<tests>
<test>
<param name="input1" value="indels_3way.tabular"/>
<param name="type" value="align"/>
<output name="out_file1" file="indelrates_3way.tabular"/>
</test>
</tests>
<help>
.. class:: infomark
**What it does**
This tool estimates the insertion and deletion rates for alignments in a window of specified size. Rates are computed over the total adjusted lengths (adjusted by disregarding masked bases) of all the alignments blocks from the indel file that fall within that window.
-----
.. class:: warningmark
**Note**
This tool only works on the output of the 'Estimate Indel Rates for 3-way alignments' tool.
</help>
</tool>