annotate tools/mira_3_4/mira.txt @ 8:4266cccbb45a draft

Uploaded v0.0.7 take 2, fixed path in installation
author peterjc
date Wed, 24 Apr 2013 12:43:17 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
1 Galaxy tool to wrap the MIRA sequence assembly program (v3.4)
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
2 =============================================================
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
3
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
4 This tool is copyright 2011-2013 by Peter Cock, The James Hutton Institute
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
5 (formerly SCRI, Scottish Crop Research Institute), UK. All rights reserved.
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
6 See the licence text below.
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
7
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
8 This tool is a short Python script (to collect the MIRA output and move it
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
9 to where Galaxy expects the files, and convert MIRA's TCS file into a tab
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
10 separated file for use in Galaxy).
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
11
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
12
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
13 Automated Installation
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
14 ======================
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
15
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
16 This should be straightforward, Galaxy should automatically download and
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
17 install the precompiled binary for MIRA v3.4.0 for the Galaxy wrapper,
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
18 and run any tests.
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
19
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
20
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
21 Manual Installation
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
22 ===================
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
23
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
24 There are just two Galaxy files to install:
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
25
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
26 * mira.py (the Python script)
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
27 * mira.xml (the Galaxy tool definition)
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
28
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
29 The suggested location is a new tools/mira_3_4 folder. You will also need to
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
30 modify the tools_conf.xml file to tell Galaxy to offer the tool, and also do
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
31 this to tools_conf.xml.sample in order to run any tests:
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
32
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
33 <tool file="mira_3_4/mira.xml" />
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
34
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
35 You will also need to install MIRA, we used version 3.4.1.1. See:
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
36
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
37 http://chevreux.org/projects_mira.html
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
38 http://sourceforge.net/projects/mira-assembler/
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
39
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
40 WARNING: This tool was developed to construct viral genome assembly and
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
41 mapping pipelines, for which the run time and memory requirements are
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
42 negligible. For larger tasks, be aware that MIRA can require vast amounts
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
43 of RAM and run-times of over a week are possible. This tool wrapper makes
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
44 no attempt to spot and reject such large jobs.
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
45
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
46
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
47 History
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
48 =======
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
49
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
50 v0.0.1 - Initial version (working prototype, using MIRA 3.2.1)
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
51 v0.0.2 - Improve capture of stdout/stderr (should see it as it runs)
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
52 v0.0.3 - Support Ion Torrent reads, now requires MIRA 3.4.0 or later
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
53 (some other switches changed, e.g. -OUT rrol to rrot, which
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
54 means the wrapper no longer works with MIRA 3.2.x)
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
55 - The contig summary file (TCS file) was removed in MIRA 3.4
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
56 - Report all missing output files (not just first missing one)
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
57 v0.0.4 - Fix problem with backbone arguments inroduced in v0.0.3
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
58 v0.0.5 - Implement the <version_command> tag to record the wrapper
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
59 version and the MIRA version being used.
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
60 - Check using MIRA 3.4 (later versions have a different API)
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
61 v0.0.6 - Tell MIRA to use /tmp for temporary files
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
62 - Tell MIRA to ignore long read names (otherwise it aborts)
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
63 v0.0.7 - Automated installation of the 64 bit Linux MIRA binary.
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
64
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
65
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
66 Developers
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
67 ==========
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
68
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
69 This script and related tools are being developed on the following hg branch:
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
70 http://bitbucket.org/peterjc/galaxy-central/src/tools
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
71
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
72 For making the "Galaxy Tool Shed" http://toolshed.g2.bx.psu.edu/ tarball use
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
73 the following command from the Galaxy root folder:
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
74
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
75 tar -czf mira_wrapper.tar.gz tools/mira_3_4/mira.*
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
76
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
77 Check this worked:
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
78
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
79 $ tar -tzf mira_wrapper.tar.gz
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
80 tools/mira_3_4/mira.py
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
81 tools/mira_3_4/mira.txt
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
82 tools/mira_3_4/mira.xml
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
83
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
84
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
85 Licence (MIT/BSD style)
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
86 =======================
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
87
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
88 Permission to use, copy, modify, and distribute this software and its
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
89 documentation with or without modifications and for any purpose and
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
90 without fee is hereby granted, provided that any copyright notices
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
91 appear in all copies and that both those copyright notices and this
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
92 permission notice appear in supporting documentation, and that the
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
93 names of the contributors or copyright holders not be used in
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
94 advertising or publicity pertaining to distribution of the software
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
95 without specific prior permission.
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
96
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
97 THE CONTRIBUTORS AND COPYRIGHT HOLDERS OF THIS SOFTWARE DISCLAIM ALL
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
98 WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
99 WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
100 CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
101 OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
102 OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
103 OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
4266cccbb45a Uploaded v0.0.7 take 2, fixed path in installation
peterjc
parents:
diff changeset
104 OR PERFORMANCE OF THIS SOFTWARE.