Sydney-Informatics-Hub / Scalable-DIA-NN

Scalable workflow to run https://github.com/vdemichev/DiaNN on NCI Gadi HPC
3 stars 2 forks source link

Scalable DIA-NN

Overview

This workflow implements the CLI installation of DIA-NN in a highly scalable fashion. DIA-NN is a popular tool that performs data processing and analysis for data-independent acquistion (DIA) proteomics data and was developed by Demichev, Ralser and Lilley Labs (Ralser et al. 2020).

Native DIA-NN is designed to utilise up to all cores on a single node, and does not currently have multi-node capability. For experiments with high numbers of samples, processing DIA data can be time-consuming and require batch processing followed by batch correction. This workflow has been created to enable large sample cohorts to be analysed with DIA-NN as a single batch on HPC, thereby eliminating batch effects (Fig. 1) and vastly reducing compute walltime (Fig. 2). We have achieved speedups of 61X and 145X on large cohort Scanning SWATH and Zeno SWATH datasets, respectively.

Fig.1 a. Batch-processing of 1530 Scanning SWATH samples over 10 batches using DIA-NN GUI on PC. b. Processing the same 1530 samples using this Scalable-DIA-NN workflow on HPC.



Fig.2 Comparison of compute between PC GUI DIA-NN and Scalable-DIA-NN over two large-cohort datasets.



To tease apart the DIA-NN run command into discrete jobs, we followed the steps recommended by the primary developers of DIA-NN and quantms, described in this Github issue. Quantms is a scalable nextflow workflow of DIA-NN, but currently does not work on NCI Gadi or Pawsey Nimbus (suspect that it is due to MacOS vs Linux incompatibilities) and hence this workflow was re-created here.

Importantly, our workflow differs from quantms as it takes .wiff files as input, where quantms requires mzML input. Converting .wiff files to the universal mzML format has two important downsides:

To avoid the use of mzML, we use the Windows version of DIA-NN on Linux by executing with Wine (a PC emulator). We have installed Windows DIA-NN v. 1.8.1 with Wine 7 and packaged this into an archive; see Obtain required input files under Detailed user guide. We developed this workflow on NCI Gadi HPC, which has a Lustre scratch filesystem. We found we were unable to execute PC DIA-NN with Wine when the installation folder was on Lustre, so the workflow copies the archive to the solid-state local-to-the-node storage for each task.

For more details on the workflow, see the topics below: