Mercurial > repos > melissacline > ucsc_xena_platform
comparison xenaAdmin.xml @ 1:ca4510434eda
Moved the xena delete functionality into xena admin
author | melissacline |
---|---|
date | Wed, 14 Jan 2015 12:47:23 -0800 |
parents | 8bb037f88ed2 |
children | 77f5d8cbac77 |
comparison
equal
deleted
inserted
replaced
0:8bb037f88ed2 | 1:ca4510434eda |
---|---|
4 <requirement type="package" version="1.0">installXena</requirement> | 4 <requirement type="package" version="1.0">installXena</requirement> |
5 </requirements> | 5 </requirements> |
6 <command interpreter="python"> | 6 <command interpreter="python"> |
7 #if $adminAction.actionType == "backup": | 7 #if $adminAction.actionType == "backup": |
8 xena_backup.py ${adminAction.backupDir} $outfile | 8 xena_backup.py ${adminAction.backupDir} $outfile |
9 #else if $adminAction.actionType == "restore": | |
10 xena_restore.py ${adminAction.restoreDir} $outfile | |
11 #else if $adminAction.actionType == "delete": | |
12 xena_delete.py ${adminAction.datasetId} $outfile | |
9 #else: | 13 #else: |
10 #if $adminAction.actionType == "restore": | 14 runXena.py ${adminAction.actionType} $outfile |
11 xena_restore.py ${adminAction.restoreDir} $outfile | |
12 #else: | |
13 runXena.py ${adminAction.actionType} $outfile | |
14 #end if | |
15 #end if | 15 #end if |
16 </command> | 16 </command> |
17 <inputs> | 17 <inputs> |
18 <conditional name="adminAction"> | 18 <conditional name="adminAction"> |
19 <param format="str" type="select" name = "actionType" label="Action"> | 19 <param format="str" type="select" name = "actionType" label="Action"> |
20 <option value="status">Check Status</option> | 20 <option value="status">Check Status</option> |
21 <option value="start">Start Xena</option> | 21 <option value="start">Start Xena</option> |
22 <option value="stop">Stop Xena</option> | 22 <option value="stop">Stop Xena</option> |
23 <option value="backup">Backup the Xena data to an external directory</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> | 24 <option value="restore">Restore data to Xena from an external backup directory</option> |
25 <option value="delete">Delete a dataset from the local Galaxy-embedded Xena</option> | |
25 </param> | 26 </param> |
26 <when value="backup"> | 27 <when value="backup"> |
27 <param label="External Directory" type="text" name="backupDir" value="/tmp/xena_files"/> | 28 <param label="External Directory" type="text" name="backupDir" value="/tmp/xena_files"/> |
28 </when> | 29 </when> |
29 <when value="restore"> | 30 <when value="restore"> |
30 <param label="Backup Directory" type="text" name="restoreDir" value="/tmp/xena_files"/> | 31 <param label="Backup Directory" type="text" name="restoreDir" value="/tmp/xena_files"/> |
32 </when> | |
33 <when value="delete"> | |
34 <param label="Dataset ID" type="text" name="datasetId"/> | |
31 </when> | 35 </when> |
32 <when value="status"/> | 36 <when value="status"/> |
33 <when value="start"/> | 37 <when value="start"/> |
34 <when value="stop"/> | 38 <when value="stop"/> |
35 </conditional> | 39 </conditional> |
42 **Xena Administration** | 46 **Xena Administration** |
43 | 47 |
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. | 48 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 | 49 |
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. | 50 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. |
51 | |
52 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. | |
47 | 53 |
48 </help> | 54 </help> |
49 </tool> | 55 </tool> |
50 | 56 |
51 | 57 |