1- ## Installation
1+ ## Installation (work in progress)
22
33A condensed list of dependencies
44
@@ -11,6 +11,12 @@ A condensed list of dependencies
1111- bwa
1212- lofreq
1313
14+ ### Install GATK
15+
16+ GATK is not (yet?) included in the instructions below because you need
17+ to register online [ here] ( https://software.broadinstitute.org/gatk/download/ )
18+ in order to download it. Then, install it in ` /usr/local/GATK ` . MinVar expects
19+ to find the Java archive file ` /usr/local/GATK/GenomeAnalysisTK.jar ` .
1420
1521### Setting up with Ansible
1622
@@ -23,11 +29,39 @@ its dependencies on a dedicated machine. The files therein define an
2329
2430Ansible is a deployment tool that allows an automatic provisioning of machines
2531on the cloud (it can be used on AWS, DigitalOcean, Google Cloud Platform etc.)
26- The user install ansible on their own local machine (this can be your old laptop),
32+ The user installs ansible on a local machine (this can be your old laptop),
2733defines ansible commands in specific files and uses them to set up a remote
2834machine.
2935
3036In the following we will assume that you have installed ansible on your local
31- laptop and you want to set up MinVar on a remote machine running Ubuntu Linux.
37+ laptop and you want to set up MinVar on a remote machine running Linux Ubuntu 16.04.
38+ The access to this machine is provided by private-public SSH key pair that must be
39+ set up. Good instructions for this task can be found in this [ help] ( https://help.ubuntu.com/community/SSH/OpenSSH/Keys ) .
40+
41+ #### How to proceed
42+
43+ 1 . Install ansible on your machine (on Mac OS X you can do it via the package
44+ manager [ brew] ( https://brew.sh ) with ` brew install ansible ` ),
45+ 2 . clone MinVar from GitHub with ` git clone https://github.com/ozagordi/MinVar.git `
46+ or download/unzip it,
47+ 3 . move to the directory ` ansible ` in the cloned repository and identify the file
48+ ` hosts ` . This file contains two lines ` [minvarmachine] ` and a fake ip address.
49+ Adapt to the name of the machine you want to setup and its address,
50+ 4 . in the same directory edit the file ` setup-hosts.sh ` : adapt
51+ ` --key-file=path_to_your_private_key ` to point to your personal * private* key,
52+ 5 . copy your personal * public* key into ` my.key ` ,
53+ 6 . run ` ./setup-hosts.sh ` .
54+
55+ #### What can go wrong
56+
57+ We assumed that you have an Ubuntu 16.04 available. Most of the stuff will work
58+ on Ubuntu 14.04, but you need to switch to a newer version of Java provided by
59+ Oracle in order to run ` picard ` . You can find
60+ [ here] ( https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04 )
61+ a good tutorial on this.
62+
63+ ### If you don't want to use ansible
3264
33- https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04
65+ The ansible [ playbook] ( https://github.com/ozagordi/MinVar/blob/master/ansible/setup.yml )
66+ reads almost as plain English. You can manually copy the instructions from there
67+ and install what you need.
0 commit comments