comparison README.rst @ 5:14561eb803a5 draft

Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
author peterjc
date Fri, 21 Oct 2016 10:55:40 -0400
parents
children
comparison
equal deleted inserted replaced
4:a88571642c6e 5:14561eb803a5
1 Galaxy Wrapper for GMAP
2 =======================
3
4 This wrapper is copyright 2011, 2013 by Jim Johnson (Minnesota Supercomputing
5 Institute, University of Minnesota).
6 Revisions copyright 2016 by Peter Cock (The James Hutton Institute, UK).
7
8 This Galaxy wrapper is available from the Galaxy Tool Shed at:
9
10 toolshed.g2.bx.psu.edu/view/jjohnson/gmap
11
12 GMAP applications and citation info are available from:
13 ttp://research-pub.gene.com/gmap/
14
15 Manual GMAP installation instructions are in the README file in the download,
16 and online: http://research-pub.gene.com/gmap/src/README
17
18
19 History
20 =======
21
22 ======= ======================================================================
23 Version Changes
24 ------- ----------------------------------------------------------------------
25 v2.0.0 - Initial release, for GMAP version 2011-10-07 (by JJ, October 2011).
26 v2.0.1 - Updated for GMAP version 2011-11-30 (by JJ, November 2011).
27 v3.0.0 - Work in progress for GMAP version 2013-05-09 (by JJ, June 2013),
28 never released to the main Galaxy Tool Shed.
29 v3.0.1 - Various style updates (Peter Cock, October 2016).
30 ======= ======================================================================
31
32
33 Automated Installation
34 ======================
35
36 This should be straightforward using the Galaxy Tool Shed, which should be
37 able to automatically install GMAP as well.
38
39
40
41 Manual Installation
42 ===================
43
44 GMAP and GSNAP use added datatypes:
45
46 - add datatype definition file: ``lib/galaxy/datatypes/gmap.py``
47
48 - add the following import line to: ``lib/galaxy/datatypes/registry.py``::
49
50 import gmap # added for gmap tools
51
52 - add to ``datatypes_conf.xml``::
53
54 <!-- Start GMAP Datatypes -->
55 <datatype extension="gmapdb" type="galaxy.datatypes.gmap:GmapDB" display_in_upload="False"/>
56 <datatype extension="gmapsnpindex" type="galaxy.datatypes.gmap:GmapSnpIndex" display_in_upload="False"/>
57 <datatype extension="iit" type="galaxy.datatypes.gmap:IntervalIndexTree" display_in_upload="True"/>
58 <datatype extension="splicesites.iit" type="galaxy.datatypes.gmap:SpliceSitesIntervalIndexTree" display_in_upload="True"/>
59 <datatype extension="introns.iit" type="galaxy.datatypes.gmap:IntronsIntervalIndexTree" display_in_upload="True"/>
60 <datatype extension="snps.iit" type="galaxy.datatypes.gmap:SNPsIntervalIndexTree" display_in_upload="True"/>
61 <datatype extension="tally.iit" type="galaxy.datatypes.gmap:TallyIntervalIndexTree" display_in_upload="True"/>
62 <datatype extension="gmap_annotation" type="galaxy.datatypes.gmap:IntervalAnnotation" display_in_upload="False"/>
63 <datatype extension="gmap_splicesites" type="galaxy.datatypes.gmap:SpliceSiteAnnotation" display_in_upload="True"/>
64 <datatype extension="gmap_introns" type="galaxy.datatypes.gmap:IntronAnnotation" display_in_upload="True"/>
65 <datatype extension="gmap_snps" type="galaxy.datatypes.gmap:SNPAnnotation" display_in_upload="True"/>
66 <datatype extension="gsnap_tally" type="galaxy.datatypes.gmap:TallyAnnotation" display_in_upload="True"/>
67 <datatype extension="gsnap" type="galaxy.datatypes.gmap:GsnapResult" display_in_upload="True"/>
68 <!-- End GMAP Datatypes -->
69
70 Tools:
71
72 - GMAP_Build - create a GmapDB set of index files for a reference sequence and optional set of annotations
73 - GMAP - map sequences to a reference sequence GmapDB index
74 - GSNAP - align sequences to a reference and detect splicing
75
76 Add to ``tool_conf.xml`` (probably in the "NGS: Mapping" section)::
77
78 <tool file="gmap/gmap.xml" />
79 <tool file="gmap/gsnap.xml" />
80 <tool file="gmap/gmap_build.xml" />
81 <tool file="gmap/snpindex.xml" />
82 <tool file="gmap/iit_store.xml" />
83
84 Admin built cached gmapdb indexes defined in ``tool-data/gmap_indices.loc``
85
86
87 TODO
88 ====
89
90 - Add classes to ``gmap.py``
91
92 - CmetIndex - an index created by cmetindex
93 - AtoiIndex - an index created by atoiindex
94
95 - Add tally creation
96
97 - gsnap default output -> gsnap_tally -> iit_store
98
99 - Add goby support
100
101 - Should add separate tools and datatypes for goby
102 - GSNAP goby output relies on goby input, might be better to have a separate gsnap tool for goby
103
104 - Possibly add Tools:
105
106 - get_genome - retrieves from a gmapdb
107 - cmetindex - create methylcytosine index
108 - atoiindex - create A-to-I RNA editing index