0
|
1 Galaxy wrapper for samtools depad
|
|
2 =================================
|
|
3
|
|
4 This wrapper is copyright 2014 by Peter Cock, The James Hutton Institute
|
|
5 (formerly SCRI, Scottish Crop Research Institute), UK. All rights reserved.
|
|
6 See the licence text below.
|
|
7
|
|
8 This is a wrapper for part of the command line samtools suite, v0.1.19
|
|
9
|
|
10 This wrapper is available from the Galaxy Tool Shed at:
|
|
11 http://toolshed.g2.bx.psu.edu/view/peterjc/samtools_idxstats
|
|
12
|
|
13
|
|
14 Automated Installation
|
|
15 ======================
|
|
16
|
|
17 This should be straightforward, Galaxy should automatically download and install
|
|
18 samtools 0.1.19 if required.
|
|
19
|
|
20
|
|
21 Manual Installation
|
|
22 ===================
|
|
23
|
|
24 This expects samtools to be on the $PATH, and was tested using v0.1.19.
|
|
25
|
|
26 To install the wrapper copy or move the following files under the Galaxy tools
|
|
27 folder, e.g. in a ``tools/samtools_depad`` folder:
|
|
28
|
|
29 * ``samtools_depad.xml`` (the Galaxy tool definition)
|
|
30 * ``samtools_depad.py`` (the Python wrapper script)
|
|
31 * ``README.rst`` (this file)
|
|
32
|
|
33 You will also need to modify the ``tools_conf.xml`` file to tell Galaxy to offer
|
|
34 the tool. Just add the line, perhaps under the NGS tools section::
|
|
35
|
|
36 <tool file="samtools_depad/samtools_depad.xml" />
|
|
37
|
|
38 If you wish to run the unit tests, also add this to ``tools_conf.xml.sample``
|
|
39 and move/copy the ``test-data`` files under Galaxy's ``test-data`` folder. Then::
|
|
40
|
|
41 $ ./run_functional_tests.sh -id samtools_depad
|
|
42
|
|
43 That's it.
|
|
44
|
|
45
|
|
46 History
|
|
47 =======
|
|
48
|
|
49 ======= ======================================================================
|
|
50 Version Changes
|
|
51 ------- ----------------------------------------------------------------------
|
|
52 v0.0.1 - Initial public release
|
|
53 ======= ======================================================================
|
|
54
|
|
55
|
|
56 Developers
|
|
57 ==========
|
|
58
|
|
59 Development is on this GitHub repository:
|
|
60 https://github.com/peterjc/pico_galaxy/tree/master/tools/samtools_depad
|
|
61
|
|
62 For making the "Galaxy Tool Shed" http://toolshed.g2.bx.psu.edu/ tarball use
|
|
63 the following command from the Galaxy root folder::
|
|
64
|
|
65 $ tar -czf samtools_depad.tar.gz tools/samtools_depad/README.rst tools/samtools_depad/samtools_depad.xml tools/samtools_depad/samtools_depad.py tools/samtools_depad/tool_dependencies.xml test-data/sam_spec_padded.fasta test-data/sam_spec_padded.sam test-data/sam_spec_padded.bam test-data/sam_spec_padded.depad.bam
|
|
66
|
|
67 Check this worked::
|
|
68
|
|
69 $ tar -tzf samtools_depad.tar.gz
|
|
70 tools/samtools_depad/README.rst
|
|
71 tools/samtools_depad/samtools_depad.xml
|
|
72 tools/samtools_depad/samtools_depad.py
|
|
73 tools/samtools_depad/tool_dependencies.xml
|
|
74 test-data/sam_spec_padded.fasta
|
|
75 test-data/sam_spec_padded.sam
|
|
76 test-data/sam_spec_padded.bam
|
|
77 test-data/sam_spec_padded.depad.bam
|
|
78
|
|
79
|
|
80 Licence (MIT)
|
|
81 =============
|
|
82
|
|
83 Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
84 of this software and associated documentation files (the "Software"), to deal
|
|
85 in the Software without restriction, including without limitation the rights
|
|
86 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
87 copies of the Software, and to permit persons to whom the Software is
|
|
88 furnished to do so, subject to the following conditions:
|
|
89
|
|
90 The above copyright notice and this permission notice shall be included in
|
|
91 all copies or substantial portions of the Software.
|
|
92
|
|
93 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
94 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
95 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
96 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
97 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
98 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
99 THE SOFTWARE.
|
|
100
|
|
101 NOTE: This is the licence for the Galaxy Wrapper only.
|
|
102 samtools is available and licenced separately.
|