Mercurial > repos > melissacline > ucsc_xena_platform
diff xenaAdmin.xml @ 0:8bb037f88ed2
Uploaded
author | melissacline |
---|---|
date | Tue, 13 Jan 2015 23:37:23 -0500 |
parents | |
children | ca4510434eda |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xenaAdmin.xml Tue Jan 13 23:37:23 2015 -0500 @@ -0,0 +1,52 @@ +<tool id="xenaAdmin" name="Xena Administration" version="0.0.2"> + <description>Administer the Galaxy-embedded Xena: start, check status, stop, backup, restore</description> + <requirements> + <requirement type="package" version="1.0">installXena</requirement> + </requirements> + <command interpreter="python"> + #if $adminAction.actionType == "backup": + xena_backup.py ${adminAction.backupDir} $outfile + #else: + #if $adminAction.actionType == "restore": + xena_restore.py ${adminAction.restoreDir} $outfile + #else: + runXena.py ${adminAction.actionType} $outfile + #end if + #end if + </command> + <inputs> + <conditional name="adminAction"> + <param format="str" type="select" name = "actionType" label="Action"> + <option value="status">Check Status</option> + <option value="start">Start Xena</option> + <option value="stop">Stop Xena</option> + <option value="backup">Backup the Xena data to an external directory</option> + <option value="restore">Restore data to Xena from an external backup directory</option> + </param> + <when value="backup"> + <param label="External Directory" type="text" name="backupDir" value="/tmp/xena_files"/> + </when> + <when value="restore"> + <param label="Backup Directory" type="text" name="restoreDir" value="/tmp/xena_files"/> + </when> + <when value="status"/> + <when value="start"/> + <when value="stop"/> + </conditional> + </inputs> + <outputs> + <data format="txt" name="outfile"/> + </outputs> + <help> + +**Xena Administration** + +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. + +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. + + </help> +</tool> + + +