annotate substitution_rates.xml @ 1:412a03dc24a2 draft default tip

planemo upload commit fa9a2569c9ece4b03f622d0b85b0e5376a25084c-dirty
author devteam
date Tue, 29 Sep 2015 11:08:38 -0400
parents d51dd9e4b517
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
1 <tool id="subRate1" name="Estimate substitution rates " version="1.0.0">
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
2 <description> for non-coding regions</description>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
3 <command interpreter="python">
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
4 substitution_rates.py
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
5 $input
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
6 $out_file1
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
7 #if $region.type == "win":
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
8 ${region.input2} ${region.input2.dbkey} ${region.input2.metadata.chromCol},$region.input2.metadata.startCol,$region.input2.metadata.endCol,$region.input2.metadata.strandCol
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
9 #else:
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
10 "None"
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
11 #end if
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
12 </command>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
13 <inputs>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
14 <param format="maf" name="input" type="data" label="Select pair-wise alignment data"/>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
15 <conditional name="region">
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
16 <param name="type" type="select" label="Estimate rates corresponding to" multiple="false">
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
17 <option value="align">Alignment block</option>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
18 <option value="win">Intervals in your history</option>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
19 </param>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
20 <when value="win">
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
21 <param format="interval" name="input2" type="data" label="Choose intervals">
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
22 <validator type="unspecified_build" />
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
23 </param>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
24 </when>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
25 <when value="align" />
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
26 </conditional>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
27 </inputs>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
28 <outputs>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
29 <data format="tabular" name="out_file1" metadata_source="input"/>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
30 </outputs>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
31
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
32 <tests>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
33 <test>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
34 <param name="input" value="Interval2Maf_pairwise_out.maf"/>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
35 <param name="type" value="align"/>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
36 <output name="out_file1" file="subRates1.out"/>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
37 </test>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
38 </tests>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
39
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
40 <help>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
41
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
42 .. class:: infomark
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
43
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
44 **What it does**
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
45
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
46 This tool takes a pairwise MAF file as input and estimates substitution rate according to Jukes-Cantor JC69 model. The 3 new columns appended to the output are explained below:
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
47
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
48 - L: number of nucleotides compared
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
49 - N: number of different nucleotides
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
50 - p = N/L
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
51
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
52 -----
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
53
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
54 .. class:: warningmark
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
55
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
56 **Note**
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
57
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
58 Any block/s not containing exactly two sequences, will be omitted.
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
59
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
60 </help>
d51dd9e4b517 Imported from capsule None
devteam
parents:
diff changeset
61 </tool>