annotate tools/sr_assembly/mira.txt @ 2:8bddbb4b2575 draft

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