comparison create_or_update_organism.xml @ 0:6002cc0df04e draft

planemo upload for repository https://github.com/TAMU-CPT/galaxy-webapollo commit 4e5a5af7689f1713c34a6ad9a9594c205e762fdd
author eric-rasche
date Tue, 03 May 2016 13:38:55 -0400
parents
children d4ae83dedb14
comparison
equal deleted inserted replaced
-1:000000000000 0:6002cc0df04e
1 <?xml version="1.0"?>
2 <tool id="edu.tamu.cpt2.webapollo.create_or_update" name="WA2: Create or Update Organism" version="1.5">
3 <description>will create the organism if it doesn't exist, and update otherwise</description>
4 <macros>
5 <import>macros.xml</import>
6 </macros>
7 <expand macro="requirements"/>
8 <command detect_errors="aggressive"><![CDATA[
9 cp -R ${jbrowse.extra_files_path}/data/ /opt/apollo/data/galaxy/${jbrowse.id};
10
11 python $__tool_directory__/create_or_update_organism.py
12
13 @AUTH@
14
15 #if str($blatdb) != "None":
16 --blatdb "$blatdb"
17 #end if
18
19 --genus "$genus"
20 --species "$species"
21 $public
22
23 @CN_OR_GUESS@
24
25 "/opt/apollo/data/galaxy/${jbrowse.id}"
26
27 $__user_email__
28
29 > $output]]></command>
30 <inputs>
31 <param name="jbrowse" type="data" format="html" label="JBrowse HTML Output" />
32 <param name="blatdb" type="data" label="Blat DB" optional="True" />
33
34 <expand macro="cn_or_guess" />
35 <param name="genus" type="text" label="Host Bacteria" optional="True" />
36 <param name="species" type="text" label="Phage Name" optional="True" />
37 <param name="public" type="boolean" truevalue="--public" falsevalue="" label="Is Organism Public" />
38 </inputs>
39 <outputs>
40 <data format="json" name="output"/>
41 </outputs>
42 <help><![CDATA[
43 **NOTA BENE**
44
45 All organism data is currently shared. By using this tool your annotation data will be visible to your fellow lab members.
46 This will be fixed at a later date.
47
48 This only works with JBrowse v0.4 and above!
49
50 **What it does**
51
52 Adds an organism to the Apollo database. The tool takes the output of a
53 JBrowse run as that contains all of the necessary information for which
54 tracks are appropriate for a given analysis.
55
56 @REFERENCES@
57 ]]></help>
58 </tool>