-
Notifications
You must be signed in to change notification settings - Fork 1
/
bootstrap.sh
29 lines (21 loc) · 902 Bytes
/
bootstrap.sh
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
#!/bin/bash
echo "Started bootstrap."
# Installs the ViennaRNA tools suite. Includes RNA structure prediction and
# ability to plot images of predicted structures, among other things.
apt-add-repository -y ppa:j-4/vienna-rna
apt-get -y update
apt-get -y install vienna-rna
# Installs the RNAstructure package.
# Alternatively, a GUI version can be downloaded here:
# http://rna.urmc.rochester.edu/RNAstructureDownload.html
# Help for the RNAstructure commands
# http://rna.urmc.rochester.edu/Text/index.html
cd /home/vagrant
echo "Downloading RNAstructure..."
wget http://rna.urmc.rochester.edu/RNAstructureLinuxTextInterfaces64bit.tgz >&/dev/null
echo "...Finished downloading RNAstructure"
tar xvzf RNAstructureLinuxTextInterfaces64bit.tgz
rm RNAstructureLinuxTextInterfaces64bit.tgz
ln -s /vagrant/data /home/vagrant/data
ln -s /vagrant/utils /home/vagrant/utils
echo "Finished bootstrap."