comparison tools/mira4/README.rst @ 0:32f693f6e741 draft

Uploaded v0.0.1 preview0, very much a work in progress, primarily checking mira_datatypes dependency
author peterjc
date Thu, 26 Sep 2013 12:23:42 -0400
parents
children c7538ae82a24
comparison
equal deleted inserted replaced
-1:000000000000 0:32f693f6e741
1 Galaxy tool to wrap the MIRA sequence assembly program (v3.4)
2 =============================================================
3
4 This tool is copyright 2011-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 (MIT licence).
7
8 This tool is a short Python script (to collect the MIRA output and move it
9 to where Galaxy expects the files) and associated Galaxy wrapper XML file.
10
11 It is available from the Galaxy Tool Shed at:
12 http://toolshed.g2.bx.psu.edu/view/peterjc/mira4_assembler
13
14
15 Automated Installation
16 ======================
17
18 This should be straightforward. Via the Tool Shed, Galaxy should automatically
19 install the 'mira' datatype, download and install the precompiled binary for
20 MIRA v4.0 for the Galaxy wrapper, and run any tests.
21
22 For MIRA 4, the Galaxy wrapper has been split in two, allowing separate
23 cluster settings for de novo usage (high RAM) and mapping (lower RAM).
24 Consult the Galaxy adminstration documentation for your cluster setup.
25
26 WARNING: This tool was developed to construct viral genome assembly and
27 mapping pipelines, for which the run time and memory requirements are
28 negligible. For larger tasks, be aware that MIRA can require vast amounts
29 of RAM and run-times of over a week are possible. This tool wrapper makes
30 no attempt to spot and reject such large jobs.
31
32
33 Manual Installation
34 ===================
35
36 First install the 'mira' datatype for Galaxy, available here:
37
38 * http://toolshed.g2.bx.psu.edu/view/peterjc/mira_datatypes
39
40 There are just two Galaxy files to install:
41
42 * mira4.py (the Python script)
43 * mira4_de_novo.xml (the Galaxy tool definition for de novo usage)
44 * mira4_mapping.xml (the Galaxy tool definition for mapping usage)
45
46 The suggested location is a new tools/mira4 folder. You will also need to
47 modify the tools_conf.xml file to tell Galaxy to offer the tool, and also do
48 this to tools_conf.xml.sample in order to run any tests::
49
50 <tool file="mira4/mira4_de_novo.xml" />
51 <tool file="mira4/mira4_mapping.xml" />
52
53 You will also need to install MIRA, we used version 4.0 RC2. See:
54
55 * http://chevreux.org/projects_mira.html
56 * http://sourceforge.net/projects/mira-assembler/
57
58 You may wish to use different cluster setups for the de novo and mapping
59 tools, see above.
60
61
62 History
63 =======
64
65 ======= ======================================================================
66 Version Changes
67 ------- ----------------------------------------------------------------------
68 v0.0.1 - Initial version (prototype using MIRA 4.0 RC2, and wrapper for v3.4)
69 ======= ======================================================================
70
71
72 Developers
73 ==========
74
75 Development is on a dedicated GitHub repository:
76 https://github.com/peterjc/pico_galaxy/tree/master/tools/mira_4_0
77
78 For making the "Galaxy Tool Shed" http://toolshed.g2.bx.psu.edu/ tarball use
79 the following command from the Galaxy root folder::
80
81 $ tar -czf mira4_wrapper.tar.gz tools/mira4/README.rst tools/mira4/mira4_de_novo.xml tools/mira4/mira4_mapping.xml tools/mira4/mira4.py tools/mira4/tool_dependencies.xml test-data/tvc_mini.fastq test-data/tvc_contigs_mira4.fasta
82
83 Check this worked::
84
85 $ tar -tzf mira4_wrapper.tar.gz
86 tools/mira4/README.rst
87 tools/mira4/mira4_de_novo.xml
88 tools/mira4/mira4_mapping.xml
89 tools/mira4/mira4.py
90 tools/mira4/tool_dependencies.xml
91 test-data/tvc_mini.fastq
92 test-data/tvc_contigs_mira4.fasta
93
94
95 Licence (MIT)
96 =============
97
98 Permission is hereby granted, free of charge, to any person obtaining a copy
99 of this software and associated documentation files (the "Software"), to deal
100 in the Software without restriction, including without limitation the rights
101 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
102 copies of the Software, and to permit persons to whom the Software is
103 furnished to do so, subject to the following conditions:
104
105 The above copyright notice and this permission notice shall be included in
106 all copies or substantial portions of the Software.
107
108 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
109 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
110 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
111 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
112 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
113 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
114 THE SOFTWARE.