Setting up for Metagenome functions
by Maria Jane Poncardas
written: September 4, 2019
SETTING UP FOR DETERMINING METAGENOME FUNCTIONS
Download Oracle virtual box from https://www.virtualbox.org/wiki/Downloads > VirtualBox 6.0.8 platform packages > Windows hosts.
Install the Virtual Box (which was downloaded from step 1). You would receive a warning, but do skip ahead.
Download the 64-bit QIIME Virtual Box, which is linked from http://qiime.org/home_static/dataFiles.html. Grab the latest QIIME Virtual Box image, in our case, QIIME 1.9.1 64-bit. Its file size is around 4GB. This is downloaded as a compressed file, hence you need to unzip it. You should see a red cube icon for this file and is a VDI file extension (Virtual disk image).
Launch the installed Virtual box (from step 2) and create a new machine by pressing the “New” button.
A new window will show up and then click ‘Next’
Select the Linux as operating system and Ubuntu (64 bit) as its version, then proceed.
Select the amount of RAM (memory), in our case, we allocated 4GB (from a 16GB RAM machine).
Select “Use existing hard drive, and click the folder icon next to the selector. Click “Add”, and then select the QIIME hard drive that was downloaded from step 3.
Click Finish.
Select the virtual machine and give a name to it, (e.g. QIIME), and boot it for the first time by clicking on the “Start” button on the top panel.
Now install QIIME inside this virtual machine (Ubuntu 64 bit).
Click on the “Devices” on the topmost menu inside the Linux machine, then select Insert Guest Additions CD image. Basically, they have a CD in this virtual computer.
A new window appears and simply click Run.
Another prompt is expected to open as it will request a password. Just type, “qiime”, in all lower case letters to authenticate.
Once done, click on the CD icon on the left side panel of the Ubuntu and it will show the contents of the CD. After this, also open the terminal.
Inside the terminal, type in “sudo”, without the quotation marks, and on the folder in step d., drag over the VBoxLinuxAdditions (this file name may vary over time).
In the terminal line, remove the apostrophes before and after the file name and then press Enter.
It will ask you to write the password for qiime. Enter the same password as mentioned above (step c). This will not show you asterisks or any typical way on typing passwords. And click enter after that.
Shut down your virtual machine. Make sure that it is powered off inside the Oracle VM virtual machine.
Create a Shared folder that you can use to transfer files to and from your virtual machine.
Click on the Shared Folders inside the Oracle VM.
Click on the blue envelop button with a green cross in it.
On the “Folder Path”, select the location which you could transfer your files to your virtual machine and make sure that the “Folder Name” is named as “Shared_Folder”, following the exact capitalizations.
Once you open your QIIME virtual machine, you should see the changes on the folder appearance of the Shared_Folder on the Desktop.
Now, it is recommended to install the Miniconda which could hold the Bioconda library. The easiest way to install PICRUSt is using the bioconda. This Bioconda supports only 64-bit Linux and Mac OSX. (see https://bioconda.github.io/)
citation: Grüning, Björn, Ryan Dale, Andreas Sjödin, Brad A. Chapman, Jillian Rowe, Christopher H. Tomkins-Tinch, Renan Valieris, the Bioconda Team, and Johannes Köster. 2018. “Bioconda: Sustainable and Comprehensive Software Distribution for the Life Sciences”. Nature Methods, 2018 doi:10.1038/s41592-018-0046-7.
Inside the virtual machine, download Python 2.7 for Linux 64-bit from https://docs.conda.io/en/latest/miniconda.html
In the terminal, navigate to the downloaded file of miniconda by changing its directory (use cd), and then type in “bash”, without the quotation marks, and type the file name.
Once you are completed, close the terminal.
Then let us install the Bioconda channel through the terminal in this order:
Install the packages:
Comments
Post a Comment