-
Notifications
You must be signed in to change notification settings - Fork 2
/
INSTALL.txt
158 lines (119 loc) · 5.17 KB
/
INSTALL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
INSTALL instructions for POTION
(last updated 12/02/2015 - mm/dd/yyyy format)
AUTHORS
-=-=-=-
Jorge Augusto Hongo ([email protected])
Giovanni Marques de Castro ([email protected])
Francisco Pereira Lobo ([email protected], [email protected])
First things first: dependencies
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
A - Third-party software
-=-=-=-=-=-=-=-=-=-=-=-=
You need to install the following third-party software to use POTION:
- MUSCLE - http://www.drive5.com/muscle/downloads.htm
- Prank - http://wasabiapp.org/software/prank/prank_installation/
(we recommend you to compile it yourself, instead of using the
pre-compiled executable, see Note below)
- MAFFT - http://mafft.cbrc.jp/alignment/software/
- PhiPack - www.maths.otago.ac.nz/~dbryant/software/PhiPack.tar
(Phi executable)
- phylip - http://evolution.genetics.washington.edu/phylip.html
(seqboot, dnaml/proml and consense executables)
- PAML - http://abacus.gene.ucl.ac.uk/software/paml.html
(codeml executable)
- TrimAl - http://trimal.cgenomics.org/downloads
- PhyML - https://github.com/stephaneguindon/phyml/
We recommend you to download the versions for which we tested POTION's latest
version, listed in
http://www.lmb.cnptia.embrapa.br/share/POTION/user_guide.html.
Note that you can choose between MUSCLE, Prank and MAFFT for protein multiple
sequence alignment, and between dnaml|proml|phyml for phylogenetic tree
reconstruction, so having only one for each of these steps is enough for your
project.
To run POTION with the example datasets (MYC and TRYP), you will need Prank for
the MYC dataset, and MUSCLE for the TRYP dataset. Both will require dnaml.
Note
-=-=-
Some of the programs above are compiled in C and require the library GLIBC to
run. Whenever possible, compile, them instead of using a pre-compiled binary,
as the error message "version `GLIBC_x.xx' not found" will appear in case of a
version mismatch between your computer's GLIBC and the one used to compile the
C program.
As of current writing, you can find the latest version of GLIBC in
http://www.gnu.org/software/libc/index.html
B - Perl modules
-=-=-=-=-=-=-=-=
You also need to have Perl, BioPerl, and some of its modules installed. You can
check if you have them installed in your machine with:
> perl -e 1 -M<module>
It will return an error message if it isn't installed.
Use the commands below to check if they are installed:
perl -e 1 -MBio::SeqIO
perl -e 1 -MBio::AlignIO
perl -e 1 -MCwd
perl -e 1 -MFile::chdir
perl -e 1 -MFile::Copy
perl -e 1 -MPOSIX
perl -e 1 -MStatistics::Distributions
perl -e 1 -MStatistics::Multtest
perl -e 1 -MTie::File
perl -e 1 -MTry::Tiny
perl -e 1 -MData::Dumper
perl -e 1 -MFile::Spec::Functions
perl -e 1 -MFile::Basename
perl -e 1 -MFindBin
perl -e 1 -MCapture::Tiny
perl -e 1 -MGetopt::Long
You can install these modules through the CPAN, or manually download
(http://search.cpan.org/) and compile them. To use CPAN, you can do by
writing:
> perl -MCPAN -e 'install "<module>"'
Use the commands below to install with CPAN:
perl -MCPAN -e 'install "Bio::SeqIO"'
perl -MCPAN -e 'install "Bio::AlignIO"'
perl -MCPAN -e 'install "Cwd"'
perl -MCPAN -e 'install "File::chdir"'
perl -MCPAN -e 'install "File::Copy"'
perl -MCPAN -e 'install "POSIX"'
perl -MCPAN -e 'install "Statistics::Distributions"'
perl -MCPAN -e 'install "Statistics::Multtest"'
perl -MCPAN -e 'install "Tie::File"'
perl -MCPAN -e 'install "Try::Tiny"'
perl -MCPAN -e 'install "Data::Dumper"'
perl -MCPAN -e 'install "File::Spec::Functions"'
perl -MCPAN -e 'install "File::Basename"'
perl -MCPAN -e 'install "FindBin"'
perl -MCPAN -e 'install "Capture::Tiny"'
perl -MCPAN -e 'install "Getopt::Long"'
To install manually, search for the most recent version of these modules and,
for each, download and type the following (should work most of the time, except
for BioPerl):
> tar -zxvf <module.tar.gz>
> perl Makefile.PL
> make
> make test
> make install
Setting POTION environment
-=-=-=-=-=-=-=-=-=-=-=-=-
Editing 'potion_config'
-=-=-=-=-=-=-=-=-=-=-
Download POTION (http://www.lmb.cnptia.embrapa.br/share/POTION/downloads.html),
uncompress the .tar.gz file and place in a folder of your choice. Then edit
POTION's configuration file (potion_config) in the 'config_files' directory.
Write the absolute path to POTION's main directory in parameter 'potion_dir'.
Example:
potion_dir = /home/you/programs/POTION-<version>/
This path can be found wtih the "pwd" command in your terminal. Set the absolute
path of the third-party software IF you did not have added their path to $PATH
variable. You can use '$potion_dir' to refer to the path in 'potion_dir'.
- codeml: path to the Codeml executable of PAML package
- consense: path to the Consense executable of Phylip package
- dnaml: path to the Dnaml executable
- mafft: path to MAFFT executable
- muscle: path to the MUSCLE executable
- phipack: path to the Phi executable of PhiPack package
- prank: path to the Prank executable
- proml: path to the Proml executable of Phylip package
- seqboot: path to the Seqboot executable of Phylip package
- trimal: path to the Trimal executable
- phyml: path to the PhyML executable