annotate xenaAdmin.xml @ 47:b19e848f9886

update xena to v16
author jingchunzhu
date Fri, 07 Aug 2015 17:01:10 -0700
parents 77f5d8cbac77
children
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">
30
77f5d8cbac77 add functionality to check the version of the current running xena server on the galaxy system
Jing Zhu <jzhu@soe.ucsc.edu>
parents: 1
diff changeset
2 <description>Administer the Galaxy-embedded Xena: start, check status, stop, check xena version, backup, restore</description>
0
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
1
ca4510434eda Moved the xena delete functionality into xena admin
melissacline
parents: 0
diff changeset
9 #else if $adminAction.actionType == "restore":
ca4510434eda Moved the xena delete functionality into xena admin
melissacline
parents: 0
diff changeset
10 xena_restore.py ${adminAction.restoreDir} $outfile
ca4510434eda Moved the xena delete functionality into xena admin
melissacline
parents: 0
diff changeset
11 #else if $adminAction.actionType == "delete":
ca4510434eda Moved the xena delete functionality into xena admin
melissacline
parents: 0
diff changeset
12 xena_delete.py ${adminAction.datasetId} $outfile
0
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
13 #else:
1
ca4510434eda Moved the xena delete functionality into xena admin
melissacline
parents: 0
diff changeset
14 runXena.py ${adminAction.actionType} $outfile
0
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>
30
77f5d8cbac77 add functionality to check the version of the current running xena server on the galaxy system
Jing Zhu <jzhu@soe.ucsc.edu>
parents: 1
diff changeset
23 <option value="version">Check Current Xena Server Version</option>
0
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
24 <option value="backup">Backup the Xena data to an external directory</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
25 <option value="restore">Restore data to Xena from an external backup directory</option>
1
ca4510434eda Moved the xena delete functionality into xena admin
melissacline
parents: 0
diff changeset
26 <option value="delete">Delete a dataset from the local Galaxy-embedded Xena</option>
0
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
27 </param>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
28 <when value="backup">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
29 <param label="External Directory" type="text" name="backupDir" value="/tmp/xena_files"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
30 </when>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
31 <when value="restore">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
32 <param label="Backup Directory" type="text" name="restoreDir" value="/tmp/xena_files"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
33 </when>
1
ca4510434eda Moved the xena delete functionality into xena admin
melissacline
parents: 0
diff changeset
34 <when value="delete">
ca4510434eda Moved the xena delete functionality into xena admin
melissacline
parents: 0
diff changeset
35 <param label="Dataset ID" type="text" name="datasetId"/>
ca4510434eda Moved the xena delete functionality into xena admin
melissacline
parents: 0
diff changeset
36 </when>
0
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
37 <when value="status"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
38 <when value="start"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
39 <when value="stop"/>
30
77f5d8cbac77 add functionality to check the version of the current running xena server on the galaxy system
Jing Zhu <jzhu@soe.ucsc.edu>
parents: 1
diff changeset
40 <when value="version"/>
0
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
41 </conditional>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
42 </inputs>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
43 <outputs>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
44 <data format="txt" name="outfile"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
45 </outputs>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
46 <help>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
47
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
48 **Xena Administration**
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
49
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
50 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
51
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
52 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.
1
ca4510434eda Moved the xena delete functionality into xena admin
melissacline
parents: 0
diff changeset
53
ca4510434eda Moved the xena delete functionality into xena admin
melissacline
parents: 0
diff changeset
54 Finally, you can use this tool to remove a dataset from the Galaxy-embedded local Xena. Simply indicate the dataset by Dataset ID, which you will find under the Xena Data Pages.
0
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
55
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
56 </help>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
57 </tool>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
58
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
59
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
60