comparison create_or_update_organism.xml @ 3:d4ae83dedb14 draft

planemo upload for repository https://github.com/TAMU-CPT/galaxy-webapollo commit 4ac38d0b6dba1183f3e78eb5c224c7051064b4a5
author eric-rasche
date Thu, 12 Jan 2017 11:52:28 -0500
parents 6002cc0df04e
children 7610987e0c48
comparison
equal deleted inserted replaced
2:c8e16c8eff98 3:d4ae83dedb14
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <tool id="edu.tamu.cpt2.webapollo.create_or_update" name="WA2: Create or Update Organism" version="1.5"> 2 <tool id="edu.tamu.cpt2.webapollo.create_or_update" name="Create or Update Organism" version="3.0">
3 <description>will create the organism if it doesn't exist, and update otherwise</description> 3 <description>will create the organism if it doesn't exist, and update otherwise</description>
4 <macros> 4 <macros>
5 <import>macros.xml</import> 5 <import>macros.xml</import>
6 </macros> 6 </macros>
7 <code file="webapollo.py"/>
7 <expand macro="requirements"/> 8 <expand macro="requirements"/>
8 <command detect_errors="aggressive"><![CDATA[ 9 <command detect_errors="aggressive"><![CDATA[
9 cp -R ${jbrowse.extra_files_path}/data/ /opt/apollo/data/galaxy/${jbrowse.id}; 10 cp -R ${jbrowse.extra_files_path}/data/ @DATA_DIR@/${jbrowse.id};
10 11
11 python $__tool_directory__/create_or_update_organism.py 12 python $__tool_directory__/create_or_update_organism.py
12 13
13 @AUTH@ 14 @ADMIN_AUTH@
14
15 #if str($blatdb) != "None":
16 --blatdb "$blatdb"
17 #end if
18 15
19 --genus "$genus" 16 --genus "$genus"
20 --species "$species" 17 --species "$species"
21 $public 18 $public
22 19
23 @CN_OR_GUESS@ 20 @ORG_OR_GUESS@
24 21
25 "/opt/apollo/data/galaxy/${jbrowse.id}" 22 "@DATA_DIR@/${jbrowse.id}"
26 23
27 $__user_email__ 24 $__user_email__
28 25
29 > $output]]></command> 26 > $output]]></command>
30 <inputs> 27 <inputs>
31 <param name="jbrowse" type="data" format="html" label="JBrowse HTML Output" /> 28 <param name="jbrowse" type="data" format="html" label="JBrowse HTML Output" />
32 <param name="blatdb" type="data" label="Blat DB" optional="True" /> 29 <expand macro="org_or_guess" />
33 30 <param name="genus" type="text" label="Genus" optional="False" />
34 <expand macro="cn_or_guess" /> 31 <param name="species" type="text" label="Species" optional="True" />
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" /> 32 <param name="public" type="boolean" truevalue="--public" falsevalue="" label="Is Organism Public" />
38 </inputs> 33 </inputs>
39 <outputs> 34 <outputs>
40 <data format="json" name="output"/> 35 <data format="json" name="output"/>
41 </outputs> 36 </outputs>
42 <help><![CDATA[ 37 <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** 38 **What it does**
51 39
52 Adds an organism to the Apollo database. The tool takes the output of a 40 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 41 JBrowse run as that contains all of the necessary information for which
54 tracks are appropriate for a given analysis. 42 tracks are appropriate for a given analysis.
55 43
44 **WARNINGS**
45
46 - Do not use names which conflict with other users.
47 - If you provide an Apollo JSON file, only the first organism block will
48 be used in Common Name determination, as it is improbable you wish to
49 apply a single JBrowse instance to multiple organisms.
50
56 @REFERENCES@ 51 @REFERENCES@
57 ]]></help> 52 ]]></help>
58 </tool> 53 </tool>