annotate iReport.xml @ 4:a4813532bbc6 draft

Added MarkDown support
author saskia-hiltemann
date Tue, 07 Oct 2014 08:41:30 -0400
parents e8755431a0cd
children 4e21ce709269
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
1 <tool id="iReport-dev" name="iReport-dev" version="1">
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
2 <description> create an HTML report-dev </description>
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
3
2
e8755431a0cd fixed missing dependencies
saskia-hiltemann
parents: 1
diff changeset
4 <requirements>
e8755431a0cd fixed missing dependencies
saskia-hiltemann
parents: 1
diff changeset
5 <requirement type="set_environment">REPOSITORY_PATH</requirement>
e8755431a0cd fixed missing dependencies
saskia-hiltemann
parents: 1
diff changeset
6 </requirements>
4
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
7 <command interpreter="bash">
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
8 iReport.sh
2
e8755431a0cd fixed missing dependencies
saskia-hiltemann
parents: 1
diff changeset
9 --toolpath \$REPOSITORY_PATH
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
10 --galaxypath ${report.files_path}
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
11 --htmlout ${report}
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
12 --minwidth ${minwidth}
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
13 --coverimage "-${coverimage}"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
14 #for $i, $t in enumerate($tabs)
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
15 --tab ${t.tabtitle}
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
16 #for $j, $u in enumerate($t.content)
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
17 #if $u.filetype.itemtype == "image"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
18 --item "${t.tabtitle}:${u.filetype.itemtype}:${u.filetype.item}:${u.filetype.break}:${u.filetype.zoomlevel}:${u.filetype.zoomenable}:${u.filetype.align}"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
19 #else if $u.filetype.itemtype == "table"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
20 #if $u.filetype.collink.columnhyperlink == "Y"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
21 --item "${t.tabtitle}:${u.filetype.itemtype}:${u.filetype.item}:${u.filetype.break}:${u.filetype.fancy}:Y:${u.filetype.collink.urlcol}:${u.filetype.collink.urlprefix}:${u.filetype.collink.urlsuffix}:${u.filetype.collink.urlitems}"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
22 #else
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
23 --item "${t.tabtitle}:${u.filetype.itemtype}:${u.filetype.item}:${u.filetype.break}:${u.filetype.fancy}:N"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
24 #end if
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
25 #else if $u.filetype.itemtype == "link"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
26 --item "${t.tabtitle}:${u.filetype.itemtype}:${u.filetype.item}:${u.filetype.break}:${__app__.security.encode_id($u.filetype.item.id)}:${u.filetype.ireport}:${u.filetype.item2}"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
27 #else if $u.filetype.itemtype == "weblink"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
28 --item "${t.tabtitle}:${u.filetype.itemtype}:${u.filetype.item}:${u.filetype.break}:${u.filetype.item2}"
4
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
29 #else if $u.filetype.itemtype == "text"
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
30 --item "${t.tabtitle}:${u.filetype.itemtype}:${u.filetype.item}:${u.filetype.break}:${u.filetype.md}"
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
31 #else if $u.filetype.itemtype == "textfile"
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
32 --item "${t.tabtitle}:${u.filetype.itemtype}:${u.filetype.item}:${u.filetype.break}:${u.filetype.md}"
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
33 #else if $u.filetype.itemtype == "htmlfile"
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
34 --item "${t.tabtitle}:${u.filetype.itemtype}:${u.filetype.item}:${u.filetype.break}:${u.filetype.height}"
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
35 #else
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
36 --item "${t.tabtitle}:${u.filetype.itemtype}:${u.filetype.item}:${u.filetype.break}"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
37 #end if
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
38 #end for
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
39 #end for
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
40 --label "${label}"
4
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
41 </command>
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
42
4
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
43 <inputs>
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
44 <param name="label" type="text" size="100" label="Name of Report" >
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
45 <validator type="empty_field" />
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
46 </param>
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
47 <param name="coverimage" type="text" size="100" label="Link to cover image" help="Optional. A default image will be used if not specified"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
48 <param name="minwidth" type="integer" min="0" max="5000" value="1200" label="Width of page (in pixels)" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
49 <repeat name="tabs" title="Tab" default="1" >
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
50 <param name="tabtitle" type="text" size="50" label="Enter tab name">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
51 <sanitizer>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
52 <valid initial="default">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
53 <add preset="string.printable"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
54 <remove value="&quot;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
55 <remove value="\"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
56 <remove value="&#xA;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
57 <remove value="&#xD;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
58 <remove value="&amp;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
59 <remove value=":"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
60 <remove value=" "/>
4
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
61 <remove value="`"/>
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
62 </valid>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
63 <mapping initial="none">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
64 <add source="\" target="\\"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
65 <add source="&quot;" target="==quote=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
66 <add source="&amp;" target="&amp;&amp;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
67 <add source="&#xA;" target="&amp;n"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
68 <add source="&#xD;" target="&amp;r"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
69 <add source=":" target="==colon=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
70 <add source=" " target="_s_"/>
4
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
71 <add source="`" target="==backtick=="/>
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
72 </mapping>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
73 </sanitizer>
4
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
74 <validator type="empty_field" />
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
75 </param>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
76 <repeat name="content" title="Content-Item" default="1">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
77 <conditional name="filetype">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
78 <param name="itemtype" type="select" label="Select Item Type" >
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
79 <option value="" > Please choose item type </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
80 <option value="text" > Text Field </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
81 <option value="textfile" > Text File from history </option>
4
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
82 <option value="htmlfile"> HTML File from history </option>
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
83 <option value="image"> Image </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
84 <option value="pdf" > PDF File </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
85 <option value="table"> Table </option>
4
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
86 <option value="link" > Link to Dataset </option>
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
87 <option value="links"> Links to Files in Archive Dataset </option>
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
88 <option value="weblink" > Web link </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
89 <validator type="empty_field" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
90 </param>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
91 <when value="text">
4
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
92 <param name="md" type="boolean" truevalue="Y" falsevalue="n" checked="false" label="Text in MarkDown format?" help="If checked, text file or field will be interpreted as markdown"/>
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
93 <param name="item" type="text" area="true" size="10x100" label="Text to display." help="can explicitly add whitespace adding \n in your text for a newline or \t for a tab. HTML tags em, strong, b, i, h1-h6 tags" >
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
94 <sanitizer>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
95 <valid initial="default">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
96 <add preset="string.printable"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
97 <remove value="\"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
98 <remove value="/"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
99 <remove value=","/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
100 <remove value=":"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
101 <remove value="&lt;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
102 <remove value="&gt;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
103 <remove value="&apos;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
104 <remove value="&quot;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
105 <remove value="&#xA;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
106 <remove value="&#xD;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
107 <remove value="&amp;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
108 <remove value="&#x3a;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
109 <remove value=" "/>
4
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
110 <remove value="`"/>
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
111 <remove value="$"/>
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
112 <remove value="|"/>
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
113 </valid>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
114 <mapping initial="none">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
115 <add source="\" target="\\"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
116 <add source="/" target="==slash=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
117 <add source="&amp;" target="&amp;&amp;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
118 <add source="&#xA;" target="&amp;n"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
119 <add source="&#xD;" target="&amp;r"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
120 <add source="&#x3a;" target="&amp;c"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
121 <add source=" " target="==space=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
122 <add source="," target="==comma=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
123 <add source="&lt;" target="==lt=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
124 <add source="&gt;" target="==gt=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
125 <add source="&apos;" target="==apos=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
126 <add source="&quot;" target="==quote=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
127 <add source=":" target="==colon=="/>
4
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
128 <add source="`" target="==backtick=="/>
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
129 <add source="$" target="==dollar=="/>
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
130 <add source="|" target="==bar=="/>
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
131 </mapping>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
132 </sanitizer>
4
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
133 <validator type="empty_field" />
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
134 </param>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
135 <param name="break" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Insert break after item?"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
136 </when>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
137 <when value="textfile">
4
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
138 <param name="md" type="boolean" truevalue="Y" falsevalue="n" checked="false" label="Text in MarkDown format?" help="If checked, text file or field will be interpreted as markdown. Will use pandoc if this is installed on the system, else uses a custom script"/>
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
139 <param name="item" type="data" label="Text File" help="Text file to display verbatim"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
140 <param name="break" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Insert break after item?" help="Insert a line break to force next item to appear below this one. If unchecked, the browser will decide layout"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
141 </when>
4
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
142 <when value="htmlfile">
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
143 <param name="item" type="data" label="HTML File" help="Contents of html file will be displayed in an iframe"/>
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
144 <param name="height" type="integer" min="0" max="500000" value="350" label="Height (in pixels)" help="Height of the iFrame displaying the html page"/>
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
145 <param name="break" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Insert break after item?" help="Insert a line break to force next item to appear below this one. If unchecked, the browser will decide layout"/>
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
146 </when>
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
147 <when value="image">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
148 <param name="item" type="data" label="Image File" format="png,svg,jpg,jpeg" help="Supported formats: png, jpg, svg. If image is scaled by choice of width, zoom-on-mousover effect is added."/>
4
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
149 <param name="zoomlevel" type="integer" min="0" max="5000" value="250" label="Width (in pixels)" help="enter 0 to keep original size" />
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
150 <param name="zoomenable" type="boolean" checked="True" truevalue="Y" falsevalue="N" label="Enable zoom-on-mouseover effect?" help="If checked and nonzero width, zoom-on-mousover effect added"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
151 <param name="align" type="select" label="Alignment of image (float)" help="Use left or right align to have images and text next to each other. Always specify image first (with alignment), then text, if you want to show them side by side." >
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
152 <option value="none" > default (recommended) </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
153 <option value="left" > left </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
154 <option value="right" > right </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
155 <option value="middle"> center </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
156 <!--<option value="top"> top </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
157 <option value="bottom"> bottom </option>-->
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
158 </param>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
159 <param name="break" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Insert break after item?" help="Insert a line break to force next item to appear below this one. If unchecked, the browser will decide layout"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
160 </when>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
161 <when value="table">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
162 <param name="item" type="data" label="Table File" help="must be a tab-delimited file with a 1-line header" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
163 <param name="fancy" type="boolean" checked="True" truevalue="Y" falsevalue="N" label="Fancy table?" help="If selected, will create, sortable, searchable, paginated table. Otherwise not (for small tables)"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
164 <conditional name="collink">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
165 <param name="columnhyperlink" type="select" label="create url links from one of the columns in your table?" help="For example: from column with gene names, link to genecards page">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
166 <option value="N"> No </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
167 <option value="Y"> Yes </option>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
168 </param>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
169 <when value="Y">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
170 <param name="urlcol" type="data_column" data_ref="item" multiple="False" label="Column to turn in to weblinks" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
171 <param name="urlprefix" type="text" size="75" label="URL prefix" help="this will be placed before value in column to form the weblink. e.g. for genecards use: http://www.genecards.org/cgi-bin/carddisp.pl?gene=">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
172 <sanitizer>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
173 <valid initial="default">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
174 <add preset="string.printable"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
175 <remove value="&amp;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
176 <remove value=":"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
177 <remove value="/"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
178 <remove value=" "/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
179 </valid>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
180 <mapping initial="none">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
181 <add source="&amp;" target="==amp=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
182 <add source=":" target="==colon=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
183 <add source="/" target="//"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
184 <add source=" " target=""/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
185 </mapping>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
186 </sanitizer>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
187 </param>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
188 <param name="urlsuffix" type="text" size="75" label="URL suffix" help="this will be placed before value in column to form the weblink. e.g. For genecards, there is no suffix">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
189 <sanitizer>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
190 <valid initial="default">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
191 <add preset="string.printable"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
192 <remove value="&amp;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
193 <remove value="/"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
194 <remove value=" "/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
195 </valid>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
196 <mapping initial="none">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
197 <add source="&amp;" target="&amp;&amp;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
198 <add source="/" target="//"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
199 <add source=" " target=""/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
200 </mapping>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
201 </sanitizer>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
202 </param>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
203 <param name="urlitems" type="data" label="(Not yet implemented) Archive with files to link to" optional="true" help="Optional. Only if you want to link column entries to local files instead of websites" format="zip,gz,bz2,tar"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
204 </when>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
205 </conditional>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
206 <param name="break" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Insert break after item?" help="Insert a line break to force next item to appear below this one. If unchecked, the browser will decide layout"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
207 </when>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
208 <when value="pdf">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
209 <param name="item" type="data" label="PDF File" format="pdf"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
210 <param name="break" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Insert break after item?" help="Insert a line break to force next item to appear below this one. If unchecked, the browser will decide layout"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
211 </when>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
212 <when value="link">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
213 <param name="item" type="data" label="File to link to" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
214 <param name="item2" type="text" size="100" label="link text" help="text to display as a link"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
215 <param name="ireport" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="is the link another iReport?"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
216 <param name="break" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Insert break after item?" help="Insert a line break to force next item to appear below this one. If unchecked, the browser will decide layout"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
217 </when>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
218 <when value="links">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
219 <param name="item" type="data" label="Archive with files to link to" help="links will be created to each file in the archive. Supported formats: zip, gz, tar, bz2"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
220 <param name="break" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Insert break after item?" help="Insert a line break to force next item to appear below this one. If unchecked, the browser will decide layout" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
221 </when>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
222 <when value="weblink">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
223 <param name="item" type="text" size="100" label="web location to link to " help="url to link to">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
224 <sanitizer>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
225 <valid initial="default">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
226 <add preset="string.printable"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
227 <remove value="&amp;"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
228 <remove value=":"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
229 </valid>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
230 <mapping initial="none">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
231 <add source="&amp;" target="==amp=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
232 <add source=":" target="==colon=="/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
233 </mapping>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
234 </sanitizer>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
235 </param>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
236 <param name="item2" type="text" size="100" label="link text" help="text to display as a link"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
237 <param name="break" type="boolean" checked="False" truevalue="Y" falsevalue="N" label="Insert break after item?" help="Insert a line break to force next item to appear below this one. If unchecked, the browser will decide layout"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
238 </when>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
239 </conditional>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
240 </repeat>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
241 </repeat>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
242
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
243
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
244
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
245 </inputs>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
246
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
247 <outputs>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
248 <data format="html" name="report" label="HTML report: ${label}"/>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
249 </outputs>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
250
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
251 <help>
4
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
252 ============
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
253 iReport
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
254 ============
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
255
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
256 iReport is a tool for the easy creation of HTML reports from Galaxy datasets. Ideal to use as final step in a pipeline to display all results in a single, interactive report.
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
257
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
258
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
259 **What's new**
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
260
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
261 - MarkDown support
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
262 - HTML content item type
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
263 - Link to download entire iReport on cover page
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
264
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
265
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
266
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
267 **How to use**
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
268
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
269 - Specify report title and cover image (url)
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
270 - Add any number of named tabs
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
271 - Add content items to each tab
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
272
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
273 1. Text Field
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
274 2. Text File
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
275 3. PDF File
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
276 4. HTML File
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
277 5. Table
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
278 6. Image File
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
279 7. Links (URL/dataset)
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
280 8. Links to all files in an archive dataset
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
281
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
282 **Example History**
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
283
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
284 http://galaxy-demo.trait-ctmm.cloudlet.sara.nl/u/saskia-hiltemann/h/gcc2014-ireport-about-ireport
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
285
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
286
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
287
a4813532bbc6 Added MarkDown support
saskia-hiltemann
parents: 2
diff changeset
288
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
289 </help>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
290 </tool>