Feb 05, 2024

Public workspaceLaptop setup and piranhaGUI install V.2

Laptop setup and piranhaGUI install
  • 1Institute of Ecology and Evolution, University of Edinburgh;
  • 2Imperial College London;
  • 3NIBSC
Open access
Protocol CitationAine OToole, rachel.colquhoun, c.ansley, Zoe Vance, Daniel Maloney, Joyce Akello, Catherine Troman, Erika Bujaki, Javier Martin, Alex Shaw, Nick Grassly, Andrew Rambaut 2024. Laptop setup and piranhaGUI install. protocols.io https://dx.doi.org/10.17504/protocols.io.ewov1q642gr2/v2Version created by Aine OToole
Manuscript citation:
Automated detection and classification of polioviruses from nanopore sequencing reads using piranha
Áine O’Toole, Rachel Colquhoun, Corey Ansley, Catherine Troman, Daniel Maloney, Zoe Vance, Joyce Akello, Erika Bujaki, Manasi Majumdar, Adnan Khurshid, Yasir Arshad, Muhammad Masroor Alam, Javier Martin, Alexander G Shaw, Nicholas C Grassly, Andrew Rambaut
bioRxiv 2023.09.05.556319; doi: https://doi.org/10.1101/2023.09.05.556319
License: This is an open access protocol distributed under the terms of the Creative Commons Attribution License,  which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited
Protocol status: Working
We use this protocol and it's working
Created: February 02, 2024
Last Modified: February 05, 2024
Protocol Integer ID: 94618
Keywords: piranha, bioinformatics, phylogenetics, analysis, poliovirus
Funders Acknowledgement:
Bill & Melinda Gates Foundation
Wellcome Trust
Abstract
This protocol provides step-by-step guidance on installing MiKNOW, piranhaGUI and its dependency Docker Desktop.

Materials
Addditional troubleshooting resources

Docker install and running issues

WSL installation issues

PiranhaGUI download page

Laptop requirements
Laptop requirements
Requirements:
  1. Administrator access to the laptop
  2. A high-performance laptop with a GPU
Setting up a Nanopore account & installing MinKNOW
Setting up a Nanopore account & installing MinKNOW
Register for an Oxford Nanopore Technologies Account at https://nanoporetech.com/community by clicking the "Register here" button. You will have to verify your email address and log in. If you already have an account, sign in.
Screenshot 2024-02-02 at 14.42.08.png

To access the useful software, you will need to associate your account with a full membership or else order a starter pack and become a full member.

Navigate in a web-browser to https://community.nanoporetech.com/downloads, you will need to log in to your Nanopore account to access this page.

Screenshot 2024-02-02 at 14.50.41.png

Scroll down once you have reached this page to view the "MiKNOW download" and download the respective link depending on whether you are using a Windows, Mac or Linux machine.

Screenshot 2024-02-02 at 14.51.34.png

Mac Installation of MiKNOW
If you have a Mac and are not sure whether you have an Apple or Intel chip, click the apple icon in the top left hand side of the screen, and navigate to "About this Mac". A window will pop up (like the one in the image) that describes various things about your computer, including "Processor". If your processor has Intel in it, you have an Intel chip, otherwise you have an Apple chip. Another clue would be how new your Mac is. If you've purchased a Mac in the last 3 years it's very likely to be an Apple chip.


Screenshot 2024-02-02 at 10.21.05.png
About this mac In this example the processor is an intel one, so the link to click on would be the Mac Intel installer.

Once you've downloaded the Mac dmg file, extract it and open the MinKNOW.pkg file by double clicking on the icon.
Screenshot 2024-02-02 at 14.57.55.png

An installer window will open and you'll be guided through the installation steps:

Screenshot 2024-02-02 at 15.01.22.png


Windows installation of MiKNOW
Download the windows installer, the machine you're using should have a GPU so click on the GPU installer link. If your machine does not have a GPU, running basecalling for a Nanopore run will take a very long time.

Run the installer by double clicking it in the directory it was downloaded to (likely your downloads folder).

Screenshot 2024-02-02 at 15.05.16.png


When the installer pops up, follow the installation instructions to install MiKNOW.
You should now be ready to run MinKNOW when you go to perform a sequencing run.
Install piranha through piranhaGUI
Install piranha through piranhaGUI
PiranhaGUI can be installed on a Windows, MacOSX or Linux machine.
To install piranhaGUI, navigate to piranhaGUI GitHub on a web browser. You should see a page similar to the one below, which shows the latest releases of piranha GUI, along with some installation instructions.


Screenshot 2024-02-01 at 10.23.29.png
PiranhaGUI releases page. A release is like a checkpoint for software that pins everything at a specific version. There may be periodic updates of piranhaGUI (new releases) and also of the piranha software that piranhaGUI runs.

To download the latest release, click on the relevant link on this page under the "assets" category of the latest releases.
  • If you're a window's user, download the PiranhaGUIvX.X.X_installer_windows.exe installer and double click to run it
  • If you are a MacOS user download the PiranhaGUIvX.X.X.zip file and extract it, then drag it to your Applications folder. The first time you run it, right-click or control-click on the icon and select Open - this will the allow you to agree to run it. After this, you just need to double-click the icon.
  • For Linux install the piranhaGUI_X.X.X.deb file.

Screenshot 2024-02-01 at 10.33.35.png
Download links for piranhaGUI

If you have never run Docker on your computer before, you will need to install Docker Desktop.
Navigate to https://www.docker.com/products/docker-desktop/ on a web browser and you should see a page like the one below. Click on the relevant download link (Mac- Apple Chip, Mac - Intel Chip, Windows or Linux). See the next step if you are not sure whether you have an Apple Chip or Intel Chip.

Screenshot 2024-02-02 at 10.04.41.png


Install on a Mac

Screenshot 2024-02-02 at 10.21.05.png
About this mac In this example the processor is an intel one, so the link to click on would be the Mac Intel installer.


If you downloaded a Mac dmg file, click on it to open and a window should pop up prompting you to drag the Docker icon into the Applications folder. Drag the icon into Applications.
Screenshot 2024-02-02 at 11.04.21.png




Install on a windows machine
If you downloaded a windows executable, double-click to open and follow the installation instructions on the window that pops up.

configuration.PNG
Tick use WSL2 instead of Hyper-V if possible
When you have clicked through and completed the instructions, you should see the following success screen:
Done[1].PNG


Open Docker Desktop by clicking on the icon in your file browser to check it has installed sucessfully.
PiranhaGUI setup
PiranhaGUI setup
Double click on the piranhaGUI icon to open it. If you have a Mac and have not previously run piranhaGUI you should right-click or control-click on the icon and select `Open`, which will allow you to agree to run it.

When piranhaGUI has opened you should see a screen like the one below:

Screenshot 2024-02-02 at 11.51.46.png

If the screen does not say Docker software installed, you may need to repeat the above Docker installation steps and ensure Docker installs correctly. Internet connectivity may be an issue for downloading Docker Desktop, but this only needs to be done once. Try to ensure a stable internet connection and download again if necessary. If the screen says "Docker software installed", you can move on to the next step.
You will want to make sure you have the latest version of piranha installed. If the message appears, as in the previous image, that an update is available for piranha, then click on the button to install the update to the piranha software. You should see the below message pop up that piranha GUI is pulling PIRANHA image:

Screenshot 2024-02-02 at 11.56.20.png

This step requires an internet connection, when it is complete and piranha has been updated to the latest you should see the following screen:

Screenshot 2024-02-02 at 11.58.16.png

All messages are in green, so you should be now ready to run piranha.

**If you are taking part in a training workshop and do not have a reliable internet connection, you may be able to install piranha with from a distributed thumb drive.**