Mercurial > repos > devteam > condense_characters
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 |
| 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 | 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 | 4 <inputs> |
| 5 <!-- <display>condense all consecutive $character from $input</display> --> | |
| 6 <param name="character" type="select" label="Condense all consecutive"> | |
| 7 <option value="T">Tabs</option> | |
| 8 <option value="Sp">Spaces</option> | |
| 9 <option value="Dt">Dots</option> | |
| 10 <option value="C">Commas</option> | |
| 11 <option value="D">Dashes</option> | |
| 12 <option value="U">Underscores</option> | |
| 13 <option value="P">Pipes</option> | |
| 14 </param> | |
| 15 <param format="txt" name="input" type="data" label="in this Query"/> | |
| 16 </inputs> | |
| 17 <outputs> | |
| 18 <data format="input" name="out_file1" metadata_source="input" /> | |
| 19 </outputs> | |
| 20 <tests> | |
| 21 <test> | |
| 22 <param name="character" value="T"/> | |
| 23 <param name="input" value="1.bed"/> | |
| 24 <output name="out_file1" file="eq-condense.dat"/> | |
| 25 </test> | |
| 26 </tests> | |
| 27 <help> | |
| 28 | |
| 29 **What it does** | |
| 30 | |
| 31 This tool condenses all consecutive characters of a specified type. | |
| 32 | |
| 33 ----- | |
| 34 | |
| 35 **Example** | |
| 36 | |
| 37 - Input file:: | |
| 38 | |
| 39 geneX,,,10,,,,,20 | |
| 40 geneY,,5,,,,,12,15,9, | |
| 41 | |
| 42 - Condense all consecutive commas. The above file will be converted into:: | |
| 43 | |
| 44 geneX,10,20 | |
| 45 geneY,5,12,15,9 | |
| 46 | |
| 47 </help> | |
| 48 </tool> |
