annotate README.rst @ 7:0c6b14f3fefc draft

Attempt to fix installation of tool dependencies for UCSC/bigwig generation, and trap for undefined genome build.
author pjbriggs
date Tue, 21 Apr 2015 08:29:16 -0400
parents a881c5b7162c
children 7aecd0908b3c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
1 MACS21: Model-based Analysis of ChIP-Seq (MACS 2.1.0)
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
2 =====================================================
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
3
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
4 Galaxy tool wrapper for the MACS 2.1.0 ChIP-seq peak calling program. MACS has been
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
5 developed by Tao Lui
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
6 https://github.com/taoliu/MACS/
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
7
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
8 The reference for MACS is:
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
9
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
10 - Zhang Y, Liu T, Meyer CA, Eeckhoute J, Johnson DS, Bernstein BE, Nusbaum C, Myers
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
11 RM, Brown M, Li W, Liu XS. Model-based analysis of ChIP-Seq (MACS). Genome Biol.
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
12 2008;9(9):R137
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
13
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
14 Automated installation
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
15 ======================
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
16
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
17 Installation via the Galaxy Tool Shed will take of installing the tool wrapper and
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
18 the MACS 2.1.0 program.
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
19
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
20 Manual Installation
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
21 ===================
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
22
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
23 There are two files to install:
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
24
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
25 - ``macs21_wrapper.xml`` (the Galaxy tool definition)
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
26 - ``macs21_wrapper.py.sh`` (the Python script wrapper)
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
27
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
28 The suggested location is in a ``tools/macs21/`` folder. You will then
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
29 need to modify the ``tools_conf.xml`` file to tell Galaxy to offer the tool
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
30 by adding the line:
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
31
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
32 <tool file="macs21/macs21_wrapper.xml" />
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
33
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
34 You will also need to install MACS 2.1.0:
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
35
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
36 - https://pypi.python.org/pypi/MACS2
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
37
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
38 and ensure that it's on your Galaxy user's ``PATH`` when running the tool.
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
39
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
40 If you want to run the functional tests, copy the sample test files under
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
41 sample test files under Galaxy's ``test-data/`` directory. Then:
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
42
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
43 ./run_tests.sh -id macs2_wrapper
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
44
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
45 (However there are no tests defined at present.)
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
46
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
47 History
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
48 =======
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
49
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
50 This tool is based on the ``modencode-dcc`` MACS2 tool developed by Ziru Zhou
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
51 (ziruzhou@gmail.com), specifically the ``16:14f378e35191`` revision of the
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
52 tool at
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
53
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
54 - http://toolshed.g2.bx.psu.edu/view/modencode-dcc/macs2
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
55
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
56 It has been substantially modified both to adapt it to MACS 2.1.0, and to
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
57 re-implement the internal workings of the tool to conform with current practices
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
58 in invoking commands from Galaxy.
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
59
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
60 ========== ======================================================================
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
61 Version Changes
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
62 ---------- ----------------------------------------------------------------------
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
63 2.1.0-2 - Add option to create bigWig file from bedGraphs; fix bug with -B
4
a881c5b7162c More changes for tool dependencies.
pjbriggs
parents: 2
diff changeset
64 option; make --mfold defaults consistent.
2
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
65 2.1.0-1 - Initial version
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
66 ========== ======================================================================
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
67
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
68
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
69 Developers
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
70 ==========
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
71
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
72 This tool is developed on the following GitHub repository:
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
73 https://github.com/fls-bioinformatics-core/galaxy-tools/tree/master/macs21
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
74
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
75 For making the "Galaxy Tool Shed" http://toolshed.g2.bx.psu.edu/ tarball I use
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
76 the ``package_macs21_wrapper.sh`` script.
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
77
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
78
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
79 Licence (MIT)
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
80 =============
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
81
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
82 Permission is hereby granted, free of charge, to any person obtaining a copy
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
83 of this software and associated documentation files (the "Software"), to deal
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
84 in the Software without restriction, including without limitation the rights
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
85 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
86 copies of the Software, and to permit persons to whom the Software is
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
87 furnished to do so, subject to the following conditions:
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
88
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
89 The above copyright notice and this permission notice shall be included in
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
90 all copies or substantial portions of the Software.
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
91
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
92 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
93 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
94 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
95 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
96 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
97 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
15889783e759 Fix bugs in tool operation and update dependencies.
pjbriggs
parents:
diff changeset
98 THE SOFTWARE.