comparison rnaplot.xml @ 0:78d673470d45 draft

Imported from capsule None
author rnateam
date Wed, 04 Feb 2015 12:05:27 -0500
parents
children 5e58cbf27a05
comparison
equal deleted inserted replaced
-1:000000000000 0:78d673470d45
1 <tool id="rnaplot" name="RNAplot" version="2.1.6.0">
2 <description> Draw RNA Secondary Structures </description>
3 <expand macro="requirements" />
4 <expand macro="version_command" />
5 <expand macro="stdio" />
6 <macros>
7 <token name="@EXECUTABLE@">RNAplot</token>
8 <import>macros.xml</import>
9 </macros>
10 <command>
11 <![CDATA[
12 RNAplot < $input
13 --layout-type=$layoutSelector
14 --output-format=$formatOptions.formatSelector
15 #if str($formatOptions.formatSelector) == "ps"
16 --pre=$formatOptions.pre
17 --post=$formatOptions.post
18 ; tar -cf $imagesFile *.ps
19 #elif str($formatOptions.formatSelector) == "gml"
20 ; tar -cf $imagesFile *.gml
21 #elif str($formatOptions.formatSelector) == "svg"
22 ; tar -cf $imagesFile *.svg
23 #else
24 ; tar -cf $imagesFile *.ss
25 #end if
26 ]]>
27 </command>
28 <inputs>
29 <param format="txt" name="input" type="data" label="Fasta file"/>
30 <param name="layoutSelector" type="select" label="Layout selection">
31 <option value="0">Radial Layout</option>
32 <option value="1" selected="true">Naview Layout</option>
33 </param>
34 <conditional name="formatOptions">
35 <param name="formatSelector" type="select" label="Output format selection" help="--output-format">
36 <option value="ps" selected="true">Postscript (.ps)</option>
37 <option value="gml">Graph Meta Language (.gml)</option>
38 <option value="svg">Scalable Vector Graphics (.svg)</option>
39 <option value="xrna">XRNA Save File (.ss)</option>
40 </param>
41 <when value="ps">
42 <param name="pre" size="200" type="text" label="Add annotation macros to postscript file" help="--pre"/>
43 <param name="post" size="200" type="text" label="Add annotations to postscript file" help="--post"/>
44 </when>
45 </conditional>
46 </inputs>
47
48 <outputs>
49 <data format="tar" name="imagesFile"/>
50 </outputs>
51 <tests>
52 </tests>
53 <help>
54 <![CDATA[
55
56 **RNAplot**
57
58 The program reads RNA sequences and structures in the format as produced by RNAfold and produces drawings of the secondary structure graph. The coordinates are produced using either E. Bruccoleri's naview routines, or a simple radial layout method.
59
60 -----
61
62 **Input format**
63
64 RNAplot requires one input file
65
66 - Fasta file with an additional line with structure information in dot-bracket notation
67
68 ------
69
70 **Outputs**
71
72 - several possible postscript images bundled together in a tar file
73
74
75 ]]>
76 </help>
77 <expand macro="requirements" />
78 </tool>