annotate README.rst @ 1:771ebe02636f draft

Uploaded version 0.02.04.2: fix bug that causes tool to fail when prefix includes spaces; add explicit dependency on Perl 5.16.3.
author pjbriggs
date Mon, 23 Mar 2015 07:01:37 -0400
parents 3f908e7fff4f
children b6ccc7dd7b02
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
1 pal_finder: find microsatellite repeats and design PCR primers
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
2 ==============================================================
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
3
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
4 Galaxy tool wrapper for the pal_finder microsatellite and PCR primer design script.
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
5
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
6 Automated installation
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
7 ======================
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
8
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
9 Installation via the Galaxy Tool Shed will take of installing the tool wrapper and
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
10 the pal_finder and primer3_core programs, and setting the appropriate environment
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
11 variables.
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
12
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
13 Manual Installation
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
14 ===================
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
15
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
16 There are two files to install:
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
17
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
18 - ``pal_finder_wrapper.xml`` (the Galaxy tool definition)
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
19 - ``pal_finder_wrapper.sh`` (the shell script wrapper)
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
20
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
21 The suggested location is in a ``tools/pal_finder_wrapper/`` folder. You will then
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
22 need to modify the ``tools_conf.xml`` file to tell Galaxy to offer the tool
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
23 by adding the line:
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
24
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
25 <tool file="pal_finder/pal_finder_wrapper.xml" />
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
26
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
27 You will also need to install the pal_finder and primer3 packages:
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
28
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
29 - ``pal_finder`` can be obtained from http://sourceforge.net/projects/palfinder/
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
30 - ``Primer3`` version 2.0.0-alpha (see the pal_finder installation notes) can be
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
31 obtained from http://primer3.sourceforge.net/releases.php
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
32
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
33 The tool wrapper must be able to locate the pal_finder Perl script, the example
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
34 pal_finder config.txt and simple.ref data files, and the primer3_core program - the
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
35 locations of these are taken from the following enviroment variables which you will
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
36 need to set manually:
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
37
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
38 - ``PALFINDER_SCRIPT_DIR``: location of the pal_finder Perl script (defaults to /usr/bin)
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
39 - ``PALFINDER_DATA_DIR``: location of the pal_finder data files (specifically config.txt
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
40 and simple.ref; defaults to /usr/share/pal_finder_v0.02.04)
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
41 - ``PRIMER3_CORE_EXE``: name of the primer3_core program, which should include the
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
42 full path if it's not on the Galaxy user's PATH (defaults to primer3_core)
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
43
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
44 If you want to run the functional tests, copy the sample test files under
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
45 sample test files under Galaxy's ``test-data/`` directory. Then:
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
46
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
47 ./run_tests.sh -id microsat_pal_finder
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
48
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
49 You will need to have set the environment variables above.
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
50
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
51 History
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
52 =======
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
53
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
54 ========== ======================================================================
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
55 Version Changes
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
56 ---------- ----------------------------------------------------------------------
1
771ebe02636f Uploaded version 0.02.04.2: fix bug that causes tool to fail when prefix includes spaces; add explicit dependency on Perl 5.16.3.
pjbriggs
parents: 0
diff changeset
57 0.02.04.2 - Fix bug that causes tool to fail when prefix includes spaces;
771ebe02636f Uploaded version 0.02.04.2: fix bug that causes tool to fail when prefix includes spaces; add explicit dependency on Perl 5.16.3.
pjbriggs
parents: 0
diff changeset
58 add explicit dependency on Perl 5.16.3.
0
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
59 0.02.04.1 - Add option to run Graeme Fox's ``pal_finder_filter.pl`` script to
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
60 filter and sort the pal_finder output (Illumina input data only).
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
61 Update version number to reflect the pal_finder version.
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
62 0.0.6 - Allow input data to be either Illumina paired-end data in fastq
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
63 format or single-end 454 data in fasta format.
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
64 0.0.5 - Allow custom mispriming library to be specified; added
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
65 ``tool_dependencies.xml`` file to install pal_finder and primer3
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
66 programs and configure environment for Galaxy automatically.
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
67 0.0.4 - Added more custom options for primer3_core for selecting primers on
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
68 size, GC and melting temperature criteria.
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
69 0.0.3 - Check that pal_finder script & config file, and primer3_core
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
70 executable are all available; move PRIMER_MIN_TM parameter to new
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
71 "custom" section for primer3 settings
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
72 0.0.2 - Updated pal_finder_wrapper.sh to allow locations of pal_finder Perl
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
73 script, data files and primer_core3 program to be set via environment
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
74 variables
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
75 0.0.1 - Initial version
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
76 ========== ======================================================================
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
77
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
78
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
79 Developers
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
80 ==========
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
81
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
82 This tool is developed on the following GitHub repository:
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
83 https://github.com/fls-bioinformatics-core/galaxy-tools/tree/master/pal_finder
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
84
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
85 For making the "Galaxy Tool Shed" http://toolshed.g2.bx.psu.edu/ tarball I use
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
86 the ``package_pal_finder.sh`` script.
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
87
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
88
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
89 Licence (MIT)
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
90 =============
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
91
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
92 Permission is hereby granted, free of charge, to any person obtaining a copy
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
93 of this software and associated documentation files (the "Software"), to deal
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
94 in the Software without restriction, including without limitation the rights
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
95 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
96 copies of the Software, and to permit persons to whom the Software is
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
97 furnished to do so, subject to the following conditions:
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
98
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
99 The above copyright notice and this permission notice shall be included in
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
100 all copies or substantial portions of the Software.
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
101
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
102 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
103 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
104 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
105 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
106 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
107 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
3f908e7fff4f Uploaded first version to toolshed.
pjbriggs
parents:
diff changeset
108 THE SOFTWARE.