annotate README.rst @ 0:ddd2e3362c5e draft default tip

Uploaded v0.0.1, previously only on the Test Tool Shed
author peterjc
date Fri, 21 Nov 2014 06:38:46 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
1 Galaxy datatypes for MIRA Assembly Format (MAF)
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
2 ===============================================
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
3
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
4 These Galaxy datatypes are copyright 2013 by Peter Cock, The James Hutton
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
5 Institute (formerly SCRI, Scottish Crop Research Institute), UK. All rights reserved.
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
6
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
7 See the licence text below (MIT licence).
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
8
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
9 This code defines a 'mira' datatype within Galaxy for the MIRA Assembly Format
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
10 (specifically v2 of the format introduced by MIRA 4.0 and the development
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
11 preview releases of MIRA v3.9). See http://chevreux.org/projects_mira.html
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
12 and https://sourceforge.net/projects/mira-assembler/ for background.
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
13
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
14 This format is not to be confused with the existing 'maf' datatype within Galaxy
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
15 for the unrelated Multiple (sequence) Alignment Format (MAF).
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
16
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
17 It is available from the Galaxy Tool Shed at:
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
18 http://toolshed.g2.bx.psu.edu/view/peterjc/mira_datatypes
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
19
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
20
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
21 History
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
22 =======
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
23
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
24 ======= ======================================================================
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
25 Version Changes
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
26 ------- ----------------------------------------------------------------------
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
27 v0.0.1 - First public release
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
28 ======= ======================================================================
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
29
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
30
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
31 Installation
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
32 ============
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
33
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
34 Doing this automatically via the Galaxy Tool Shed is probably simplest, and will
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
35 happen automatically as a dependency of the Galaxy wrapper for MIRA v4.0.
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
36
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
37
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
38 Manual Installation
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
39 ===================
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
40
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
41 Normally you would install this via the Galaxy ToolShed, which would move
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
42 the provided mira.py file into a suitable location and process the
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
43 datatypes_conf.xml entry to be combined with your local configuration.
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
44
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
45 However, if you really want to this should work for a manual install. Add
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
46 the following lines to the datatypes_conf.xml file in the Galaxy main folder::
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
47
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
48 <datatype extension="mira" type="galaxy.datatypes.mira:MiraAssemblyFormat" mimetype="text/plain" display_in_upload="true"/>
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
49
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
50 and later in the sniffer section::
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
51
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
52 <sniffer type="galaxy.datatypes.mira:MiraAssemblyFormat"/>
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
53
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
54 Also create the file lib/galaxy/datatypes/mira.py by moving, copying or linking
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
55 the mira.py file provided in this tar-ball. Finally add 'import mira' near
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
56 the start of file lib/galaxy/datatypes/registry.py (after the other import
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
57 lines).
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
58
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
59
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
60 Bug Reports
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
61 ===========
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
62
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
63 You can file an issue here https://github.com/peterjc/pico_galaxy/issues or ask
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
64 us on the Galaxy development list http://lists.bx.psu.edu/listinfo/galaxy-dev
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
65
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
66
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
67 Developers
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
68 ==========
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
69
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
70 Development is done on this GitHub repository:
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
71 https://github.com/peterjc/pico_galaxy
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
72
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
73 For making the "Galaxy Tool Shed" http://toolshed.g2.bx.psu.edu/ tarball I use
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
74 the following command from the mira_datatypes folder::
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
75
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
76 $ tar -czf mira_datatypes.tar.gz README.rst datatypes_conf.xml mira.py
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
77
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
78 Check this worked::
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
79
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
80 $ tar -tzf mira_datatypes.tar.gz
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
81 README.rst
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
82 datatypes_conf.xml
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
83 mira.py
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
84
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
85 For development, rather than having a local ToolShed running, I currently
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
86 use a symlink from lib/galaxy/datatypes/mira.py to the actual file as
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
87 described above.
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
88
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
89
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
90 Licence (MIT)
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
91 =============
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
92
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
93 Permission is hereby granted, free of charge, to any person obtaining a copy
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
94 of this software and associated documentation files (the "Software"), to deal
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
95 in the Software without restriction, including without limitation the rights
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
96 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
97 copies of the Software, and to permit persons to whom the Software is
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
98 furnished to do so, subject to the following conditions:
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
99
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
100 The above copyright notice and this permission notice shall be included in
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
101 all copies or substantial portions of the Software.
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
102
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
103 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
104 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
105 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
106 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
107 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
108 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
109 THE SOFTWARE.
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
110
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
111 NOTE: This is the licence for the Galaxy MIRA datatypes **only**. MIRA itself
ddd2e3362c5e Uploaded v0.0.1, previously only on the Test Tool Shed
peterjc
parents:
diff changeset
112 is available and licenced separately.