After the start of the machine has been triggered, some time may pass before the machine is available. As soon as this is the case, this becomes visible via a green icon.
Once the VM is available, you can use it for testing the tools and inspecting the data before you scale up your analysis in the next section.
Log in to the VM and verify that SimpleVM provisioned the VM correctly.
-
Click on the Instances tab (Overview -> Instances). After you have initiated the start-up of the machine, you should have been automatically redirected there. Now open the "How to connect" dropdown of your machine. Click on the Theia ide URL which opens a new browser tab.
-
Click on
Terminal
in the upper menu and selectNew Terminal
. -
Inspect the VM before starting to work with it. Let's check whether the VM has the properties that SimpleVM promised you by typing the following commands in your newly opened terminal window.
nproc
tells you the number of processing units.nproc
Does that correspond to the actual number of cores of the flavor you selected?
free -h
tells you the amount of RAM that is available to your VM. You will see that the sum of the total amount of Mem (total
column,Mem
row) corresponds roughly to the RAM size of your selected flavor.free -h
You can also check what kind of processes are running on your VM by executing
top
orhtop
.htop
Exit
htop
by typingq
orF10
. -
You can use the tools you selected in the previous part by running
conda activate denbi
. -
Test if the needed commands are installed by running all of them with -h parameter. You will get an explanation of their usage in the next chapter.
ncbi-genome-download -h
mash -h
csvtk -h
jq -h
If there is an error reported, then something went wrong, and we have to either repeat the conda installation manually or install it a different way.
-
Remember that you have root permissions on the VM. You can install any tool that you need for your research. Let's test this statement by first fetching the latest information about available packages and installing the following commands (
fortune-mod
,cowsay
) viasudo
.Update:
sudo apt update
Install the commands:
sudo apt install -y fortune-mod cowsay
You can run both commands via
/usr/games/fortune | /usr/games/cowsay