annotate condense_characters.xml @ 0:2c08781560de draft

Uploaded condense_characters tarball.
author devteam
date Tue, 04 Dec 2012 10:53:39 -0500
parents
children af7fe71973ac
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
1 <tool id="Condense characters1" name="Condense">
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
2 <description>consecutive characters</description>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
3 <command interpreter="perl">condense_characters.pl $input $character $out_file1</command>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
4 <inputs>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
5 <!-- <display>condense all consecutive $character from $input</display> -->
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
6 <param name="character" type="select" label="Condense all consecutive">
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
7 <option value="T">Tabs</option>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
8 <option value="Sp">Spaces</option>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
9 <option value="Dt">Dots</option>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
10 <option value="C">Commas</option>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
11 <option value="D">Dashes</option>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
12 <option value="U">Underscores</option>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
13 <option value="P">Pipes</option>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
14 </param>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
15 <param format="txt" name="input" type="data" label="in this Query"/>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
16 </inputs>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
17 <outputs>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
18 <data format="input" name="out_file1" metadata_source="input" />
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
19 </outputs>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
20 <tests>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
21 <test>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
22 <param name="character" value="T"/>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
23 <param name="input" value="1.bed"/>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
24 <output name="out_file1" file="eq-condense.dat"/>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
25 </test>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
26 </tests>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
27 <help>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
28
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
29 **What it does**
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
30
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
31 This tool condenses all consecutive characters of a specified type.
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
32
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
33 -----
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
34
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
35 **Example**
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
36
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
37 - Input file::
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
38
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
39 geneX,,,10,,,,,20
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
40 geneY,,5,,,,,12,15,9,
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
41
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
42 - Condense all consecutive commas. The above file will be converted into::
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
43
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
44 geneX,10,20
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
45 geneY,5,12,15,9
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
46
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
47 </help>
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
48 </tool>