annotate tools/predictnls/README.rst @ 3:ae44396108f5 draft default tip

v0.0.8 internal changes
author peterjc
date Wed, 05 Aug 2015 12:25:47 -0400
parents 9f2088ca5f6a
children
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
3
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
4 This Galaxy tool is copyright 2011-2015 by Peter Cock, The James Hutton Institute
1
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
3
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
8 The tool consists of a Galaxy interface definition (``predictnls.xml``), and a Python
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
9 script (``predictnls.py``) which re-implements the command line tool predictNLS. This
1
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
2
9f2088ca5f6a Uploaded v0.0.7 with embedded citations
peterjc
parents: 1
diff changeset
19 http://toolshed.g2.bx.psu.edu/view/peterjc/predictnls
1
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
2
9f2088ca5f6a Uploaded v0.0.7 with embedded citations
peterjc
parents: 1
diff changeset
26 Galaxy Tool Shed.
1
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,
3
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
33 e.g. in a ``tools/protein_analysis`` filter:
1
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
34
3
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
35 * ``predictlns.xml`` (the Galaxy tool definition)
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
36 * ``predictlns.py`` (the Python script)
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
37 * ``predictlns.txt`` (this README file)
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
38 * ``My_NLS_list`` (the default set of NLS motifs from the Rost Lab)
1
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
2
9f2088ca5f6a Uploaded v0.0.7 with embedded citations
peterjc
parents: 1
diff changeset
46 If you wish to run the unit tests, also move/copy the ``test-data/`` files
9f2088ca5f6a Uploaded v0.0.7 with embedded citations
peterjc
parents: 1
diff changeset
47 under Galaxy's ``test-data/`` folder. Then::
1
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
48
2
9f2088ca5f6a Uploaded v0.0.7 with embedded citations
peterjc
parents: 1
diff changeset
49 ./run_tests.sh -id predictnls
1
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
2
9f2088ca5f6a Uploaded v0.0.7 with embedded citations
peterjc
parents: 1
diff changeset
66 v0.0.7 - Tool definition now embeds citation information.
3
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
67 v0.0.8 - Reorder XML elements (internal change only).
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
68 - Planemo for Tool Shed upload (``.shed.yml``, internal change only).
1
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
69 ======= ======================================================================
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 Developers
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
73 ==========
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
74
2
9f2088ca5f6a Uploaded v0.0.7 with embedded citations
peterjc
parents: 1
diff changeset
75 This script and related tools were initially developed on the following hg branch:
1
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
76 http://bitbucket.org/peterjc/galaxy-central/src/tools
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
77
3
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
78 For pushing a release to the test or main "Galaxy Tool Shed", use the following
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
79 Planemo commands (which requires you have set your Tool Shed access details in
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
80 ``~/.planemo.yml`` and that you have access rights on the Tool Shed)::
1
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
81
3
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
82 $ planemo shed_update --shed_target testtoolshed --check_diff ~/repositories/pico_galaxy/tools/predictnls/
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
83 ...
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
84
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
85 or::
1
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
86
3
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
87 $ planemo shed_update --shed_target toolshed --check_diff ~/repositories/pico_galaxy/tools/predictnls/
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
88 ...
1
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
89
3
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
90 To just build and check the tar ball, use::
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
91
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
92 $ planemo shed_upload --tar_only ~/repositories/pico_galaxy/tools/predictnls/
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
93 ...
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
94 $ tar -tzf shed_upload.tar.gz
1
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
95 test-data/four_human_proteins.fasta
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
96 test-data/four_human_proteins.predictnls.tabular
3
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
97 tools/predictnls/My_NLS_list
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
98 tools/predictnls/README.rst
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
99 tools/predictnls/predictnls.py
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
100 tools/predictnls/predictnls.xml
1
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
101
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
102
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
103 Licence (GPL)
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
104 =============
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
105
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
106 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
107 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
108
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
109 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
110 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
111 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
112
3
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
113 Please note that the ``My_NLS_list`` file should be an exact copy of the file of the
ae44396108f5 v0.0.8 internal changes
peterjc
parents: 2
diff changeset
114 same name included with ``predictnls-1.0.7.tar.gz`` to ``predictnls-1.0.20.tar.gz``
1
f35b2f3ca139 Uploaded v0.0.6, new README file, citation information
peterjc
parents:
diff changeset
115 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
116 included in those tar-balls), available from ftp://rostlab.org/predictnls/