0
|
1 .. image:: https://travis-ci.org/abaizan/kodoja_galaxy.svg?branch=master
|
|
2 :alt: Linux testing with TravisCI
|
|
3 :target: https://travis-ci.org/abaizan/kodoja_galaxy/branches
|
|
4
|
|
5 This is a Galaxy wrapper for the tool Kodoja, which is available to install in
|
|
6 conda from bioconda.
|
|
7
|
|
8 https://github.com/abaizan/kodoja
|
|
9
|
|
10 Galaxy wrappers for Kodoja
|
|
11 ==========================
|
|
12
|
|
13 These wrappers are copyright 2018 by Amanda Baizan Edge (University of
|
|
14 St Andrews, and The James Hutton Institute) and Peter Cock (The James
|
|
15 Hutton Institute). They are released under the MIT licence.
|
|
16
|
|
17 These wrappers are available from the Galaxy Tool Shed at:
|
|
18 http://toolshed.g2.bx.psu.edu/view/abaizan/kodoja
|
|
19
|
|
20 In-development test releases are available from the Test Tool Shed at:
|
|
21 http://testtoolshed.g2.bx.psu.edu/view/abaizan/kodoja
|
|
22
|
|
23
|
|
24 Citation
|
|
25 ========
|
|
26
|
|
27 Please refer to the main Kodoja citation instructions.
|
|
28
|
|
29
|
|
30 Automated Installation
|
|
31 ======================
|
|
32
|
|
33 Galaxy should be able to automatically install the dependencies, namely
|
|
34 ``kodoja`` and its dependencies like ``kraken`` and ``kaiju``, using the
|
|
35 conda and the bioconda recipes.
|
|
36
|
|
37 See the configuration notes below.
|
|
38
|
|
39
|
|
40 Configuration
|
|
41 =============
|
|
42
|
|
43 You must tell Galaxy about any Kraken and Kaiju databases using configuration
|
|
44 files ``kraken_databases.loc`` and ``kaiju_databases.loc`` which are located
|
|
45 in the ``tool-data/`` folder. Sample files are included which explain the
|
|
46 tab-based format to use.
|
|
47
|
1
|
48 For example, using https://doi.org/10.5281/zenodo.1406071 which is the
|
|
49 database provided with Kodoja::
|
|
50
|
|
51 $ cd /mnt/shared/data/
|
|
52 $ mkdir kodojaDB_v1.0
|
|
53 $ cd kodojaDB_v1.0
|
|
54 $ wget https://zenodo.org/record/1406071/files/kodojaDB_v1.0.tar.gz
|
|
55 $ tar -zxvf kodojaDB_v1.0.tar.gz
|
|
56
|
3
|
57 Each installed version of Kodoja (or Kraken or Kaiju) will have its own
|
|
58 ``*.loc`` files, which Galaxy will merge into a single list. e.g.::
|
|
59
|
|
60 $ find /path/to/galaxy/tool-data -name kaiju_databases.loc
|
|
61 $ find /path/to/galaxy/tool-data -name kraken_databases.loc
|
|
62
|
|
63 Edit a ``kraken_databases.loc`` file to add a line like this, where
|
|
64 ``(tab)`` represents inserting a tab character (NOT spaces)::
|
1
|
65
|
|
66 kodojaDB_v1.0_kraken(tab)KodojaDB v1.0 (kraken), Sept 2018(tab)/mnt/shared/data/kodojaDB_v1.0/krakenDB
|
|
67
|
3
|
68 And likewise update ``kaiju_databases.loc`` with a line like::
|
1
|
69
|
|
70 kodojaDB_v1.0_kaiju(tab)KodojaDB v1.0 (kaiju), Sept 2018(tab)/mnt/shared/data/kodojaDB_v1.0/kaijuDB
|
|
71
|
|
72 At the time of writing, reloading the ``*.loc`` files required restarting
|
3
|
73 the Galaxy server, or doing this explicitly via the "Data tables registry"
|
|
74 available under Server Administration if logged into Galaxy as an administator.
|
|
75
|
|
76 It is our personal preference to work with ``tool-data/kraken_databases.loc``
|
|
77 and ``tool-data/kaiju_databases.loc``, but if these are being ignored, you
|
|
78 *may* need to enable this by adding the XML data table entries from our file
|
|
79 ``tool_data_table_conf.xml.sample`` to ``config/tool_data_table_conf.xml``.
|
1
|
80
|
0
|
81
|
|
82 History
|
|
83 =======
|
|
84
|
|
85 ======= ======================================================================
|
|
86 Version Changes
|
|
87 ------- ----------------------------------------------------------------------
|
|
88 v0.0.0 - Initial release covering ``kodoja_search.py`` v0.0.3.
|
1
|
89 v0.0.4 - Minor update to call ``kodoja_search.py`` v0.0.4.
|
|
90 v0.0.6 - Minor update to call ``kodoja_search.py`` v0.0.6.
|
|
91 - Document installing the Kodoja databases from Zenodo.
|
2
|
92 v0.0.7 - Minor update to call ``kodoja_search.py`` v0.0.6.
|
|
93 - Update help text, including zeros in columns 6 and 7.
|
|
94 - Support ``$GALAXY_SLOTS``, defaulting to using four threads.
|
3
|
95 v0.0.8 - Minor update to call ``kodoja_search.py`` v0.0.8.
|
|
96 - Option to capture the ``kodoja_VRL.tsv`` read table.
|
|
97 - Accept ``kraken_databases.loc`` entry style for old Kraken wrapper.
|
0
|
98 ======= ======================================================================
|
|
99
|
|
100
|
|
101 Bug Reports
|
|
102 ===========
|
|
103
|
|
104 File a Galaxy wrapper issue at https://github.com/abaizan/kodoja_galaxy/issues
|
|
105
|
|
106 For issues with Kodoja itself, use https://github.com/abaizan/kodoja/issues
|
|
107
|
|
108
|
|
109 Developers
|
|
110 ==========
|
|
111
|
|
112 For pushing a release to the test or main "Galaxy Tool Shed", use the
|
|
113 following Planemo commands (which requires you have set your Tool Shed access
|
|
114 details in ``~/.planemo.yml`` and that you have access rights on the Tool
|
|
115 Shed)::
|
|
116
|
|
117 $ planemo shed_update -t testtoolshed --check_diff .
|
|
118 ...
|
|
119
|
|
120 or::
|
|
121
|
|
122 $ planemo shed_update -t toolshed --check_diff .
|
|
123 ...
|
|
124
|
|
125 To just build and check the tar ball, use::
|
|
126
|
|
127 $ planemo shed_upload -t testtoolshed --tar_only .
|
|
128 ...
|
|
129 $ tar -tzf shed_upload.tar.gz
|
|
130 LICENSE
|
|
131 README.rst
|
|
132 ...
|
|
133
|
|
134 This simplifies ensuring a consistent set of files is bundled each time,
|
|
135 including all the relevant test files.
|
|
136
|
|
137
|
|
138 Licence (MIT)
|
|
139 =============
|
|
140
|
|
141 Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
142 of this software and associated documentation files (the "Software"), to deal
|
|
143 in the Software without restriction, including without limitation the rights
|
|
144 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
145 copies of the Software, and to permit persons to whom the Software is
|
|
146 furnished to do so, subject to the following conditions:
|
|
147
|
|
148 The above copyright notice and this permission notice shall be included in
|
|
149 all copies or substantial portions of the Software.
|
|
150
|
|
151 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
152 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
153 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
154 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
155 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
156 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
157 THE SOFTWARE.
|