- Research article
- Open Access
MCtandem: an efficient tool for large-scale peptide identification on many integrated core (MIC) architecture
BMC Bioinformaticsvolume 20, Article number: 397 (2019)
Tandem mass spectrometry (MS/MS)-based database searching is a widely acknowledged and widely used method for peptide identification in shotgun proteomics. However, due to the rapid growth of spectra data produced by advanced mass spectrometry and the greatly increased number of modified and digested peptides identified in recent years, the current methods for peptide database searching cannot rapidly and thoroughly process large MS/MS spectra datasets. A breakthrough in efficient database search algorithms is crucial for peptide identification in computational proteomics.
This paper presents MCtandem, an efficient tool for large-scale peptide identification on Intel Many Integrated Core (MIC) architecture. To support big data processing capability, a novel parallel match scoring algorithm, named MIC-SDP (spectrum dot product), and its two-level parallelization are presented in MCtandem’s design. In addition, a series of optimization strategies on both the host CPU side and the MIC side, which includes pre-fetching, optimized communication overlapping scheme, multithreading and hyper-threading, are exploited to improve the execution performance.
For fair comparisons, we first set up experiments and verified the 28 fold times speedup on a single MIC against the original CPU-based implementation. We then execute the MCtandem for a very large dataset on an MIC cluster (a component of the Tianhe-2 supercomputer) and achieved much higher scalability than in a benchmark MapReduce-based programs, MR-Tandem. MCtandem is an open-source software tool implemented in C++. The source code and the parameter settings are available at https://github.com/LogicZY/MCtandem.
In the proteomics era, mass spectrometry has become a leading technology for proteomic analysis, including the high-throughput analysis of proteins and determination of their primary structures. Database search-based peptide identification, which aims to retrieve all candidate sequences from a specified protein sequence database for each tandem mass spectrometry (MS/MS) spectrum, is widely used for protein analysis. It can process the peptide sequence and post-translational modifications (PTMs) with high accuracy, sensitivity, and throughput. X!Tandem , SEQUEST , Mascot , pFind [4, 5] and OMSSA  are examples of excellent peptide identification tools in proteomics.
However, existing peptide database search tools still suffer from low computational efficiency due to a number of limitations. First, modern mass spectrometers can generate millions of MS/MS spectra in each experiment, which makes matching of these fragmentation spectra to peptides a bottleneck in proteomics research  (e.g., entire human proteome identification). Second, the database search criteria have become increasingly demanding, e.g., in semi-unconstrained enzyme searches and/or when considering multiple variable PTMs . Finally, the integration of acquired sequence data into central databases such as Liverwiki  typically requires the updating and depositing of a large amount of spectra data files.
Without the development of more powerful and efficient peptide database searching methods, we can expect computational bottlenecks to limit the scope of discoveries to small-scale MS/MS spectra data. Therefore, a breakthrough in efficient database search algorithms is crucial for large-scale peptide identification, especially entire human proteome analysis, in computational proteomics.
Fortunately, various high performance computing (HPC) frameworks and hardware techniques, such as Message Passing Interface (MPI) , MapReduce , field programmable gate arrays (FPGAs) , Intel Many Integrated Core Architecture (MIC) , and graphics processing units (GPUs) , have recently been developed to improve the computational efficiency in information science . In recent years, the MIC architecture, which is a coprocessor designed for highly parallel multithreaded applications with high memory requirements, has become a widely-used HPC technology in computational biology research . In this paper, we have developed a new peptide database search tool, MCtandem, that parallelizes X!Tandem based on the MIC architecture (the main accelerator of the Tianhe-2 supercomputer), via the widely adopted MPI/OpenMP protocol. MCtandem has significant advantages over previous methods that are particularly prominent when analysing large-scale datasets. The highlights are as follows:
We design and implement an SDP-based parallel scoring algorithm using a two-level parallelization mechanism. To the best of our knowledge, MIC-SDP is the first parallel scoring algorithm for peptide identification on MIC architecture and exhibits the best execution performance.
We adopt the MIC coprocessor for peptide database searching that uses the MIC-SDP algorithm. In design realization, we also employ asynchronous task transfer and propose a series of effective optimization strategies to decrease the communication costs between the host CPU and accelerator MIC and to balance the workload on each MIC coprocessor. The optimization strategies we use may provide insight into similar work on other database search applications.
We also show the scalability of MCtandem by scaling the size of datasets and the number of MIC coprocessors. We obtain an ideal speedup on a multi-node cluster containing three MIC coprocessors with a total of 183 cores. The experimental results show that MCtandem has excellent scalability performance without sacrificing accuracy and correctness in the peptide database searching results.
In the following part, we first introduce the Intel MIC architecture and peptide database search method and then present the existing parallel works in peptide database searching.
Intel MIC architecture
Intel Many Integrated Core (MIC) architecture is a many-core coprocessor (Intel Xeon Phi coprocessor) used for highly parallel multithreaded applications that require high memory bandwidth . MIC is based on an X86 Pentium core architecture but contains 512-bit-wide vector units, and each coprocessor features 61 cores clocked at 1 GHz or more, supporting 64-bit x86 instructions. The theoretical peak performance of a Xeon Phi coprocessor is up to 1 TFLOP/s in double precision. These in-order cores support four ways of hyper-threading, resulting in more than 240 logical cores . In principle, one great benefit of using Intel MIC technology, compared with other accelerators and coprocessors, is the simplicity of the development. Developers do not have to learn a new programming language but may compile their source codes specifying MIC as the target architecture .
Typically, MIC supports three kinds of programming models that can be used to design and implement parallel applications on MIC-based heterogeneous systems, as shown in Fig. 1. In its Native model, applications usually run entirely on the Intel Xeon Phi coprocessor. In its Offload model, the application starts execution on the host CPU. When an offload region is encountered, the host CPU will transfer the corresponding data to the MIC coprocessor and let the coprocessor work on it. In its Symmetric model, the host CPU and the MIC coprocessor run in parallel [18, 20]. In our work, we have used the offload model to design and implement MCtandem algorithms that can make full use of the computing resources of both the multi-core CPU and the Xeon Phi coprocessors.
Database search-based peptide identification
Peptide database searching is the most commonly used peptide and protein identification method and is dependent on the presence peptide sequences in a database. Essentially, all peptide sequences in the database can be scored against the experimental spectrum, and the best scoring sequence is the accepted source of the MS/MS spectrum. Sequest , Mascot  and X!Tandem  are some excellent algorithms in the field of peptide database searching.
The core of any protein and peptide identification method is the scoring function. In database searching, the scoring function calculates the similarity between a hypothetical spectrum and an experimental spectrum that is generated after the in-silicon digestion of protein sequences from a database, and it is the most time consuming and computationally intensive step (more than sixty percent of the total time in X!Tandem [1, 21, 22] and pFind ) in the flow of protein identification. Explanations are reflected in Table 1. Note that there are scoring calculations in both the model computing and model refinement steps.
The scoring function is used to quantify how well a candidate peptide explains a spectrum and to choose the highest scoring peptide, which explains the spectrum the best. Among the popular protein database search approaches, the spectrum dot product (SDP) is a basic and very widely used scoring algorithm that can be used applied directly or indirectly in Sonar , X!Tandem , pFind  and Sequest , etc.
The peptide-spectrum match (PSM) is a pair (P,S) consisting of a peptide P and a spectrum S. The spectrum includes a list of peaks, and each peak specified by an m/z value. Therefore, representing spectra as vectors allows us to represent the generation of spectra from peptides by two-dimensional vector operations . We use the boolean vector t=[t1,t2,…,tN] to represent the theoretical spectrum and c=[c1,c2,…,cN] to represent the experimental spectrum, where ti(ci) = 1 indicates that the peak i (m/z) (or simply the peak i) exists, and ti(ci)=0 otherwise. The SDP function is a kernel algorithm used to score a PSM and is defined as
Note that only experimental and theoretical spectra whose precursor mass distances lie within a self-defined tolerance need to be considered. We define |E| as the experimental spectra set and |T| as the theoretical spectra set. The workflow of the SDP scoring function in X!Tandem is divided into two parts, as shown in Algorithm 1. First, for each experimental spectrum (peptide), all the theoretical spectra are searched using a binary search to determine which precursor masses are within the peptide precursor mass distance and obtainH, assuming there are K spectra; Second, peak matching of the experimental spectrum and each matched theoretical spectrum (or theoretical pair) is conducted is conducted using SDP. The computation complexity is O(|C||H|NK + |C|lg(T)).
As one of the most powerful methods in proteomics, peptide database searching has become a focus of computational biology researchers. Recently, many efforts have been devoted to the development of efficient database search methods for protein analysis.
A notable trend is to improve the database searching scoring functions; for instance, Tang  adopted b/y ions and peptides and their indices to improve peptide-spectrum matching. Peng  and Dutta  used the nearest neighbour search to decrease the redundant operations in the scoring stage. Chi and Li  considered the problem of peptide-spectrum matching and redundant peptides and adopted an inverted index strategy to reduce the time complexity. Olivier et al. developed a fast and easy-to-use tool, named X!TandemPipeline, that can process large volumes of samples simultaneously.
Using hardware acceleration is another approach to improving database search performance. Since heterogeneous computing has become a main driving force in HPC, techniques involving coprocessor acceleration have been studied for several biological data analysis methods . Notably, Zhu  presented an efficient OpenGL-based multiple sequence alignment implementation on GPU hardware. Baumgardner  developed a spectrum library search algorithm based on GPU. Hussong  implemented a GPU-based feature detection algorithm to reduce the search time. Liu et al.  developed CUDA-BLASTP to accelerate BLASTP, producing identical results and maintaining the same output and input interface. Vouzis et al.  presented a method called GPU-BLAST, which achieves a 10-fold speedup on a GeForce GTX 295 GPU compared with the sequential NCBI-BLAST.
In addition to the GPU accelerator, using field-programmable gate array (FPGA) to accelerate the computation process is another solution with high performance. Sotiriades  redesigned the scoring module, which suits a single FPGA and achieves good performance. Chen Zhang  has built a highly efficient pipeline for coupled filtering on FPGA. In [36, 37], Dydel et al. designed a large-scale sequence analysis method on multi-FPGA platforms to explore high performance.
Additionally, some of the prevalent database search engines adopted the HPC framework . X!Tandem  uses MapReduce  and MPI  two parallel technologies, to implement their parallel versions. Phenyx  and Mascot  adopt an MPI to build a cluster system. Among them, MR-Tandem using MapReduce achieved the best acceleration rate.
Although these methods did improve performance improvement, there are several drawbacks: the acceleration and data processing scale are still far from satisfactory for use in practical laboratories. MR-Tandem uses 50 nodes and takes 1.76 hours to complete the sequencing (Dataset: 233 MB mzXML file, including 26 172 MS/MS spectra. Database: 33 MB FASTA file, including 52 415 proteins) . Large-scale heterogeneous cluster systems are based not only on common CPUs, GPUs and FPGAs, but also on different types of coprocessors. A typical representative is the more recent Intel Xeon Phi coprocessor. In this paper, we develop an improved database search tool, MCtandem, that parallelized X!Tandem to accelerate large-scale peptide identification on the CPU-MIC heterogeneous clusters.
The rest of this paper is organized as follows: “Results” section describes the experimental results by comparison with a previous study. “Discussion and Conclusion” section present our discussion and conclusions. Finally, the computational design and optimization strategies are evaluated in “Methods” section.
A series of experiments were performed to evaluate the performance and scalability of our proposed MCtandem implementation. In this section, we will first introduce the experimental environments and dataset and then compare the performance of MCtandem and some state-of-the-art peptide identification tools. Finally, we evaluate the scalability of MCtandem.
In our experiments, we implemented MCtandem using the C++ programming language and evaluated them on the MIC platform with the following configuration:
Intel E5-2640: six-core 2.5 GHz, 15 MB SmartCache.
Intel Xeon Phi Coprocessors 7120p: 61 hardware cores, 16 GB GDDR5 device, 1.33 GHz processor clock speed.
Tests for MCtandem were conducted using three MIC cards installed in a server with two Intel E5-2640 six-core 2.0 GHz CPU and 32 GB RAM running NeoKylin 3.2. A proper process/thread/memory affinity is the basis for optimal performance. Therefore, some default setting needs to be modified. The details of the configuration parameters are shown in Table 2. We have run X!Tandem  and Parallel tandem  on one Intel E5-2640 CPU and MR-Tandem  on Amazon Web Services.
We scanned two protein sequence databases: the 5.2GB UniProtKB/SwissProt (540 171 proteins) and the 18GB UniProtKB/TrEMBL (1 821 879 proteins). The protein sequence database is obtained from the UniProtsKB database (http://www.UniProt.org/downloads/), which is a non-redundant, high quality, and manually annotated protein sequence database . The experimental spectra data were generated by tandem spectrometry experiments that analysed the behaviour of a mixture with human liver. More details are shown in Table 3.
Performance on a single MIC node
First, we compared the single-MIC performance of the proposed MCtandem implementation to that of X!Tandem. For single MIC card tests, we used the UniProtKB/Swiss-prot a test database and measured the total search time to calculate the computing speedup values. To enhance the accuracy of the results, three different datasets (see Table 3) were used in the experiments.
Table 4 shows the corresponding computing time and speedup of MCtandem and X!Tandem. MCtandem is executed on a single MIC node. X!Tandem is executed on an Intel E5-2640 CPU with 32 threads. This table shows that Dataset 1 achieved a 25.77-fold speedup, Dataset 2 achieved a 28.31-fold speedup and Dataset 3 achieved a 29.02 timeless speedup. The speedup is achieved from the parallel MIC-SDP scoring algorithm and optimization techniques. In addition, we have also tested the impact of thread count on the speedup of MCtandem by changing the amount of threads. The experimental results show that it can run up to 29 times faster on a single MIC than the original CPU-based version, as shown in Fig. 2.
We further compare the obtained speedup of the Parallel tandem  on the multi-core CPU and MCtandem on a single MIC. Parallel tandem is a parallel version of X!Tandem using PVM. For testing Parallel tandem on the multi-core CPU, we limited the number of threads to twice of the core, two CPUs every 8 cores. The MIC architecture’s in-order cores support four-way hyper-threading, with more than 240 logical cores. Figure 3 reports the speedup of MCtandem and Parallel tandem against the number of threads. From this figure, it can be observed that MCtandem can achieve nearly 28-fold speedup over the X!Tandem, while Parallel tandem running on multi-core CPU can obtain nearly a 9-fold speedup.
Performance on the MIC cluster
To evaluate the performance of multi-node acceleration, we used three nodes as the test platform. Each node is equipped with two 6-core Intel E5-2640 CPUs and a 61-core Intel Xeon Phi coprocessor. Figure 4 gives the speedup of MCtandem compared with MR-Tandem, where the X axis represents the number of nodes in the MIC cluster and the Y axis represents speedup. MR-Tandem uses 50 nodes to obtain a 20.56-fold speedup, while MCtandem takes only 3 nodes to achieve 61.7-fold speedup. MCtandem shows significantly better performance than MR-Tandem as the number of nodes increases. The results indicate that MCtandem exhibits good scalability in terms of the number of computing nodes.
Performance for processing large-scale datasets
In the large-scale experiments, we tested the capacity of big data processing by varying the size of the dataset. The large datasets in the experiment were formed by merging Dataset 1, Dataset 2, and Dataset 3. X!Tandem and MR-Tandem cannot operate normally for datasets larger than 1.96 GB in 18 GB databases. We ran MCtandem on a single MIC node. Figure 5 demonstrates the performance of MCtandem as the dataset size increases from 0.98 GB (210 252) to 12.11 GB (3 102 956 spectra). As shown in Fig. 5, MCtandem can handle extremely large datasets with a linear increase in computation time with dataset size. For a 12.11 GB dataset, MCtandem took 282 min, which is acceptable in most practical laboratories. Our implementation also demonstrates good scaling in terms of dataset size.
To overcome the drawbacks of the existing protein database search methods, we propose a new algorithm MCtandem, which parallelizes X!Tandem based on the MIC cluster via the widely adopted MPI/OpenMP protocol. The MCtandem has significant advantages over the previous methods that particularly show when analyzing large-scale spectra datasets. In this section, we first validate our results with a previous study and then evaluate the performance of optimization technology used in MCtandem.
We verified the accuracy of MCtandem by comparing the cosine values for MCtandem to those of X!Tandem. The results are presented in Table 5. MCtandem and MR-Tandem obtain the same cosine value for the spectra datasets. This result proves that the searching results obtained by MCtandem are consistent with those obtained by MR-Tandem. This result validates that MCtandem achieves much higher execution performance than MR-Tandem without sacrificing the accuracy and correctness of the results.
Summary of optimization technology
To test the effectiveness of the above optimization, we ran MCtandem on MIC cluster for three nodes and searched Dataset 2 (the data size is 486 MB, including 106 616 spectra) in the UniProtKB/TrEMBL database. The optimized MCtandem gained a 23.4 percent performance boost compared with the original MCtandem, as shown in Table 6. We also tuned the communication across nodes on MIC clusters to achieve the best utilization of various computing power within the heterogeneous system. Meanwhile, the optimization methods we use may provide insights into other database search applications.
As the amount of MS/MS data increases rapidly, the prohibitive computing time required for large-scale peptide identification has become a critical concern in proteomics. In this paper, we design and implement a parallel scoring algorithm to accelerate large-scale peptide identification on CPU-MIC heterogeneous clusters. To achieve high performance, we reformulated the scoring model to reduce the time complexity and eliminated the data dependence to enable all possible localities and vectorization. Performance is also tuned among the CPU and Xeon Phi coprocessors by pre-fetching, multithreading and hyper-threading, vectorization and communication overlapping schemes to achieve the optimum performance and best utilization of various computation resources within heterogeneous systems. Evaluations on real MS/MS spectra datasets show that MCtandem achieved a 28-fold speedup on a single MIC. Our experimental results also demonstrate that MCtandem can significantly increase the performance and scalability of large-scale peptide identification without sacrificing correctness and accuracy in the result. We believe that the techniques we use may provide insights into similar work on other large-scale sequence analysis applications.
We first analysed X!Tandem to chase down the hotspot of the program and then profiled the performance of X!Tandem by using Intel VTune TMAmplifier XE. The result shows that the “mscore” function (the calculation of the sequence similarity scores) represents more than 60 percent of the whole computation time and should therefore be accelerated to improve performance. Meanwhile, we found that when searching the same type of MS/MS spectra, X!Tandem processes each experimental spectrum individually, which is desirable for parallel processing.
Based on these findings, our MCtandem on the MIC heterogeneous system requires a two-level parallelization mechanism to implement multi-level parallelism, which specifically includes: task-level parallelism between CPUs and their MIC coprocessors using a dynamic task scheduling method and thread-level parallelism employing sequence-decomposition through dynamically scheduled multithreading.
Parallelization between CPU and MIC
In the Offload model, the task assignment between the host CPU and the MIC coprocessor should be considered. Since the MIC coprocessor has a disjoint memory space from the host CPU, task allocation would incur data transfer. To support search tasks for large-scale peptide databases, we further divide each spectra subset into a set of chunks. We design and implement a task-level dynamic distribution framework to distribute these chunks to both the host CPU and the MIC coprocessors.
As shown in Fig. 6, first, a sample test is executed to explore the computational source of all computing nodes. Then, based on information about the sample data run time and load balancing, the performance factors of different computing nodes are automatically collected. The relevant details are described in the next paragraph. Finally, with the performance factor of each node, we can then calculate and adjust the appropriate size of the spectra chunk assigned to the corresponding node using a dynamic feedback task scheduling algorithm .
To balance the load dynamically and eliminate the system bottleneck, we must choose appropriate load parameters for the performance factor. The first aspect to consider is CPU utilization. In our implementation, we extracted the real-time information parameters in a /proc/stat file of the Linux system to calculate CPU utilization. The task queue length of a single core decide whether the task scheduler can keep up with the system requirements, if it is too long, the execution time of a job will become too long, which causes the system to be in the state of overload. Therefore, the average length of the task queue is another key performance factor. We can use related parameters in file /proc/loadavg of the Linux system to reflect the average task queue length of a single core. In heterogeneous systems, memory utilization needs to be monitored. Four useful items are extracted from the file /proc/meminfo: free memory (MF), file cache (Cached), total memory size (MT), and block-device buffers (Buffers). Memory utilization is defined as MemUsage, which can be calculated by
The dynamic feedback task scheduling process is described as follows:
Users choose a host node in the computing environment service as the task scheduling host node.
The scheduling host node uses configuration requirements to filter static resource information and access the real-time information of backup computing resources through the network.
The scheduling host node distributes tasks to the computing node, monitors the execution status of the search task and collect the computing results.
According to the ratio of the number of remaining hosts after overload exceeded the number of backup hosts, the geometric weighted coefficient was adjusted, returning to Step 2. The task is complete when the load on each node is balanced.
Our experimental results show that dynamic task scheduling can maintain the system load imbalance below 8 percent in most cases.
Parallelization across MIC coprocessors
Due to the high bus bandwidth between CPU and system memory, CPU can process data input and output very quickly. Unlike the CPU, MIC coprocessor threads can process multiple database peptide batches in parallel. However, because of the relatively low bus bandwidth between the system memory and the MIC coprocessor, data read back from the MIC coprocessor to the CPU is a known bottleneck and should be minimized. In this work, we design a hybrid scoring algorithm and employ the peptide sequence-decomposition method to implement thread-level parallelism.
Each core in MIC is an dual-issue, in-order core, which has four-way hyper-threading supports to improve multi-cycle instruction latency and hide memory. Our MIC-SDP scoring algorithm on MIC is designed so that each MIC core deals with one experimental spectrum serially, scoring with its entire matched theoretical spectrum. Compared with the original SDP algorithm, the improvements in MIC-SDP are as follows: First, the MIC-SDP scoring algorithm dispensed with the first loop in the SDP algorithm by allocating each experimental spectrum to a thread, which significantly decreases the compute time as many threads are about working in parallel. Second, the MIC-SDP algorithm merges the SDP calculation and the peak matching steps to decrease the space for the variable. As shown in Algorithm 2, the computational complexity of MIC-SDP decreases to O(lg(T)+|H|NK).
When the computation tasks (scoring module) are offloaded to the MIC coprocessor, it spawns a set number of threads to accomplish these tasks (depending to the number of MIC cores). These threads develop the parallelism of the scoring tasks through the peptide sequence-based decomposition method, where each thread acquires works based on the peptide sequence units. Meanwhile, these threads adopt a dynamical scheduling policy for workload balancing, where each thread acquires a new sequence from the unsettled peptide sequence pool after processing every peptide sequence.
Our MCtandem algorithm caters to the MIC architecture in deploying SDP-based scoring with MPI+OpenMP. It can fully utilize the vector processing unit (VPU) hyper-threading. Meanwhile, to maximize MCtandem’s overall processing capacity and achieve loading balance in the MIC cluster, we employed dynamic task scheduling to automatically move spectra data from overutilized to underutilized VPUs.
The workflow description of MCtandem is presented in Fig. 7. To fully exploit the heterogeneous system on the MIC, we defined four phases in the execution of MCtandem. In the first phase, MCtandem partitions an MS/MS spectra dataset into appropriately-sized datasets and distributes them across multiple computing nodes based on MPI scheduling. In the second phase, the hypothesized spectra dataset is obtained through an unrefined search on Xeon E5 CPU. In the third phase, MCtandem distributes each mass spectrum and the corresponding hypothetical spectra dataset to the Xeon Phi coprocessor. Each VPU addresses one experimental spectrum using our MIC-SDP algorithm. In the last phase, the output files are combined into a results document.
Several optimization techniques are employed on MCtandem, including pre-fetching, multithreading and hyper-threading, vectorization, computation and communication overlapping schemes.
Task assignment incurs data transfer and memory access, which greatly reduces the parallel efficiency, because the MIC coprocessor has a disjoint memory space from the host CPU. We implemented the pre-fetch manually by using a tightly-coupled methodology to divided tasks between the CPU and MIC and further improved the parallel efficiency. We implemented the double-buffering mechanism, which is a technique designed to improve performance by hiding memory access, as shown in Algorithm 3. When there are multi-cycle DMA read (write) operations, MIC coprocessors assign double the memory space in the scratch pad memory to two sets of spectra. The two spectra are buffered from each other. When one spectra is scoring, the other spectrum serves as the message buffer.
Multithreading and hyper-threading
Running code outside the parallel scaling region either slows down scientific productivity or wastes valuable computing resources. An appropriate parallel/thread scaling of applications is critical to run the codes efficiently in HPC systems. We found experimentally that the MCtandem performs best with four or eight threads per MPI task at all node counts for all datasets. For the runs with small node clusters (one or two nodes), using four threads per MPI task performs best. However, when the node clusters increase, using eight threads per MPI task outperforms four threads per MPI task. Consequently, we recommend using eight threads per MPI task or more for larger threads.
Hyper-threading could improve the application acceleration performance through increasing resource utilization by simultaneously running multiple threads/processes on the hardware threads on the core, making effective use of the cycles that would otherwise be wasted due to branch mis-predictions, data dependencies, cache misses, and/or waiting for other resources in a single thread/process execution on the core . With the MIC, which provides four hardware threads per core, hyper-threading improved MCtandem’s performance slightly.
In heterogeneous MIC architecture, the host CPU and the MIC coprocessor share a similar computing architecture that consists of VPUs and multiple cores. Therefore, vectorization is a key point in the optimization process. In this work, we have achieved efficient utilization of all available computing resources by utilizing vectorization. To implement vectorization optimization means that several spectra can be processed together. In database searching, the hotspot of database searching is the calculation of match scoring of pairwise spectra, which can be vectorized by the same methods, including numerical calculation and copying, demanding numeric calculation, and vectoring the copy to execute in parallel. Meanwhile, in accordance with vectorization, we modified all dependent statements to ensure a better vectorization. As the key to the entire optimization process, the vectorization technique achieved a performance of 67.21 Gflops.
Communication overlapping scheme
With the efficient MPI/OpenMP parallelization of large-scale peptide database searching, our MCtandem algorithm based on a heterogeneous system not only makes efficient use of the host CPUs and MIC coprocessor resources as described previously but also exploits communication overlapping to minimize the communication latency. During the MCtandem’s implementation, we adopted an improved proxy infrastructure  to promote the communication performance and scalability of MCtandem on MIC Clusters.
Two memory-mapped circular queues between the host and the MIC coprocessor used in our design are shown in Fig. 8. One queue is used for requests and one for responses. To eliminate the need to use lock and unlock operations between the host CPUs and the MIC coprocessor, a set of free slots to hold the communication commands, and each queue maintains head and tail pointers to determine whether the queue is full or empty. More specifically, before putting a task on MIC coprocessor, the proxy obtains a free slot by comparing the trailer and header pointers to ascertain if the request queue is full. The queue will wait for an available slot if it is full. In the meantime, this slot will then increment the tail pointer and the corresponding will fill with the intended command. Moreover, to ensure the spectra data pipes between the local CPU and the local MIC coprocessor, between the remote CPU and the local CPU, and between the remote MIC coprocessor and the remote CPU am always busy receiving or sending data, the sending and receiving of spectra data chunks is performed in a pipelined manner.
Availability of data and materials
The software, the test dataset and the parameter settings are available from https://github.com/LogicZY/MCtandem. More experimental spectra data can be obtained from the Iprox (https://www.iprox.org/). The protein sequence database is obtained from the UniProtsKB database (http://www.UniProt.org/downloads/).
Direct memory access
Field programmable gate array
Graphics processing units
High performance computing
Many integrated core
Message passing interface
Tandem mass spectrometry
Spectrum dot product
Vector processing unit
Craig R, Beavis RC. Tandem: matching proteins with tandem mass spectra. Bioinformatics. 2004; 20(9):1466–7.
Eng JK, McCormack AL, Yates JR. An approach to correlate tandem mass spectral data of peptides with amino acid sequences in a protein database. J Am Soc Mass Spectrom. 1994; 5(11):976–89.
Perkins DN, Pappin DJ, Creasy DM, Cottrell JS. Probability-based protein identification by searching sequence databases using mass spectrometry data. ELECTROPHORESIS: Int J. 1999; 20(18):3551–67.
Li D, Fu Y, Sun R, Ling CX, Wei Y, Zhou H, Zeng R, Yang Q, He S, Gao W. pfind: a novel database-searching software system for automated peptide and protein identification via tandem mass spectrometry. Bioinformatics. 2005; 21(13):3049–50.
Wang L-h, Li D-Q, Fu Y, Wang H-P, Zhang J-F, Yuan Z-F, Sun R-X, Zeng R, He S-M, Gao W. pfind 2.0: a software package for peptide and protein identification via tandem mass spectrometry. Rapid Commun Mass Spectrom. 2007; 21(18):2985–91.
Geer LY, Markey SP, Kowalak JA, Wagner L, Xu M, Maynard DM, Yang X, Shi W, Bryant SH. Open mass spectrometry search algorithm. J Proteome Res. 2004; 3(5):958–64.
Baumgardner LA, Shanmugam AK, Lam H, Eng JK, Martin DB. Fast parallel tandem mass spectral library searching using gpu hardware acceleration. J Proteome Res. 2011; 10(6):2882–8.
Tang WH, Halpern BR, Shilov IV, Seymour SL, Keating SP, Loboda A, Patel AA, Schaeffer DA, Nuwaysir LM. Discovering known and unanticipated protein modifications using ms/ms database searching. Anal Chem. 2005; 77(13):3931–46.
Chen T, Li M, He Q, Zou L, Li Y, Chang C, Zhao D, Zhu Y. Liverwiki: a wiki-based database for human liver. BMC Bioinformatics. 2017; 18(1):452.
Gropp W, Gropp WD, Lusk ADFEE, Lusk E, Skjellum A. Using MPI: portable parallel programming with the message-passing interface (Vol. 1).MIT press; 1999.
Chen C, Li K, Ouyang A, Li K. A parallel approximate ss-elm algorithm based on mapreduce for large-scale datasets. J Parallel Distrib Comput. 2017; 108:0743731517300138.
Li I, Warren S, Kevin T. 160-fold acceleration of the smith-waterman algorithm using a field programmable gate array (fpga). Bmc Bioinformatics. 2007; 8(1):1–7.
Heinecke A, Klemm M, Pflüger D, Bode A, Bungartz HJ. Extending a highly parallel data mining algorithm to the Ⓡ many integrated core architecture. In: In European Conference on Parallel Processing. Berlin: Springer: 2011. p. 375–384.
Luebke D, Harris M, Govindaraju N, Lefohn A, Houston M, Owens J, Buck I. GPGPU: general-purpose computation on graphics hardware. In: In Proceedings of the 2006 ACM/IEEE conference on Supercomputing. ACM: 2006. p. 208.
Chen J, Li K, Rong H, Bilal K, Nan Y, Li K. A disease diagnosis and treatment recommendation system based on big data mining and cloud computing. Informationences. 2018; 435:0020025518300033.
Li C, Chen T, He Q, Zhu Y, Li K. Mruninovo: an efficient tool for de novo peptide sequencing utilizing the hadoop distributed computing framework. Bioinformatics. 2016; 33(6):944–6.
Liao X, Xiao L, Yang C, Lu Y. Milkyway-2 supercomputer: system and application. Front Comput Sci. 2014; 8(3):345–56.
Xue W, Yang C, Fu H, Wang X, Xu Y, Liao J, Gan L, Lu Y, Ranjan R, Wang L. Ultra-scalable cpu-mic acceleration of mesoscale atmospheric modeling on tianhe-2. IEEE Trans Comput. 2015; 64(8):2382–93.
Feinstein WP, Moreno J, Jarrell M, Brylinski M. Accelerating the pace of protein functional annotation with intel xeon phi coprocessors. IEEE Trans Nanobioscience. 2015; 14(4):429–39.
Hussong R, Gregorius B, Tholey A, Hildebrandt A. Highly accelerated feature detection in proteomics data sets using modern graphics processing units. Bioinformatics. 2009; 25(15):1937–43.
Bjornson RD, Carriero NJ, Colangelo C, Shifman M, Cheung K-H, Miller PL, Williams K. X!! tandem, an improved method for running x! tandem in parallel on collections of commodity computers. J Proteome Res. 2007; 7(1):293–9.
Duncan DT, Craig R, Link AJ. Parallel tandem: a program for parallel processing of tandem mass spectra using pvm or mpi and x! tandem. J Proteome Res. 2005; 4(5):1842–7.
Fenyö D, Beavis RC. A method for assessing the statistical significance of mass spectrometry-based protein identifications using general scoring schemes. Anal Chem. 2003; 75(4):768–74.
Jeong K, Kim S, Pevzner PA. Uninovo: a universal tool for de novo peptide sequencing. Bioinformatics. 2013; 29(16):1953–62.
Zhou C, Chi H, Wang L-H, Li Y, Wu Y-J, Fu Y, Sun R-X, He S-M. Speeding up tandem mass spectrometry-based database searching by longest common prefix. BMC Bioinformatics. 2010; 11(1):577.
Peng S, Cheng M, Huang K, Cui Y, Zhang Z, Guo R, Zhang X, Yang S, Liao X, Lu Y, et al.Efficient computation of motif discovery on intel many integrated core (mic) architecture. BMC Bioinformatics. 2018; 19(9):185.
Dutta D, Chen T. Speeding up tandem mass spectrometry database search: metric embeddings and fast near neighbor search. Bioinformatics. 2007; 23(5):612–8.
Li Y, Chi H, Wang L-H, Wang H-P, Fu Y, Yuan Z-F, Li S-J, Liu Y-S, Sun R-X, Zeng R, et al. Speeding up tandem mass spectrometry based database searching by peptide and spectrum indexing. Rapid Commun Mass Spectrom. 2010; 24(6):807–14.
Langella O, Valot B, Balliau T, Blein-Nicolas M, Bonhomme L, Zivy M. X!tandempipeline: A tool to manage sequence redundancy for protein inference and phosphosite identification. J Proteome Res. 2017; 16(2):494–503.
Chen C, Li K, Ouyang A, Zeng Z, Li K. Gflink: An in-memory computing architecture on heterogeneous cpu-gpu clusters for big data. IEEE Trans Parallel Distrib Syst. 2018; 29(6):1275–88.
Zhu X, Li K, Salah A, Shi L, Li K. Parallel implementation of mafft on cuda-enabled graphics hardware. IEEE/ACM Trans Comput Biol Bioinforma. 2015; 12(1):205–18.
Liu W, Schmidt B, Muller-Wittig W. Cuda-blastp: accelerating blastp on cuda-enabled graphics hardware. IEEE/ACM Trans Comput Biol Bioinforma. 2011; 8(6):1678–84.
Vouzis PD, Sahinidis NV. Gpu-blast: using graphics processors to accelerate protein sequence alignment. Bioinformatics. 2010; 27(2):182–8.
Sotiriades E, Kozanitis C, Dollas A. FPGA based architecture for DNA sequence comparison and database search. In: Proceedings 20th IEEE International Parallel & Distributed Processing Symposium. IEEE: 2006. p. 8.
Zhang C, Liang T, Mok PK, Yu W. Fpga implementation of the coupled filtering method and the affine warping method. IEEE Trans Nanobioscience. 2017; 16(5):314–25.
Dydel S, Bała P, et al.Large scale protein sequence alignment using fpga reprogrammable logic devices. In: International Conference on Field Programmable Logic and Applications. Springer: 2004. p. 23–32.
Suda N, Chandra V, Dasika G, et al., Ma Y. Throughput-optimized OpenCL-based FPGA accelerator for large-scale convolutional neural networks. In: Proceedings of the 2016 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays. ACM: 2016. p. 16–25.
Welivita A, Perera I, Meedeniya D, et al. Managing complex workflows in bioinformatics-an interactive toolkit with gpu acceleration. IEEE Trans NanoBioscience. 2018; 17(3):199–208.
Pratt B, Howbert JJ, Tasman NI, Nilsson EJ. Mr-tandem: parallel x! tandem using hadoop mapreduce on amazon web services. Bioinformatics. 2011; 28(1):136–7.
Jacques C, Alexandre M, Marc G, Thierry D, Jér?Me M. Olav: towards high-throughput tandem mass spectrometry data identification. Proteomics. 2010; 3(8):1454–63.
Mitrea DM, Cika JA, Guy CS, Ban D, Banerjee PR, Stanley CB, Nourse A, Deniz AA, Kriwacki RW. Nucleophosmin integrates within the nucleolus via multi-modal interactions with proteins displaying r-rich linear motifs and rrna. Elife. 2016; 5:13571.
Qian Z, Yufei G, Hong L, Jin S. A load balancing task scheduling algorithm based on feedback mechanism for cloud computing. Int J Grid Distrib Comput. 2016; 9(4):41–52.
He Y, Cook B, Deslippe J, Friesen B, Gerber R, Hartman -ŘBaker R, Zhao Z. Preparing NERSC users for Cori, a Cray XC40 system with Intel many integrated cores. Concurr Comput: Pract Experience. 2018; 30(1):e4291.
Vaidyanathan K, Pamnany K, Kalamkar DD, et al. Improving communication performance and scalability of native applications on intel xeon phi coprocessor clusters. In: IEEE 28th International Parallel and Distributed Processing Symposium. IEEE: 2014. p. 1083–92.
We sincerely thank the editors and the anonymous reviewers for their valuable comments. Moreover, we also thank Keqin Li and Feng Lin for helpful discussions and critical feedback.
This research was supported by the National Key R D Program of China (2016YFB0200201), the Key Program of National Natural Science Foundation of China (Grant No. 61432005), the International (Regional) Cooperation and Exchange Program of National Natural Science Foundation of China (61661146006), the National Natural Science Foundation of China (61472124), the National Key R D Program of China (2016YFB0201303), and the Key Technology Research and Development Programs of Guangdong Province (2015B010108006). The funding body did not play any role in the design of the study and collection, analysis, and interpretation of data and writing the manuscript.
Ethics approval and consent to participate
Consent for publication
The authors declare that they have no competing interests.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
About this article
- Peptide identification
- Tandem mass spectrometry (MS/MS)
- Database searching
- High performance computing
- Many Integrated Core (MIC)