annotate blast2go-7b53cc52e7ed/tools/ncbi_blast_plus/blast2go.txt @ 1:48ee9dd8c1a5 draft default tip

Uploaded
author devteam
date Fri, 17 May 2013 07:34:37 -0400
parents c5c578f2a1ba
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
1 Galaxy wrapper for Blast2GO for pipelines, b2g4pipe
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
2 ===================================================
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
3
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
4 This wrapper is copyright 2011 by Peter Cock, The James Hutton Institute
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
5 (formerly SCRI, Scottish Crop Research Institute), UK. All rights reserved.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
6 See the licence text below.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
7
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
8 This is a wrapper for the command line Java tool b2g4pipe v2.3.5,
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
9 Blast2GO for pipelines. See:
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
10
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
11 S. Götz et al.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
12 High-throughput functional annotation and data mining with the Blast2GO suite.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
13 Nucleic Acids Res. 36(10):3420–3435, 2008.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
14 http://dx.doi.org/10.1093/nar/gkn176
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
15
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
16 A. Conesa and S. Götz.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
17 Blast2GO: A Comprehensive Suite for Functional Analysis in Plant Genomics.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
18 Int. J. Plant Genomics. 619832, 2008.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
19 http://dx.doi.org/10.1155/2008/619832
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
20
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
21 A. Conesa et al.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
22 Blast2GO: A universal tool for annotation, visualization and analysis in functional genomics research.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
23 Bioinformatics 21:3674-3676, 2005.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
24 http://dx.doi.org/10.1093/bioinformatics/bti610
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
25
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
26 http://www.blast2go.org/
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
27
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
28
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
29
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
30 Installation
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
31 ============
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
32
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
33 You can change the path by editing the definition near the start of the Python
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
34 script blast2go.py, but by default it expects the underlying tool to be here:
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
35
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
36 /opt/b2g4pip/blast2go.jar
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
37
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
38 To install the wrapper copy or move the following files under the Galaxy tools
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
39 folder, e.g. in the tools/ncbi_blast_blast folder:
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
40
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
41 * blast2go.xml (the Galaxy tool definition)
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
42 * blast2go.py (the Python wrapper script)
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
43 * blast2go.txt (this README file)
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
44
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
45 You will also need to modify the tools_conf.xml file to tell Galaxy to offer the
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
46 tool. We suggest putting it next to the NCBI BLAST+ wrappers. Just add the line:
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
47
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
48 <tool file="ncbi_blast_plus/blast2go.xml" />
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
49
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
50 As part of setting up b2g4pipe you will need to setup one or more Blast2GO
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
51 property files which tell the tool which database to use etc. The example
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
52 b2gPipe.properties provided with b2g4pipe v2.3.5 is out of date, with the
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
53 latest server IP address and database name given on the Blast2GO website.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
54 These files can be anywhere accessable to the Galaxy Unix user, we put them
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
55 under /opt/b2g4pipe with the JAR file etc.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
56
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
57 You must tell Galaxy about these Blast2GO property files so that they can be
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
58 offered to the user. Create the file tool-data/blast2go.loc under the Galaxy
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
59 folder. This must be plain text, tab separated, with three columns:
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
60
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
61 (1) ID for the setup, e.g. Spain_2010_May
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
62 (2) Description for the setup, e.g. Database in Spain (May 2010)
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
63 (3) Properties filename for the setup, e.g. /opt/b2g4pipe/Spain_2010_May.properties
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
64
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
65 Avoid including "Blast2GO" in the description (column 2) as this will be
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
66 included in the automatically assigned output dataset name. The blast2go.loc
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
67 file allows you to customise the database setup. If for example you have a local
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
68 Blast2GO server running (which we recommend for speed), and you want this to be
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
69 the default setting, include it as the first line in your blast2go.loc file.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
70
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
71 Consult the Blast2GO documentation for details about the property files and
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
72 setting up a local MySQL Blast2GO database.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
73
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
74
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
75 History
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
76 =======
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
77
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
78 v0.0.1 - Initial public release
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
79 v0.0.2 - Documentation clarifications, e.g. concatenated BLAST XML is allowed.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
80 - Fixed error handler in wrapper script (for when b2g4pipe fails).
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
81 - Reformats the XML to use old NCBI-style concatenated BLAST XML since
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
82 b2g4pipe crashes with heap space error on with large files using
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
83 current NCBI output.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
84
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
85
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
86 Developers
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
87 ==========
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
88
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
89 This script and related tools are being developed on the following hg branch:
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
90 http://bitbucket.org/peterjc/galaxy-central/src/tools
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
91
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
92 For making the "Galaxy Tool Shed" http://community.g2.bx.psu.edu/ tarball I use
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
93 the following command from the Galaxy root folder:
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
94
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
95 $ tar -czf blast2go.tar.gz tools/ncbi_blast_plus/blast2go.xml tools/ncbi_blast_plus/blast2go.py tools/ncbi_blast_plus/blast2go.txt
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
96
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
97 Check this worked:
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
98
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
99 $ tar -tzf blast2go.tar.gz
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
100 tools/ncbi_blast_plus/blast2go.xml
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
101 tools/ncbi_blast_plus/blast2go.py
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
102 tools/ncbi_blast_plus/blast2go.txt
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
103
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
104
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
105 Licence (MIT/BSD style)
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
106 =======================
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
107
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
108 Permission to use, copy, modify, and distribute this software and its
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
109 documentation with or without modifications and for any purpose and
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
110 without fee is hereby granted, provided that any copyright notices
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
111 appear in all copies and that both those copyright notices and this
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
112 permission notice appear in supporting documentation, and that the
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
113 names of the contributors or copyright holders not be used in
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
114 advertising or publicity pertaining to distribution of the software
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
115 without specific prior permission.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
116
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
117 THE CONTRIBUTORS AND COPYRIGHT HOLDERS OF THIS SOFTWARE DISCLAIM ALL
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
118 WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
119 WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
120 CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
121 OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
122 OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
123 OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
124 OR PERFORMANCE OF THIS SOFTWARE.
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
125
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
126 NOTE: This is the licence for the Galaxy Wrapper only. Blast2GO and
c5c578f2a1ba Uploaded
devteam
parents:
diff changeset
127 associated data files are available and licenced separately.