0
|
1 <tool id="xenaAdmin" name="Xena Administration" version="0.0.2">
|
|
2 <description>Administer the Galaxy-embedded Xena: start, check status, stop, backup, restore</description>
|
|
3 <requirements>
|
|
4 <requirement type="package" version="1.0">installXena</requirement>
|
|
5 </requirements>
|
|
6 <command interpreter="python">
|
|
7 #if $adminAction.actionType == "backup":
|
|
8 xena_backup.py ${adminAction.backupDir} $outfile
|
|
9 #else:
|
|
10 #if $adminAction.actionType == "restore":
|
|
11 xena_restore.py ${adminAction.restoreDir} $outfile
|
|
12 #else:
|
|
13 runXena.py ${adminAction.actionType} $outfile
|
|
14 #end if
|
|
15 #end if
|
|
16 </command>
|
|
17 <inputs>
|
|
18 <conditional name="adminAction">
|
|
19 <param format="str" type="select" name = "actionType" label="Action">
|
|
20 <option value="status">Check Status</option>
|
|
21 <option value="start">Start Xena</option>
|
|
22 <option value="stop">Stop Xena</option>
|
|
23 <option value="backup">Backup the Xena data to an external directory</option>
|
|
24 <option value="restore">Restore data to Xena from an external backup directory</option>
|
|
25 </param>
|
|
26 <when value="backup">
|
|
27 <param label="External Directory" type="text" name="backupDir" value="/tmp/xena_files"/>
|
|
28 </when>
|
|
29 <when value="restore">
|
|
30 <param label="Backup Directory" type="text" name="restoreDir" value="/tmp/xena_files"/>
|
|
31 </when>
|
|
32 <when value="status"/>
|
|
33 <when value="start"/>
|
|
34 <when value="stop"/>
|
|
35 </conditional>
|
|
36 </inputs>
|
|
37 <outputs>
|
|
38 <data format="txt" name="outfile"/>
|
|
39 </outputs>
|
|
40 <help>
|
|
41
|
|
42 **Xena Administration**
|
|
43
|
|
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.
|
|
45
|
|
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.
|
|
47
|
|
48 </help>
|
|
49 </tool>
|
|
50
|
|
51
|
|
52
|