Mercurial > repos > peterjc > samtools_idxstats
comparison tools/samtools_idxstats/README.rst @ 0:d4412c04d7b1 draft
Uploaded v0.0.1 (as tested previously on the Test Tool Shed)
author | peterjc |
---|---|
date | Wed, 20 Nov 2013 12:27:33 -0500 |
parents | |
children | 8945bad80f4a |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d4412c04d7b1 |
---|---|
1 Galaxy wrapper for samtools idxstats | |
2 ==================================== | |
3 | |
4 This wrapper is copyright 2013 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_idxstats`` folder: | |
28 | |
29 * samtools_idxstats.xml (the Galaxy tool definition) | |
30 * samtools_idxstats.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_idxstats/samtools_idxstats.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_idxstats | |
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 one this GitHub repository: | |
60 https://github.com/peterjc/pico_galaxy/tree/master/tools/samtools_idxstats | |
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_idxstats.tar.gz tools/samtools_idxstats/README.rst tools/samtools_idxstats/samtools_idxstats.xml tools/samtools_idxstats/samtools_idxstats.py tools/samtools_idxstats/tool_dependencies.xml test-data/ex1.bam test-data/ex1.idxstats.tabular | |
66 | |
67 Check this worked:: | |
68 | |
69 $ tar -tzf samtools_idxstats.tar.gz | |
70 tools/samtools_idxstats/README.rst | |
71 tools/samtools_idxstats/samtools_idxstats.xml | |
72 tools/samtools_idxstats/samtools_idxstats.py | |
73 tools/samtools_idxstats/tool_dependencies.xml | |
74 test-data/ex1.bam | |
75 test-data/ex1.idxstats.tabular | |
76 | |
77 | |
78 Licence (MIT) | |
79 ============= | |
80 | |
81 Permission is hereby granted, free of charge, to any person obtaining a copy | |
82 of this software and associated documentation files (the "Software"), to deal | |
83 in the Software without restriction, including without limitation the rights | |
84 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
85 copies of the Software, and to permit persons to whom the Software is | |
86 furnished to do so, subject to the following conditions: | |
87 | |
88 The above copyright notice and this permission notice shall be included in | |
89 all copies or substantial portions of the Software. | |
90 | |
91 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
92 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
93 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
94 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
95 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
96 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | |
97 THE SOFTWARE. | |
98 | |
99 NOTE: This is the licence for the Galaxy Wrapper only. | |
100 samtools is available and licenced separately. |