annotate space2underscore_readname.xml @ 14:20dc70f85ff7 draft default tip

Uploaded
author arkarachai-fungtammasan
date Sun, 24 Jul 2016 18:15:32 -0400
parents d5ed5c2e25c3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
1 <tool id="space2underscore_readname" name="Read name modifier" version="1.0.0">
2
d5ed5c2e25c3 Uploaded
arkarachai-fungtammasan
parents: 0
diff changeset
2 <description>--change space to underscore in the read name column</description>
0
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
3 <command interpreter="python">changespacetounderscore_readname.py $input $output $column_n </command>
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
4
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
5 <inputs>
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
6 <param name="input" type="data" label="Select input" />
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
7 <param name="column_n" type="integer" value="6" label="Select column to modify" />
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
8 </inputs>
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
9 <outputs>
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
10 <data format="tabular" name="output" />
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
11
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
12 </outputs>
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
13 <tests>
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
14 <!-- Test data with valid values -->
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
15 <test>
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
16 <param name="input" value="samplefq.snoope"/>
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
17 <param name="column_n" value="6"/>
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
18 <output name="output" file="samplefq.snoope.new"/>
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
19 </test>
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
20
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
21 </tests>
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
22 <help>
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
23
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
24
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
25 .. class:: infomark
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
26
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
27 **What it does**
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
28
2
d5ed5c2e25c3 Uploaded
arkarachai-fungtammasan
parents: 0
diff changeset
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.
d5ed5c2e25c3 Uploaded
arkarachai-fungtammasan
parents: 0
diff changeset
30 If your input does not have spaces in readname column, this step can be skipped.
0
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
31
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
32 **Citation**
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
33
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
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**
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
35
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
36 **Input**
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
37
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
38 The input files can be any tab delimited file.
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
39
2
d5ed5c2e25c3 Uploaded
arkarachai-fungtammasan
parents: 0
diff changeset
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
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
41
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
42 **Output**
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
43
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
44 The same as input format.
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
45
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
46
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
47 </help>
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
48 </tool>