annotate blast2go-7b53cc52e7ed/tools/ncbi_blast_plus/blast2go.txt @ 7:4fb6eaf8e595

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