annotate readme.rst @ 15:01ff8dd37d4d draft default tip

Uploaded
author lz_hust
date Sat, 01 Jun 2019 07:20:41 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
1 Galaxy wrapper for GATK2
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
2 ========================
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
3
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
4 This wrapper is copyright 2013 by Björn Grüning, Jim Johnson & the Galaxy Team.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
5
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
6 The Genome Analysis Toolkit or GATK is a software package developed at the
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
7 Broad Institute to analyse next-generation resequencing data. The toolkit offers
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
8 a wide variety of tools, with a primary focus on variant discovery and
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
9 genotyping as well as strong emphasis on data quality assurance. Its robust
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
10 architecture, powerful processing engine and high-performance computing features
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
11 make it capable of taking on projects of any size.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
12
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
13 http://www.broadinstitute.org/gatk
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
14 http://www.broadinstitute.org/gatk/about/citing-gatk
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
15
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
16 GATK is Free for academics, and fee for commercial use. Please study the GATK licensing website:
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
17 http://www.broadinstitute.org/gatk/about/#licensing
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
18
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
19
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
20 Installation
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
21 ============
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
22
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
23 The recommended installation is by means of the toolshed_.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
24
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
25 .. _toolshed: http://toolshed.g2.bx.psu.edu/view/iuc/gatk2
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
26
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
27 Galaxy should be able to install samtools dependencies automatically
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
28 for you. GATK2, and its new licence model, does not allow us to distribute the GATK binaries.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
29 As a consequence you need to install GATK2 by your own, please see the GATK website for more information:
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
30
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
31 http://www.broadinstitute.org/gatk/download
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
32
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
33 Once you have installed GATK2, you need to edit the env.sh files that are installed together with the wrappers.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
34 You must edit the GATK2_PATH environment variable in the file:
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
35
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
36 <tool_dependency_dir>/environment_settings/GATK2_PATH/iuc/gatk2/<hash_string>/env.sh
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
37
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
38 to point to the folder where you have installed GATK2.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
39
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
40 Optionally, you may also want to edit the GATK2_SITE_OPTIONS environment variable in the file:
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
41
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
42 <tool_dependency_dir>/environment_settings/GATK2_SITE_OPTIONS/iuc/gatk2/<hash_string>/env.sh
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
43
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
44 to deactivate the 'call home feature' of GATK with something like:
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
45
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
46 GATK2_SITE_OPTIONS='-et NO_ET -K /data/gatk2_key_file'
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
47
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
48 GATK2_SITE_OPTIONS can be also used to insert other specific options into every GATK2 wrapper
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
49 at runtime, without changing the actual wrapper.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
50
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
51 Read more about the "Phone Home" problem at:
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
52 http://www.broadinstitute.org/gatk/guide/article?id=1250
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
53
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
54 Optionally, you may also want to add some commands to be executed before GATK (e.g. to load modules) to the file:
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
55 ::
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
56 <tool_dependency_dir>/gatk2/default/env.sh
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
57
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
58 Note that due to the manual nature of the GATK2 installation you will be getting the
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
59 following warnings in the Galaxy log (unless you specified the env.sh in the previous paragraph):
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
60 ::
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
61 Failed to resolve dependency on 'gatk2', ignoring.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
62
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
63 This is because the
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
64 ::
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
65 <requirement type="package">gatk2</requirement>
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
66 is specified but never resolved in the tool_dependencies.xml. It is safe to ignore.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
67
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
68 Finally, you should fill in additional information about your genomes and
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
69 annotations in the gatk2_picard_index.loc and gatk2_annotations.txt.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
70 You can find them in the tool-data/ Galaxy directory.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
71
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
72 History
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
73 =======
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
74
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
75 * v0.1 - Initial public release
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
76 * v2.8.0 - Bugfix release, increase version number to reflect the underlying GATK version
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
77
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
78
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
79 Licence (MIT)
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
80 =============
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
81
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
82 Permission is hereby granted, free of charge, to any person obtaining a copy
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
83 of this software and associated documentation files (the "Software"), to deal
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
84 in the Software without restriction, including without limitation the rights
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
85 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
86 copies of the Software, and to permit persons to whom the Software is
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
87 furnished to do so, subject to the following conditions:
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
88
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
89 The above copyright notice and this permission notice shall be included in
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
90 all copies or substantial portions of the Software.
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
91
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
92 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
93 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
94 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
95 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
96 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
97 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
01ff8dd37d4d Uploaded
lz_hust
parents:
diff changeset
98 THE SOFTWARE.