0
|
1 <tool id="heteroprob" name="Evaluate the probability of the allele combination to generate read profile" version="2.0.0">
|
|
2 <description></description>
|
|
3 <command interpreter="python2.7">heteroprob.py $microsat_raw $microsat_error_profile $expectedminorallele > $microsat_corrected </command>
|
|
4
|
|
5 <inputs>
|
|
6 <param name="microsat_raw" type="data" label="Select microsatellite length profile and allele combination file" />
|
|
7 <param name="microsat_error_profile" type="data" label="Select microsatellite error profile that correspond to this dataset" />
|
|
8 <param name="expectedminorallele" type="float" value="0.5" label="Expected contribution of minor allele when present (0.5 for genotyping)" />
|
|
9
|
|
10 </inputs>
|
|
11 <outputs>
|
|
12 <data name="microsat_corrected" format="tabular" />
|
|
13 </outputs>
|
|
14 <tests>
|
|
15 <!-- Test data with valid values -->
|
|
16 <test>
|
|
17 <param name="microsat_raw" value="probvalueforhetero_in.txt"/>
|
|
18 <param name="microsat_error_profile" value="PCRinclude.allrate.bymajorallele"/>
|
|
19 <param name="expectedminorallele" value="0.5"/>
|
|
20 <output name="microsat_corrected" file="probvalueforhetero_out.txt"/>
|
|
21 </test>
|
|
22
|
|
23 </tests>
|
|
24 <help>
|
|
25
|
|
26
|
|
27 .. class:: infomark
|
|
28
|
|
29 **What it does**
|
|
30
|
5
|
31 - This tool will calculate the probability that the allele combination can generated the given the STR length profile. This tool is part of the pipeline to estimate minimum read depth.
|
|
32 - The calculation of probability is very similar to the tool **Correct genotype for STR errors**. However, this tool will restrict the calculation to only the allele combination indicated in input. Also, when it encounter allele combination that cannot be generated from error profile, the total probability will be zero instead of using base substitution rate.
|
0
|
33
|
|
34 **Citation**
|
|
35
|
5
|
36 When you use this tool, please cite **Fungtammasan A, Ananda G, Hile SE, Su MS, Sun C, Harris R, Medvedev P, Eckert K, Makova KD. 2015. Accurate Typing of Short Tandem Repeats from Genome-wide Sequencing Data and its Applications, Genome Research**
|
0
|
37
|
|
38 **Input**
|
|
39
|
5
|
40 The input format is the same as output from **Correct genotype for STR errors** tool.
|
0
|
41
|
5
|
42 - Column 1 = location of STR locus.
|
|
43 - Column 2 = length profile (length of STR in each read that mapped to this location in comma separated format).
|
|
44 - Column 3 = motif of STR in this locus. The input file can contain more than three column.
|
|
45 - Column 4 = homozygote/heterozygote label.
|
|
46 - Column 5 = log based 10 of (the probability of homozygote/the probability of heterozygote)
|
|
47 - Column 6 = Allele for most probable homozygote.
|
|
48 - Column 7 = Allele 1 for most probable heterozygote.
|
|
49 - Column 8 = Allele 2 for most probable heterozygote.
|
0
|
50
|
|
51 Only column 2,3,7,8 were used in calculation.
|
|
52
|
|
53 **Output**
|
|
54
|
|
55
|
5
|
56 The output will contain the original eight columns from the input and the following additional columns.
|
0
|
57 - Column 9 = Probability of the allele combination to generate given read profile.
|
5
|
58 - Column 10 = Number of possible rearrangements of the given read profile.
|
0
|
59 - Column 11 = Probability of the allele combination to generate read profile with any rearrangement (Product of column 9 and column 10)
|
|
60 - Column 12 = Read depth
|
|
61
|
|
62
|
|
63
|
|
64
|
|
65 </help>
|
5
|
66 </tool>
|