Mercurial > repos > brinkmanlab > cheetah
comparison cheetah.xml @ 0:a3bb4353fb00 draft default tip
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/cheetah commit e773feeb6feb9d533eef40ae5cead068e46f596e"
| author | brinkmanlab |
|---|---|
| date | Tue, 28 Jan 2020 15:33:51 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:a3bb4353fb00 |
|---|---|
| 1 <tool id="cheetah" name="Cheetah" version="1.0" profile="16.04"> | |
| 2 <description>Generate reports using Galaxies built in Cheetah template engine and include information about datasets</description> | |
| 3 <command><![CDATA[ | |
| 4 mv $body $outfile | |
| 5 ]]></command> | |
| 6 <configfiles> | |
| 7 <configfile name="body"><![CDATA[ | |
| 8 #set $template_path = '/'.join([$__tool_data_path__, "cheetah", $template]) | |
| 9 #import os | |
| 10 #if '..' not in $template and $os.path.isfile($template_path) | |
| 11 #include $template_path | |
| 12 #else | |
| 13 <html> | |
| 14 <body> | |
| 15 $data.name is now complete. | |
| 16 #if $hasattr(__app__.config, "public_url") | |
| 17 You can view it <a href="${__app__.config.public_url}/datasets/${data.dataset.id}/display">here</a>. | |
| 18 #end if | |
| 19 </body> | |
| 20 </html> | |
| 21 #end if | |
| 22 ]]></configfile> | |
| 23 </configfiles> | |
| 24 <inputs> | |
| 25 <param name="data" type="data" format="data" multiple="true" label="Data" /> | |
| 26 <repeat name="extras" title="Extras"> | |
| 27 <param name="extra" type="text" label="Extra data to make available in the template body" /> | |
| 28 </repeat> | |
| 29 <param name="template" type="text" value="template.html" label="Template" help="Relative path of template to use in tool-data/cheetah/" /> | |
| 30 </inputs> | |
| 31 <outputs> | |
| 32 <data name="outfile" format="txt" /> | |
| 33 </outputs> | |
| 34 <help><![CDATA[ | |
| 35 Generate reports using Galaxies built in Cheetah template engine and include information about datasets | |
| 36 | |
| 37 Templates are parsed using Galaxies Cheeta Template Engine. The variables available are everything that is available to a tool including: | |
| 38 - $data Dataset instance passed to the tool input | |
| 39 - $extras[].extra List of extras specified in the tool parameters | |
| 40 - $template Relative path to the current template | |
| 41 | |
| 42 See this tools xml for an example template. | |
| 43 ]]></help> | |
| 44 <citations> | |
| 45 <citation type="doi">10.5281/zenodo.3364789</citation> | |
| 46 </citations> | |
| 47 </tool> |
