annotate space2underscore_readname.xml @ 2:c12db4ec1619

Uploaded
author arkarachai-fungtammasan
date Fri, 24 Oct 2014 15:44:47 -0400
parents 20ab85af9505
children b27006b0a953
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
1 <tool id="space2underscore_readname" name="Read name modifier" version="1.0.0">
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
2 <description>--change space to underscore of a specific column</description>
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
3 <command interpreter="python">changespacetounderscore_readname.py $input $output $column_n </command>
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
4
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
5 <inputs>
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
6 <param name="input" type="data" label="Select input" />
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
7 <param name="column_n" type="integer" value="6" label="Select column to modify" />
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
8 </inputs>
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
9 <outputs>
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
10 <data format="tabular" name="output" />
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
11
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
12 </outputs>
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
13 <tests>
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
14 <!-- Test data with valid values -->
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
15 <test>
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
16 <param name="input" value="samplefq.snoope"/>
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
17 <param name="column_n" value="6"/>
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
18 <output name="output" file="samplefq.snoope.new"/>
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
19 </test>
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
20
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
21 </tests>
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
22 <help>
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
23
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
24
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
25 .. class:: infomark
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
26
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
27 **What it does**
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
28
20ab85af9505 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.
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
30
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
31 **Citation**
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
32
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
33 When you use this tool, please cite **Arkarachai Fungtammasan and Guruprasad Ananda (2014).**
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
34
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
35 **Input**
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
36
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
37 The input files can be any tab delimited file.
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
38
20ab85af9505 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**
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
40
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
41 **Output**
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
42
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
43 The same as input format.
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
44
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
45
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
46 </help>
20ab85af9505 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
47 </tool>