annotate tools/clc_assembly_cell/README.rst @ 1:5ae1c0312aaa draft

v0.0.3 citation information and internal changes
author peterjc
date Wed, 05 Aug 2015 10:57:39 -0400
parents 0996169ac2e8
children 139b6f0a0bb5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
1 Galaxy wrapper for the CLC Assembly Cell suite from CLCbio
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
2 ==========================================================
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
3
1
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
4 This wrapper is copyright 2013-2015 by Peter Cock, The James Hutton Institute
0
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
5 (formerly SCRI, Scottish Crop Research Institute), UK. All rights reserved.
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
6 See the licence text below.
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
7
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
8 CLC Assembly Cell is the commercial command line assembly suite from CLCbio.
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
9 It uses SIMD instructions to parallelize and accelerate their assembly
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
10 algorithms, and is also very memory efficient making it an appealing choice
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
11 for complex genomes where the RAM requirements exclude other popular tools.
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
12
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
13 For more information:
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
14 http://www.clcbio.com/products/clc-assembly-cell/
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
15
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
16 You can download the CLC Assembly Cell User Manual here, currently v4.2
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
17 http://www.clcbio.com/files/usermanuals/CLC_Assembly_Cell_User_Manual.pdf
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
18
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
19 There is also an online manual here:
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
20 http://clcsupport.com/clcassemblycell/current/index.php?manual=Introduction.html
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
21
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
22 There is currently a free trial download here:
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
23 http://www.clcbio.com/?action=transfer_user&productVersion=4.2&productID=6982&productName=CLC+Assembly+Cell&nonce=db842e3f95
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
24
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
25 This wrapper is available from the Galaxy Tool Shed at:
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
26 http://toolshed.g2.bx.psu.edu/view/peterjc/clc_assembly_cell
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
27
1
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
28 This Galaxy wrapper was written and tested using CLC Assembly Cell v4.1.0,
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
29 specifically ``clc_assember`` and ``clc_mapper`` binaries for 64 bit Linux
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
30 which report version 4.10.86742 at the command line.
0
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
31
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
32
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
33 Automated Installation
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
34 ======================
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
35
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
36 This should be straightforward, Galaxy should automatically download and
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
37 install the wrapper from the Galaxy Tool Shed. However, you will need to
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
38 manually install the CLC Assembly Cell software, and setup the environment
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
39 variable ``$CLC_ASSEMBLY_CELL`` to the directory containing the binaries
1
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
40 (in particular, binaries ``clc_assembler``, ``clc_mapper`` and
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
41 ``clc_cas_to_sam``). For example::
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
42
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
43 $ export CLC_ASSEMBLY_CELL=/opt/clcbio/clc-assembly-cell-4.1.0-linux_64/
0
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
44
1
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
45 If your CLC Bio licence is restricted to specific machines on your cluster,
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
46 use Galaxy's job configuration settings to ensure CLC jobs are only sent
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
47 to those licenced computers. For SGE, we use the ``-l hostname="..."``
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
48 option to do this. Alternatively your cluster administrator might setup
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
49 a dedicated job queue.
0
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
50
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
51
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
52 Manual Installation
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
53 ===================
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
54
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
55 First install the CLC Assembly Cell sortware as described above.
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
56
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
57 To install the wrapper copy or move the following files under the Galaxy tools
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
58 folder, e.g. in a ``tools/clcbio/`` folder:
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
59
1
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
60 * ``clc_assembler.xml`` (Galaxy tool definition)
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
61 * ``clc_mapper.xml`` (Galaxy tool definition)
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
62 * ``README.rst`` (this file)
0
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
63
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
64 You will also need to modify the ``tools_conf.xml`` file to tell Galaxy to offer
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
65 the tools. Just all these line, for example next to other assembly tools::
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
66
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
67 <tool file="clc_assembly_cell/clc_assembler.xml" />
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
68 <tool file="clc_assembly_cell/clc_mapper.xml" />
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
69
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
70 If you wish to run the unit tests, also move/copy the ``test-data/`` files
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
71 under Galaxy's ``test-data/`` folder. Then run::
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
72
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
73 $ ./run_tests.sh -id clc_assembler
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
74 $ ./run_tests.sh -id clc_mapper
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
75
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
76 That's it.
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
77
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
78
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
79 History
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
80 =======
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
81
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
82 ======= ======================================================================
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
83 Version Changes
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
84 ------- ----------------------------------------------------------------------
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
85 v0.0.1 - Initial public release.
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
86 v0.0.2 - Actually use the ``$CLC_ASSEMBLY_CELL`` environment variable.
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
87 - Enable and fixed the tests.
1
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
88 v0.0.3 - Reorder XML elements (internal change only).
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
89 - Added citation tags.
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
90 - Planemo for Tool Shed upload (``.shed.yml``, internal change only).
0
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
91 ======= ======================================================================
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
92
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
93
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
94 Developers
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
95 ==========
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
96
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
97 Development is on this itHub repository:
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
98 https://github.com/peterjc/pico_galaxy/tree/master/tools/clc_assembly_cell
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
99
1
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
100 For pushing a release to the test or main "Galaxy Tool Shed", use the following
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
101 Planemo commands (which requires you have set your Tool Shed access details in
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
102 ``~/.planemo.yml`` and that you have access rights on the Tool Shed)::
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
103
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
104 $ planemo shed_update --shed_target testtoolshed --check_diff ~/repositories/pico_galaxy/tools/clc_assembly_cell/
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
105 ...
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
106
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
107 or::
0
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
108
1
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
109 $ planemo shed_update --shed_target toolshed --check_diff ~/repositories/pico_galaxy/tools/clc_assembly_cell/
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
110 ...
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
111
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
112 To just build and check the tar ball, use::
0
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
113
1
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
114 $ planemo shed_upload --tar_only ~/repositories/pico_galaxy/tools/clc_assembly_cell/
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
115 ...
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
116 $ tar -tzf shed_upload.tar.gz
5ae1c0312aaa v0.0.3 citation information and internal changes
peterjc
parents: 0
diff changeset
117 test-data/NC_010642.fna
0
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
118 tools/clc_assembly_cell/README.rst
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
119 tools/clc_assembly_cell/clc_assembler.xml
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
120 tools/clc_assembly_cell/clc_mapper.xml
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
121 tools/clc_assembly_cell/tool_dependencies.xml
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
122
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
123
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
124 Licence (MIT)
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
125 =============
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
126
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
127 Permission is hereby granted, free of charge, to any person obtaining a copy
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
128 of this software and associated documentation files (the "Software"), to deal
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
129 in the Software without restriction, including without limitation the rights
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
130 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
131 copies of the Software, and to permit persons to whom the Software is
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
132 furnished to do so, subject to the following conditions:
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
133
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
134 The above copyright notice and this permission notice shall be included in
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
135 all copies or substantial portions of the Software.
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
136
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
137 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
138 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
139 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
140 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
141 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
142 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
143 THE SOFTWARE.
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
144
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
145 NOTE: This is the licence for the Galaxy Wrapper only. The CLCbio tools are
0996169ac2e8 Uploaded v0.0.2, previously only on the TestToolShed
peterjc
parents:
diff changeset
146 commercial, and are available and licenced separately.