forked from jtamames/SqueezeMeta
-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALL-CENTOS7
62 lines (41 loc) · 1.79 KB
/
INSTALL-CENTOS7
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
### Enable Extended Packages for Enterprise Linux.
sudo yum -y install epel-release
### Install git and system libraries
sudo yum -y install gcc ncurses-devel git zlib-devel bzip2-devel xz-devel libxml2-devel libcurl-devel openssl-devel
### Install Ruby.
sudo yum -y install ruby
### Install Perl modules.
sudo yum -y install cpan perl-Tie-IxHash perl-DBI perl-DBD-mysql perl-XML-LibXML perl-XML-Parser perl-DBD-SQLite perl-Time-Piece
sudo cpan DBD::SQLite::Constants
sudo cpan Linux::MemInfo
sudo cpan Term::ANSIColor
###Install Python modules.
sudo yum -y install python3 python36-scipy
sudo python3 -m pip install future cython
sudo python3 -m pip install pandas
sudo python3 -m pip install matplotlib dendropy pysam
### Install R.
sudo yum -y install R
### Download SqueezeMeta.
## You can download the latest release of SqueezeMeta from https://github.com/jtamames/SqueezeM/releases/latest
## Alternatively you can clone the github repository.
## git clone http://github.com/jtamames/SqueezeMeta
### Install R packages.
sudo R
install.packages("doMC")
install.packages("ggplot2")
install.packages("data.table")
install.packages("reshape2")
install.packages("BiocManager")
BiocManager::install("pathview")
quit(save="no")
sudo R CMD INSTALL <installpath>/SqueezeMeta/bin/DAS_Tool/package/DASTool_1.1.1.tar.gz
sudo R CMD INSTALL <installpath>/SqueezeMeta/lib/SQMtools
### Install databases and test data.
# This will occupy around 200Gb.
<installpath>/SqueezeMeta/utils/install_utils/download_databases.pl <datapath>
### Test that all the dependencies can be located in this environment.
<installpath>/SqueezeMeta/utils/install_utils/test_install.pl
### Run SqueezeMeta on test data.
cd <datapath>/test
perl <installpath>/SqueezeMeta/scripts/SqueezeMeta.pl -m merged -p Hadza -s test.samples -f raw/