annotate space2underscore_readname.xml @ 1:99ec84eb0bab draft default tip

Uploaded
author arkarachai-fungtammasan
date Wed, 01 Apr 2015 17:00:21 -0400
parents 70f8259b0b30
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
1 <tool id="space2underscore_readname" name="Read name modifier" version="1.0.0">
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
2 <description>--change space to underscore of a specific column</description>
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
3 <command interpreter="python">changespacetounderscore_readname.py $input $output $column_n </command>
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
4
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
5 <inputs>
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
6 <param name="input" type="data" label="Select input" />
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
7 <param name="column_n" type="integer" value="6" label="Select column to modify" />
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
8 </inputs>
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
9 <outputs>
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
10 <data format="tabular" name="output" />
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
11
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
12 </outputs>
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
13 <tests>
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
14 <!-- Test data with valid values -->
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
15 <test>
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
16 <param name="input" value="samplefq.snoope"/>
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
17 <param name="column_n" value="6"/>
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
18 <output name="output" file="samplefq.snoope.new"/>
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
19 </test>
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
20
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
21 </tests>
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
22 <help>
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
23
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
24
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
25 .. class:: infomark
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
26
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
27 **What it does**
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
28
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
29 This tool is used to change space to underscore. For TRFM pipeline (profiling microsatellites in short read data), this tool is used to change space in read name to underscore to prevent the downstream tools which might recognize incorrect column number due to space in read name. If the input do not have space in read name, this step can be skipped.
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
30
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
31 **Citation**
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
32
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
33 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**
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
34
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
35 **Input**
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
36
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
37 The input files can be any tab delimited file.
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
38
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
39 If this tool is used in TRFM microsatellite profiling, it should be in the same format as output from **microsatellite 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**
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
40
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
41 **Output**
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
42
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
43 The same as input format.
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
44
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
45
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
46 </help>
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
47 </tool>