annotate rnaplot.xml @ 2:5e58cbf27a05 draft

Uploaded
author rnateam
date Mon, 09 Feb 2015 13:26:11 -0500
parents 78d673470d45
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
1 <tool id="rnaplot" name="RNAplot" version="2.1.6.0">
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
2 <description> Draw RNA Secondary Structures </description>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
3 <expand macro="requirements" />
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
4 <expand macro="version_command" />
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
5 <expand macro="stdio" />
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
6 <macros>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
7 <token name="@EXECUTABLE@">RNAplot</token>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
8 <import>macros.xml</import>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
9 </macros>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
10 <command>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
11 <![CDATA[
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
12 RNAplot < $input
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
13 --layout-type=$layoutSelector
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
14 --output-format=$formatOptions.formatSelector
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
15 #if str($formatOptions.formatSelector) == "ps"
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
16 --pre=$formatOptions.pre
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
17 --post=$formatOptions.post
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
18 ; tar -cf $imagesFile *.ps
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
19 #elif str($formatOptions.formatSelector) == "gml"
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
20 ; tar -cf $imagesFile *.gml
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
21 #elif str($formatOptions.formatSelector) == "svg"
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
22 ; tar -cf $imagesFile *.svg
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
23 #else
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
24 ; tar -cf $imagesFile *.ss
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
25 #end if
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
26 ]]>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
27 </command>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
28 <inputs>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
29 <param format="txt" name="input" type="data" label="Fasta file"/>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
30 <param name="layoutSelector" type="select" label="Layout selection">
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
31 <option value="0">Radial Layout</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
32 <option value="1" selected="true">Naview Layout</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
33 </param>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
34 <conditional name="formatOptions">
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
35 <param name="formatSelector" type="select" label="Output format selection" help="--output-format">
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
36 <option value="ps" selected="true">Postscript (.ps)</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
37 <option value="gml">Graph Meta Language (.gml)</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
38 <option value="svg">Scalable Vector Graphics (.svg)</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
39 <option value="xrna">XRNA Save File (.ss)</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
40 </param>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
41 <when value="ps">
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
42 <param name="pre" size="200" type="text" label="Add annotation macros to postscript file" help="--pre"/>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
43 <param name="post" size="200" type="text" label="Add annotations to postscript file" help="--post"/>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
44 </when>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
45 </conditional>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
46 </inputs>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
47
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
48 <outputs>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
49 <data format="tar" name="imagesFile"/>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
50 </outputs>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
51 <tests>
2
5e58cbf27a05 Uploaded
rnateam
parents: 0
diff changeset
52 <test>
5e58cbf27a05 Uploaded
rnateam
parents: 0
diff changeset
53 <param name="input" value="rnaplot_input1.fas"/>
5e58cbf27a05 Uploaded
rnateam
parents: 0
diff changeset
54 <output name="imagesFile">
5e58cbf27a05 Uploaded
rnateam
parents: 0
diff changeset
55 <assert_contents>
5e58cbf27a05 Uploaded
rnateam
parents: 0
diff changeset
56 <has_line line="%%Title: RNA Secondary Structure Plot"/>
5e58cbf27a05 Uploaded
rnateam
parents: 0
diff changeset
57 </assert_contents>
5e58cbf27a05 Uploaded
rnateam
parents: 0
diff changeset
58 </output>
5e58cbf27a05 Uploaded
rnateam
parents: 0
diff changeset
59 </test>
0
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
60 </tests>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
61 <help>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
62 <![CDATA[
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
63
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
64 **RNAplot**
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
65
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
66 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.
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
67
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
68 -----
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
69
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
70 **Input format**
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
71
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
72 RNAplot requires one input file
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
73
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
74 - Fasta file with an additional line with structure information in dot-bracket notation
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
75
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
76 ------
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
77
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
78 **Outputs**
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
79
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
80 - several possible postscript images bundled together in a tar file
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
81
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
82
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
83 ]]>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
84 </help>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
85 <expand macro="requirements" />
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
86 </tool>