annotate tools/predictnls/README.rst @ 1:f35b2f3ca139 draft

Uploaded v0.0.6, new README file, citation information
author peterjc
date Fri, 11 Oct 2013 04:35:15 -0400
parents
children 9f2088ca5f6a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
1 Python re-implementation of predictNLS with Galaxy wrapper
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
2 ==========================================================
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
3
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
4 This Galaxy tool is copyright 2011-2013 by Peter Cock, The James Hutton Institute
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
5 (formerly SCRI, Scottish Crop Research Institute), UK. All rights reserved.
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
6 See the licence text below.
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
7
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
8 The tool consists of a Galaxy interface definition (predictnls.xml), and a Python
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
9 script (predictnls.py) which re-implements the command line tool predictNLS. This
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
10 should match the behaviour of predictNLS v1.0.20 (July 2011), the current latest
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
11 release from the Rost Lab, see http://rostlab.org and their paper:
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
12
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
13 Murat Cokol, Rajesh Nair, and Burkhard Rost.
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
14 Finding nuclear localization signals.
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
15 EMBO reports 1(5), 411–415, 2000
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
16 http://dx.doi.org/10.1093/embo-reports/kvd092
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
17
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
18 This wrapper is available from the Galaxy Tool Shed at
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
19 http://toolshed.g2.bx.psu.edu/view/peterjc/tmhmm_and_signalp
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
20
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
21
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
22 Automatic Installation
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
23 ======================
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
24
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
25 This Galaxy tool is self contained, and so should install automatically via the
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
26 Galaxy Tool Shed. See http://toolshed.g2.bx.psu.edu/view/peterjc/predictnls
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
27
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
28
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
29 Manual Installation
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
30 ===================
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
31
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
32 There are just four files which should be moved under the Galaxy tools folder,
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
33 e.g. in a tools/protein_analysis filter:
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
34
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
35 * predictlns.xml (the Galaxy tool definition)
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
36 * predictlns.py (the Python script)
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
37 * predictlns.txt (this README file)
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
38 * My_NLS_list (the default set of NLS motifs from the Rost Lab)
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
39
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
40 You will also need to modify the tools_conf.xml file to tell Galaxy to offer the
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
41 tool. If you are using other protein analysis tools like TMHMM or SignalP, put
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
42 it next to them. Just add the line::
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
43
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
44 <tool file="protein_analysis/predictnls.xml" />
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
45
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
46 If you want to run the unit tests, also add this to tool_conf.xml.sample, and
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
47 copy the test files under test-data, then run::
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
48
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
49 ./run_functional_tests.sh -id predictnls
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
50
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
51 That's it.
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
52
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
53
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
54 History
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
55 =======
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
56
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
57 ======= ======================================================================
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
58 Version Changes
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
59 ------- ----------------------------------------------------------------------
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
60 v0.0.4 - Initial public release.
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
61 v0.0.5 - Treat non-zero return codes as errors.
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
62 v0.0.6 - Link to Tool Shed added to help text and this documentation.
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
63 - Use reStructuredText for this README file.
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
64 - Updated citation information (Cock et al. 2013).
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
65 - Development moved to GitHub, https://github.com/peterjc/pico_galaxy
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
66 ======= ======================================================================
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
67
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
68
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
69 Developers
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
70 ==========
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
71
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
72 This script and related tools are being developed on the following hg branch:
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
73 http://bitbucket.org/peterjc/galaxy-central/src/tools
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
74
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
75 For making the "Galaxy Tool Shed" http://toolshed.g2.bx.psu.edu/ tarball use
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
76 the following command from the Galaxy root folder::
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
77
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
78 $ tar -czf predictnls.tar.gz tools/predictnls/README.rst tools/predictnls/predictnls.xml tools/predictnls/predictnls.py tools/predictnls/My_NLS_list test-data/four_human_proteins.fasta test-data/four_human_proteins.predictnls.tabular
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
79
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
80 Check this worked::
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
81
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
82 $ tar -tzf predictnls.tar.gz
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
83 tools/predictnls/README.rst
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
84 tools/predictnls/predictnls.xml
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
85 tools/predictnls/predictnls.py
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
86 tools/predictnls/My_NLS_list
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
87 test-data/four_human_proteins.fasta
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
88 test-data/four_human_proteins.predictnls.tabular
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
89
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
90
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
91 Licence (GPL)
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
92 =============
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
93
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
94 This tool is open source, licensed under the GNU GENERAL PUBLIC LICENSE
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
95 version 3 (GNU v3), see http://www.gnu.org/licenses/gpl.html
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
96
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
97 The Python script is my reimplementation of the original Perl program from
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
98 the Rost Lab, which was released under the GPL v3. Therefore, as I consider
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
99 this to be a derivative work, this too is released under the GPL v3.
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
100
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
101 Please note that the My_NLS_list should be an exact copy of the file of the
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
102 same name included with predictnls-1.0.7.tar.gz to predictnls-1.0.20.tar.gz
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
103 inclusive (the list was extended in v1.0.7 in August 2010, see the change log
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
104 included in those tar-balls), available from ftp://rostlab.org/predictnls/