0
|
1 <tool id="space2underscore_readname" name="Read name modifier" version="1.0.0">
|
2
|
2 <description>--change space to underscore in the read name column</description>
|
0
|
3 <command interpreter="python">changespacetounderscore_readname.py $input $output $column_n </command>
|
|
4
|
|
5 <inputs>
|
|
6 <param name="input" type="data" label="Select input" />
|
|
7 <param name="column_n" type="integer" value="6" label="Select column to modify" />
|
|
8 </inputs>
|
|
9 <outputs>
|
|
10 <data format="tabular" name="output" />
|
|
11
|
|
12 </outputs>
|
|
13 <tests>
|
|
14 <!-- Test data with valid values -->
|
|
15 <test>
|
|
16 <param name="input" value="samplefq.snoope"/>
|
|
17 <param name="column_n" value="6"/>
|
|
18 <output name="output" file="samplefq.snoope.new"/>
|
|
19 </test>
|
|
20
|
|
21 </tests>
|
|
22 <help>
|
|
23
|
|
24
|
|
25 .. class:: infomark
|
|
26
|
|
27 **What it does**
|
|
28
|
2
|
29 The readname produced by the "STR detection" step may contain spaces instead of underscores, which will cause downstream tools that use space as a column delimiter to fail. This tool will help convert space to underscore.
|
|
30 If your input does not have spaces in readname column, this step can be skipped.
|
0
|
31
|
|
32 **Citation**
|
|
33
|
|
34 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**
|
|
35
|
|
36 **Input**
|
|
37
|
|
38 The input files can be any tab delimited file.
|
|
39
|
2
|
40 If this tool is used in STR-FM for STRs profiling, it should be in the same format as output from **STR detection program**. This format contains **length of repeat**, **length of left flanking region**, **length of right flanking region**, **repeat motif**, **hamming (editing) distance**, **read name**, **read sequence**, **read quality score**
|
0
|
41
|
|
42 **Output**
|
|
43
|
|
44 The same as input format.
|
|
45
|
|
46
|
|
47 </help>
|
|
48 </tool>
|