OverviewThe Windows Subsystem for Linux (WSL) is a compatibility layer that allows Linux applications to run directly on Windows 10/11 and Windows Server 2019 or later. To run Linux applications on top of the WSL layer, a Linux distribution must be installed on WSL. A prepared Linux image (based on Ubuntu 20.04.5 LTS) containing all the required Linux tools for SeqSphere+ can be installed via a menu command. By installing WSL and the adapted Linux, SeqSphere+ users on Windows can benefit from Linux based applications that are distributed together with SeqSphere+:
1) Only required and available for ONT Data Assembly Module 2) Only required and available for Long-read Data Plasmid Transmission Analysis Module Once WSL has been successfully installed on client computers, these features will automatically appear in the SeqSphere+ pipeline script settings and tools menu (except for the AMRFinderPlus, SISTR, MOB-suite and MobileElementFinder functionality that come linked to task templates). Hints: Due to limitations in WSL, Linux applications running in WSL cannot access network drives. Working with files from network drives therefore will fail for applications that are started via the Tools menu. However, when the pipeline is run, the input files are copied to a temporary directory on the local computer. Therefore it is no problem to use a network drive as a source for read files together with Linux applications in pipeline mode. Installation of WSLImportant: For Windows Server 2019 the automatic installation described in this chapter cannot be used. The installation must be done manually as described in the Windows Server 2019 section below. WSL must first be enabled, before a Linux distribution can be installed on it. There are two different versions of WSL: WSL 1 and WSL 2. In principle both versions can be used for SeqSphere+. However, we recommend for Windows 10 using WSL 1 and for Windows 11 using WSL 2 for best compatibility. Enabling WSLEnabling WSL requires administrative privileges and must be done once for each computer that has a SeqSphere+ client installed. Enabling WSL 1 (recommended for Windows 10)For enabling WSL 1 on Windows 10 the Windows Subsystem for Linux feature must be activated using the following steps:
Enabling WSL 2 (recommended for Windows 11)Important: WSL 2 requires virtualization technology on the computer. For AMD CPUs this technology is called AMD Secure Virtual Machine (AVM-SVM) or AMD Virtualization (AMD-V), for Intel CPUs it is called Intel VTX. Instructions how to enable virtualization technology can be found here: Enable virtualization on Windows 11 PCs After this, for enabling WSL 2 the Virtual Machine Platform feature must be activated using the following steps:
Installing Linux distributionThe Linux distribution must be installed for both WSL 1 and WSL 2. The installation must be done once for each Windows user who needs the Windows Subsystem for Linux functions. It requires no administrative privileges.
Important: When the SeqSphere client is uninstalled later from the computer, the Linux installation is not removed automatically. To remove it from the system, start the SeqSphere+ client (before uninstalling it) and invoke in the Help menu Install Linux Distribution for WSL. A window will show the information that the Linux distribution is already installed. Click the button Uninstall. The uninstallation step must be done for each Windows user who has installed the Windows Subsystem for Linux functions. It requires no administrative privileges. Updating from old SeqSphere VersionsWhen updating from older SeqSphere versions, an existing WSL installation is initially used by default. This WSL can still be used for the old functions, but may not include the tools and versions that are required for some new functions. Updating from SeqSphere Version 9To use the new functions, an existing Ridom WSL distribution must be updated.
The WSL version that was used for the previous installation is pre-selected. Click OK to download and install the new Ridom Linux distribution. Updating from SeqSphere Version 8 or olderTo use the new functions, it is necessary to install the Ridom WSL distribution as described above. After the installation of the Ridom WSL distribution is completed, the old WSL installation is not needed any more, and can be removed (by using the 'Add or remove programs' function of the Windows System Settings or by right click on the Ubuntu app and select 'Uninstall'). TroubleshootingCorrupted WSL InstallationAfter a major Windows update has been installed, it can happen that an existing WSL is not correctly working any more. In those cases invoke again in the Help menu Install Linux Distribution for WSL. Then reinstall the Linux Distribution. Manual Uninstallation of WSL Linux distributionTo manually uninstall the WSL Linux distribution used by SeqSphere use the following steps:
This can also be used to uninstall the WSL Linux distribution after the SeqSphere Client has already been uninstalled. Manual Installation of WSL on Windows Server 2019For Windows Server 2019 the automatic installation of WSL that is implemented in SeqSphere cannot be used. However, WSL can be installed manually using the following these steps:
Manual Installation of WSL on Windows 10, Windows 11 and Windows Server 2022To install the Linux distribution for multiple users or on multiple computers a manual installation can be done. The following steps allow to download the Linux distribution only once and share the downloaded file for multiple installations. However, the installation process still needs to be repeated for each user. The installation directories cannot be shared between multiple users.
|