13
|
1 <tool id="PEsortedSAM2readprofile" name="Combine mapped faux paired-end reads" version="1.1.0">
|
2
|
2 <description> and get the reference STR allele from the reference genome </description>
|
0
|
3 <command interpreter="python2.7">PEsortedSAM2readprofile.py $flankedbasesSAM $twobitref $maxTRlength $maxoriginalreadlength $output </command>
|
|
4
|
|
5 <inputs>
|
|
6 <param name="flankedbasesSAM" type="data" format="sam" label="Select sorted SAM file (by readname) of flaked bases" />
|
|
7 <param name="twobitref" type="data" label="Select twobit file reference genome" />
|
13
|
8 <param name="maxTRlength" type="integer" value="100" label="Maximum microsatellite length in reference (bp)" />
|
0
|
9 <param name="maxoriginalreadlength" type="integer" value="101" label="Maxinum original read length" />
|
|
10
|
|
11 </inputs>
|
|
12 <outputs>
|
|
13 <data name="output" format="tabular" />
|
|
14 </outputs>
|
|
15 <tests>
|
|
16 <!-- Test data with valid values -->
|
|
17 <test>
|
|
18 <param name="flankedbasesSAM" value="samplesortedPESAM_C.sam"/>
|
|
19 <param name="twobitref" value="shifted.2bit"/>
|
|
20 <param name="maxTRlength" value="100"/>
|
|
21 <param name="maxoriginalreadlength" value="250"/>
|
|
22 <output name="output" file="samplePESAM_2_profile_C.txt"/>
|
|
23 </test>
|
|
24
|
|
25 </tests>
|
|
26 <help>
|
|
27
|
|
28
|
|
29 .. class:: infomark
|
|
30
|
|
31 **What it does**
|
|
32
|
2
|
33 - This tool will take SAM file (sorted by read name), remove unpaired reads, and combine paired faux read-pairs into a single row. It also reports Short Tandem Repeats (STRs) sequences in the reference genome that correspond to the space between the faux paired end reads and the coordinate of start and stop for left and right flanking regions of STRs.
|
0
|
34
|
|
35 **Citation**
|
|
36
|
|
37 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**
|
|
38
|
|
39 **Input**
|
|
40
|
2
|
41 - Sorted SAM files by read name.
|
0
|
42
|
|
43 **Output**
|
|
44
|
2
|
45 The output will combine the two faux paired-end read lines of input ito the following single line format:
|
0
|
46
|
|
47 - Column 1 = read name
|
|
48 - Column 2 = chromosome
|
|
49 - Column 3 = left flanking region start
|
|
50 - Column 4 = left flanking region stop
|
2
|
51 - Column 5 = STR start
|
|
52 - Column 6 = STR stop
|
0
|
53 - Column 7 = right flanking region start
|
|
54 - Column 8 = right flanking region stop
|
2
|
55 - Column 9 = STR length in reference
|
|
56 - Column 10= STR sequence in reference
|
0
|
57
|
|
58
|
|
59
|
|
60 </help>
|
|
61 </tool>
|