annotate xenaAdmin.xml @ 0:8bb037f88ed2

Uploaded
author melissacline
date Tue, 13 Jan 2015 23:37:23 -0500
parents
children ca4510434eda
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
1 <tool id="xenaAdmin" name="Xena Administration" version="0.0.2">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
2 <description>Administer the Galaxy-embedded Xena: start, check status, stop, backup, restore</description>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
3 <requirements>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
4 <requirement type="package" version="1.0">installXena</requirement>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
5 </requirements>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
6 <command interpreter="python">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
7 #if $adminAction.actionType == "backup":
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
8 xena_backup.py ${adminAction.backupDir} $outfile
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
9 #else:
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
10 #if $adminAction.actionType == "restore":
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
11 xena_restore.py ${adminAction.restoreDir} $outfile
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
12 #else:
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
13 runXena.py ${adminAction.actionType} $outfile
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
14 #end if
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
15 #end if
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
16 </command>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
17 <inputs>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
18 <conditional name="adminAction">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
19 <param format="str" type="select" name = "actionType" label="Action">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
20 <option value="status">Check Status</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
21 <option value="start">Start Xena</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
22 <option value="stop">Stop Xena</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
23 <option value="backup">Backup the Xena data to an external directory</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
24 <option value="restore">Restore data to Xena from an external backup directory</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
25 </param>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
26 <when value="backup">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
27 <param label="External Directory" type="text" name="backupDir" value="/tmp/xena_files"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
28 </when>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
29 <when value="restore">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
30 <param label="Backup Directory" type="text" name="restoreDir" value="/tmp/xena_files"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
31 </when>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
32 <when value="status"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
33 <when value="start"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
34 <when value="stop"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
35 </conditional>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
36 </inputs>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
37 <outputs>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
38 <data format="txt" name="outfile"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
39 </outputs>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
40 <help>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
41
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
42 **Xena Administration**
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
43
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
44 Administer the Galaxy-embedded Xena by starting it, stopping it or checking its status. If you start Xena, or if you check the status while Xena is running, the output will indicate a URL for the Xena server that you can enter in the Xena Data Hub tool. After you add a new data hub with this URL, and select it, you will be able to see the data from this Xena in the Xena browser.
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
45
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
46 With this tool, you can also backup the data from your Galaxy-embedded Xena to an external directory on the same computer, and can restore data from a previous backup into the Xena database. If you wish to restore data, Xena must be running first.
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
47
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
48 </help>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
49 </tool>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
50
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
51
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
52