annotate condense_characters.xml @ 2:381ed54c5e39 draft default tip

planemo upload commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
author devteam
date Tue, 21 Jul 2015 14:16:58 -0400
parents af7fe71973ac
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
381ed54c5e39 planemo upload commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents: 1
diff changeset
1 <tool id="Condense characters1" name="Condense" version="1.0.0">
0
2c08781560de Uploaded condense_characters tarball.
devteam
parents:
diff changeset
2 <description>consecutive characters</description>
1
af7fe71973ac Updated command line format per dev team standards.
Dave B. <dave@bx.psu.edu>
parents: 0
diff changeset
3 <command interpreter="perl">condense_characters.pl "${input}" "${character}" "${out_file1}"</command>
0
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>