annotate tools/nlstradamus/nlstradamus.txt @ 2:9ec94203d895 draft

Uploaded v0.0.7 with automatic installation of the C++ binary.
author peterjc
date Tue, 23 Apr 2013 11:59:14 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
1 Galaxy wrapper for NLStradamus v1.7 or v1.8 (C++ version)
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
2 =========================================================
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
3
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
4 This wrapper is copyright 2011-2013 by Peter Cock, The James Hutton Institute
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
5 (formerly SCRI, Scottish Crop Research Institute), UK. All rights reserved.
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
6 See the licence text below.
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
7
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
8 NLStradamus is a command line tools for predicting nuclear localization
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
9 signals (NLSs) in a FASTA file of proteins using a Hidden Markov Model (HMM).
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
10
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
11 A. N. Nguyen Ba, A. Pogoutse, N. Provart, A. M. Moses.
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
12 NLStradamus: a simple Hidden Markov Model for nuclear localization signal prediction.
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
13 BMC Bioinformatics. 2009 Jun 29;10(1):202.
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
14 http://dx.doi.org/10.1186/1471-2105-10-202
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
15
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
16 http://www.moseslab.csb.utoronto.ca/NLStradamus
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
17
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
18 Early versions of NLStradamus did not have a native tabular output format, this
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
19 was added in version 1.7. Additionally a fast C++ implementation was added at
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
20 this point (early versions of NLStradamus came as a perl script only).
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
21
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
22 Version 1.8 fixed a C++ compilation issue on modern compilers, but is otherwise
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
23 unchanged.
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
24
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
25
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
26 Automated Installation
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
27 ======================
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
28
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
29 This should be straightforward, Galaxy should automatically download and install
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
30 the C++ implementation of NLStradamus v1.8, and run the unit tests.
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
31
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
32
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
33 Manual Installation
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
34 ===================
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
35 This wrapper expects the compiled C++ binary "NLStradamus" to be on the system
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
36 PATH.
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
37
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
38 To install the wrapper copy or move the following files under the Galaxy tools
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
39 folder, e.g. in a tools/protein_analysis folder:
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
40
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
41 * nlstradamus.xml (the Galaxy tool definition)
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
42 * nlstradamus.txt (this README file)
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
43
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
44 You will also need to modify the tools_conf.xml file to tell Galaxy to offer the
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
45 tool. If you are using other protein analysis tools like TMHMM or SignalP, put
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
46 it next to them. Just add the line (matching the chosen install path):
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
47
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
48 <tool file="protein_analysis/nlstradamus.xml" />
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
49
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
50 If you wish to run the unit tests, also add this to tools_conf.xml.sample
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
51 and move/copy the test-data files under Galaxy's test-data folder. Then:
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
52
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
53 $ ./run_functional_tests.sh -id nlstradamus
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
54
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
55 That's it.
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
56
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
57
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
58 History
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
59 =======
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
60
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
61 v0.0.3 - Initial public release
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
62 v0.0.4 - Adding DOI link to reference
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
63 (Documentation change only)
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
64 v0.0.5 - Assume non-zero return codes are errors
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
65 v0.0.6 - Show output help text using a table
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
66 - Added unit tests
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
67 v0.0.7 - Automatic installation of the NLStradamus binary when installed
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
68 via the Galaxy Tool Shed
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
69
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
70
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
71 Developers
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
72 ==========
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
73
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
74 This script and related tools are being developed on the following hg branch:
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
75 http://bitbucket.org/peterjc/galaxy-central/src/tools
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
76
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
77 For making the "Galaxy Tool Shed" http://toolshed.g2.bx.psu.edu/ tarball use
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
78 the following command from the Galaxy root folder:
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
79
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
80 $ tar -czf nlstradmus.tar.gz tools/nlstradamus/nlstradamus.xml tools/nlstradamus/nlstradamus.txt tools/nlstradamus/tool_dependencies.xml test-data/four_human_proteins.fasta test-data/four_human_proteins.nlstradamus.tabular test-data/empty.fasta test-data/empty_nlstradamus.tabular
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
81
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
82 Check this worked:
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
83
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
84 $ tar -tzf nlstradmus.tar.gz
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
85 tools/nlstradamus/nlstradamus.xml
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
86 tools/nlstradamus/nlstradamus.txt
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
87 tools/nlstradamus/tool_dependencies.xml
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
88 test-data/four_human_proteins.fasta
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
89 test-data/four_human_proteins.nlstradamus.tabular
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
90 test-data/empty.fasta
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
91 test-data/empty_nlstradamus.tabular
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
92
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
93
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
94 Licence (MIT/BSD style)
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
95 =======================
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
96
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
97 Permission to use, copy, modify, and distribute this software and its
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
98 documentation with or without modifications and for any purpose and
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
99 without fee is hereby granted, provided that any copyright notices
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
100 appear in all copies and that both those copyright notices and this
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
101 permission notice appear in supporting documentation, and that the
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
102 names of the contributors or copyright holders not be used in
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
103 advertising or publicity pertaining to distribution of the software
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
104 without specific prior permission.
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
105
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
106 THE CONTRIBUTORS AND COPYRIGHT HOLDERS OF THIS SOFTWARE DISCLAIM ALL
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
107 WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
108 WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
109 CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
110 OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
111 OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
112 OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
113 OR PERFORMANCE OF THIS SOFTWARE.
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
114
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
115 NOTE: This is the licence for the Galaxy Wrapper only. NLStradamus
9ec94203d895 Uploaded v0.0.7 with automatic installation of the C++ binary.
peterjc
parents:
diff changeset
116 is is available and licenced separately (under the GPL v3 or later).