Skip to main content
F1000Research logoLink to F1000Research
. 2024 May 31;13:556. [Version 1] doi: 10.12688/f1000research.149577.1

Easing genomic surveillance: A comprehensive performance evaluation of long-read assemblers across multi-strain mixture data of HIV-1 and Other pathogenic viruses for constructing a user-friendly bioinformatic pipeline

Sara Wattanasombat 1, Siripong Tongjai 1,a
PMCID: PMC11231628  PMID: 38984017

Abstract

Background

Determining the appropriate computational requirements and software performance is essential for efficient genomic surveillance. The lack of standardized benchmarking complicates software selection, especially with limited resources.

Methods

We developed a containerized benchmarking pipeline to evaluate seven long-read assemblers—Canu, GoldRush, MetaFlye, Strainline, HaploDMF, iGDA, and RVHaplo—for viral haplotype reconstruction, using both simulated and experimental Oxford Nanopore sequencing data of HIV-1 and other viruses. Benchmarking was conducted on three computational systems to assess each assembler’s performance, utilizing QUAST and BLASTN for quality assessment.

Results

Our findings show that assembler choice significantly impacts assembly time, with CPU and memory usage having minimal effect. Assembler selection also influences the size of the contigs, with a minimum read length of 2,000 nucleotides required for quality assembly. A 4,000-nucleotide read length improves quality further. Canu was efficient among de novo assemblers but not suitable for multi-strain mixtures, while GoldRush produced only consensus assemblies. Strainline and MetaFlye were suitable for metagenomic sequencing data, with Strainline requiring high memory and MetaFlye operable on low-specification machines. Among reference-based assemblers, iGDA had high error rates, RVHaplo showed the best runtime and accuracy but became ineffective with similar sequences, and HaploDMF, utilizing machine learning, had fewer errors with a slightly longer runtime.

Conclusions

The HIV-64148 pipeline, containerized using Docker, facilitates easy deployment and offers flexibility to select from a range of assemblers to match computational systems or study requirements. This tool aids in genome assembly and provides valuable information on HIV-1 sequences, enhancing viral evolution monitoring and understanding.

Keywords: HIV, Virus, Infectious Diseases, NGS, Single-molecule sequencing, Haplotype reconstruction, Genome assembly, Genomic surveillance

Introduction

In 2020, UNAIDS has re-established the 95-95-95 targets to end the HIV/AIDS epidemic, aiming for 95% of people to know their HIV status, receive treatment, and achieve viral suppression by 2025. 1 – 3 While efforts to combat HIV-1 focus on treatment and prevention, HIV-1 genomic surveillance plays a crucial role. 4 It offers essential data for evidence-based strategies in HIV prevention, testing, treatment, and care. 5 , 6 The genomic surveillance protocol should entail simple and swift sample preparations and sequencing, facilitated by Oxford Nanopore Sequencing Technology. 7 – 10 Additionally, it should feature straightforward bioinformatic analysis pipelines and provide comprehensive reports enriched with reliable HIV-1 information. This adaptable protocol can utilize various computational resources, contributing significantly to global efforts against HIV/AIDS.

The lack of a proofreading mechanism in HIV-1 reverse transcriptase leads to a high mutation rate, potentially resulting in immune-evading variants or drug-resistant strains, posing challenges in patient care and virus transmission control strains. 11 – 16 Various patterns of intra-host multi-strain HIV infection, including dual, co-, super, and triple infection, have been observed. 17 Multiple HIV infections significantly contribute to the emergence of novel and more infectious HIV-1 recombinants, impacting viral fitness and increasing inter-subtype recombinants’ prevalence. 18 , 19 Some novel HIV-1 recombinants may be undetectable, especially in medically suppressed individuals. 20 , 21 Therefore, HIV-1 quasispecies profiling holds value for understanding viral population dynamics, particularly newly emerging recombinants. 22 – 24 Developing an effective monitoring protocol focusing on the viral genomic level is crucial for understanding HIV-1 dynamics within the host and devising better treatment and prevention strategies. 21 , 25

Recently, Next Generation Sequencing (NGS) technologies have become crucial in viral genome analysis. The Sequencing by Synthesis (SBS) approach enables the detection of single nucleotide variants (SNVs) and some alterations in viral genomes. 26 However, SBS technology faces limitations in accurately reconstructing viral haplotypes and detecting low-abundance haplotypes for quasispecies analysis. It is also inadequate for examining complex viral sequences such as HIV-1’s long terminal repeats (LTRs) or large deletions or insertions in the HIV envelope glycoprotein gene. Furthermore, SBS technology is not well-suited for analyzing phased mutations in the viral genome. 20 , 26

Single-molecule sequencing (SMS) technology, including Oxford Nanopore Technology (ONT) and PacBio SMRT technology, enhances viral quasispecies analysis by generating longer genomic reads, 27 – 29 enabling near-complete viral genome reconstruction with high accuracy (97–99% identity). 17 ONT’s recent advancements allow direct RNA sequencing, reducing bias from PCR or cDNA synthesis. 24 However, SMS technology has a high raw read sequencing error rate exceeding 10%, which can be mitigated with various long-read error correction methods. 30 – 34 ONT R10.3 chemistry sequencing of the HIV-1 genome yields raw reads with a 5 to 12% error rate, while ONT’s unique molecular identifier (UMI) method achieves a single molecule consensus accuracy of up to 99.9995%. 35 , 36 PacBio SMRT has an error rate of 13 to 15%, but its circular consensus sequencing (CCS) approach provides consensus reads with approximately 99.999% accuracy. 35 , 36 Data quality from SMS technology can be improved by implementing quality control measures, optimizing coverage thresholds, and validating variant calls to ensure the reliable detection of minor mutations despite residual errors. 34 , 37 , 38

Two categories of HIV-1 haplotype detection for SMS data are reference-based and de novo approaches. 39 The reference-based methods, though generally accurate, may introduce bias without suitable reference sequences. 26 Using a single reference genome can miscluster reads from different viral haplotypes. For example, RVHaplo’s hierarchical clustering with a reference genome may inaccurately group reads from different haplotypes, 40 affecting characterization of novel or rare haplotypes. Canu and GoldRush, considered general-purpose de novo assemblers, may overlook genomic reads with lower coverage. 41 Conversely, MetaFlye and Strainline are strain-aware de novo assemblers, recognizing strain differences within a sample. 28 , 42 HaploDMF, iGDA, and RVHaplo are reference-based assemblers designed for multi-strain mixtures. 43 – 45 iGDA and RVHaplo employ similar clustering approaches, while HaploDMF uses deep matrix factorization for contig extension. 43 , 46 Despite numerous assembly software options tailored for SMS data, 28 , 42 – 45 , 47 , 48 selecting the best tool for haplotype reconstruction and HIV-1 quasispecies analysis is challenging due to a lack of systematic studies. Furthermore, the absence of standardized benchmarking across different software and computing environments complicates the selection process, especially with limited computational resources. 49 , 50

In this study, we demonstrated that Strainline and MetaFlye excelled at haplotype reconstruction, although Strainline required more memory. Conversely, Canu performed poorly when distinguishing sequences in multi-strain mixtures, while GoldRush only yielded consensus assemblies. iGDA exhibited high error rates, whereas RVHaplo showed superior runtime and accuracy. HaploDMF offered improved accuracy despite a longer runtime. Additionally, a containerized pipeline, named HIV-64148, was developed to provide publicly accessible and user-friendly tool for genomic surveillance of HIV-1.

Methods

Benchmarking pipeline

The benchmarking pipeline ( Figure 1) started with an assessment of the quality of all long-read FASTQ inputs using NanoPlot 51 to ensure data conformity, particularly regarding the median read length. This study evaluates the performance and accuracy of seven assemblers on three different computational systems. Subsequently, the quality and accuracy of each assembler’s output are assessed using QUAST. Additionally, sequence similarity and HIV-1 subtype of all assembled contigs are investigated. The benchmarking pipeline is containerized, enabling its execution on any cloud or non-cloud environment 52 supporting either Docker or Singularity.

Figure 1. The HIV-64148 benchmarking pipeline.

Figure 1.

The pipeline begins with a read quality control analysis of long-read FASTQ files, followed by an assembler, which can be either de novo or reference-based. Finally, the pipeline includes HIV-1 subtyping to classify the HIV-1 strains present in the data.

Long-read assemblers

This study aimed to assess the accuracy, performance, and computational efficacy of seven candidate long-read assemblers, categorized into two approaches for haplotype reconstruction: (1) de novo long-read assemblers, which include Canu, 47 Goldrush, 48 MetaFlye, 42 and Strainline, 28 and (2) reference-based long-read assemblers, which comprise HaploDMF, 43 iGDA, 44 and RVHaplo. 45

The assembly software, including Canu, MetaFlye, and iGDA, was installed using the Micromamba package manager, which utilized recipes from the conda-forge ( https://anaconda.org/conda-forge) and bioconda channels ( https://anaconda.org/bioconda). An additional channel, zhixingfeng ( https://anaconda.org/zhixingfeng), was used specifically for iGDA as per the installation guidelines. Each tool was set up in separate environments to adhere to the developer’s specified version of dependencies.

For HaploDMF, RVHaplo, and Strainline, specifications were not available in Micromamba, necessitating manual installation. The source codes for HaploDMF ( https://github.com/dhcai21/HaploDMF) and RVHaplo ( https://github.com/dhcai21/RVHaplo) were downloaded from their respective GitHub repositories, with dependencies installed via Micromamba using environment specification files provided by the developers. For Strainline, the source code was sourced from its GitHub repository ( https://github.com/HaploKit/Strainline). Dependencies were managed and installed with Micromamba, except for Daccord ( https://github.com/gt1/daccord) and Metabat2 ( https://bitbucket.org/berkeleylab/metabat/src/master/), which were obtained by downloading the latest releases from the developers’ websites. Licensing for these tools varies: Strainline, GoldRush, HaploDMF, and RVHaplo are licensed under GPL3.0, Canu and iGDA under GPL2.0, and MetaFlye under the BSD-3-Clause license. Table 1 provides an overview of all candidate long-read assemblers.

Table 1. An overview of long read assemblers.

Assembler Class Type Error handling Haplotype reconstruction Frequency estimation Programming language
Canu 47 Graph-based (general assembler) de novo Two filtering steps, global filter to find correction evidence and local filter to decide the correction. N/A N/A C++
Goldrush 48 Graph-based (multi-purpose) de novo Custom polisher GoldPolish to correct low quality bases, Tigmint-long to correct misassemblies. N/A N/A C++, Python3
MetaFlye 42 Graph-based (strain-aware) de novo Thresholding of low-frequency k-mers with Poisson error distribution model Iteratively condense read graph N/A C++, Python
Strainline 28 Graph-based (strain-aware) de novo local de Bruijn graph-based strategy Read clustering, iterative extension by OLC algorithm Calculate depth of coverage of each haplotype based on alignment against input reads Python
HaploDMF 43 Probabilistic Reference-based Post-process of assembled sequence with Medaka polisher. Hierarchical clustering algorithm and Deep matrix factorization based on the number of reads within each cluster Python3
iGDA 44 Probabilistic Reference-based N/A Estimate number of clusters with ANN algorithm and perform contigs extension using overlapping of SNVs. Based on depth of coverage of each SNV site C++
RVHaplo 45 Probabilistic Reference-based Post-process of assembled sequence with Medaka polisher. Hierarchical clustering and generate consensus for each cluster based on the number of reads within each cluster Python3

Basic information of the assemblers is shown. N/A indicates no information provided by developer.

Computational systems

Benchmarking analyses were conducted on three different computational systems: a server, a workstation PC, and a standard home PC. Specifications of each system is indicated in Table 2. The performance parameters of each assembler were measured as follows: 1) total CPU utilization, indicating the overall workload on the CPU, 2) memory usage, and 3) total runtime, defined as the elapsed wall-clock time from the start of assembly to the generation of output contigs. A dedicated Python script was developed to track the resource usage of each process of the long-read assemblers, capturing CPU and memory utilization every 100 milliseconds at each stage of the assembly process. As the pipeline operates within a containerized environment facilitated by Docker, unrelated processes such as operating system operations were filtered out during the measurement of resource utilization.

Table 2. Computational systems and specifications.

System CPU Memory OS
Server Intel(R) Xeon(R) Gold 6248 CPU @ 2.50 GHz 189G Ubuntu 20.04.6 LTS
Workstation PC Intel(R) Core i7-8700 CPU @ 3.20 GHz DIMM DDR4 Synchronous 2133 MHz x4 (total 64 Gb) Debian11
Generic Home PC AMD RYZEN5 2600 3.4 GHz 8GB DDR4 Windows 10 on Docker with Linux Subsystem

HIV-1 genome mixtures

Long-read FASTQ files were simulated from four HIV-1 genome mixtures: (1) 2 group M HIV-1 subtypes (2M), (2) 2 CRF subtypes (2C), (3) 1 group M HIV-1 subtype and 1 CRF subtype (1M1C), and (4) 2 group M HIV-1 subtypes and 1 CRF subtype (2M1C), see Table 3. Each genome mixture comprised 100 sets of FASTA files containing corresponding HIV-1 genomes randomly selected from the Los Alamos HIV sequence databases 53 ( https://www.hiv.lanl.gov/). All 400 HIV-1 FASTA sets underwent data simulation to generate 400 individual long-read FASTQ files using NanoSim V3.1.0. A list of mixtures within the 400 FASTA sets is available in Extended data, Table S6. 54 Additionally, 20 long-read FASTQ files, comprising 5 samples from each mixture ( Table 3), were generated with varying amplicon sizes as described in the assembly quality assessment.

Table 3. The HIV-1 genome mixtures and the simulated FASTQ files.

Experiment Data Detail Number of FASTQ Average read length (nt) Number of reads per FASTQ
Minimum read length 1,000-nt 5 FASTQ files for each one of 4 HIV-1 mixtures, e.g., 2M, 2C, 1M1C, and 2M1C mixture. 20 1,120.715 2,000
2,000-nt 5 FASTQ files for each one of 4 HIV-1 mixtures, e.g., 2M, 2C, 1M1C, and 2M1C mixture. 20 2,015.835 2,000
3,000-nt 5 FASTQ files for each one of 4 HIV-1 mixtures, e.g., 2M, 2C, 1M1C, and 2M1C mixture. 20 3,022.300 2,000
4,000-nt 5 FASTQ files for each one of 4 HIV-1 mixtures, e.g., 2M, 2C, 1M1C, and 2M1C mixture. 20 3,917.050 2,000
HIV-1 mixture 2M 2 Group M HIV-1 subtypes 100 8,316.558 2,000
2C 2 HIV-1 CRFs 100 8,704.532 2,000
1M1C 1 Group M HIV-1subtype and 1 CRF 100 8,366.96 2,000
2M1C 2 Group M HIV-1 subtypes and 1 CRF 100 8,298.88 2,000

The characteristics of the simulated FASTQ files for the minimum read length dataset can be found in Extended data, Table S7. 54 The information about the HIV-1 genome mixtures is provided in Extended data, Table S8. 54

Data simulation and experimental data

The data simulations were conducted using NanoSim V3.1.0 ( https://github.com/bcgsc/NanoSim/releases/tag/v3.1.0) in metagenomic mode, 55 , 56 employing a pretrained read profile model named human NA12878 DNA FAB49712 guppy. Additional simulation conditions included a maximum read length of 12,000 nt, a minimum read length of 7,500 nt, a median read length of 9,000 nt, and a standard deviation of read length set to 0.75. The parameter “--perfect” was configured as True to simulate error-free reads. A depth of coverage of 2,000 was selected, deemed sufficient for variant calling and quasispecies detection. 57 , 58 The resulting FASTQ files ( Table 3) were similar to those generated by an Oxford-ONT R9.4 chemistry using a Guppy 3.1.5 basecaller. Furthermore, this study benchmarked the assemblers using experimental data sourced from published studies (Extended data, Table S1). 54 All FASTA templates for data simulation, 59 simulated FASTQ files, 60 and QC results of the simulated FASTQ files 61 are available as Underlying data.

Assembly quality evaluation

Sequence similarity was assessed using local NCBI BLASTN 62 against a customized database of 12,000 HIV-1 genomes from the Los Alamos HIV-1 sequence database, 53 with contigs showing >95% sequence similarity considered. QUAST 63 was utilized to compare contigs from different assemblers, with regular QUAST for single viral isolate datasets and MetaQUAST 63 for multiple isolate inputs. Primary QUAST parameters assessed were number of contigs, sizes, N50, % genome fraction, and total aligned bases, along with assembly correctness measured by average mismatches and indels per 100,000 aligned bases. Additionally, assembly quality was evaluated by average completeness of major HIV-1 ORFs (e.g., gag, gag-pol/pol, and env). The results generated from the pipeline are available as Underlying data. 64

Results

Evaluating the computational performance of the assemblers

All seven assemblers were executed on three computational systems to measure wall-clock time usage, memory usage, and CPU utilization. Each assembler processed 100 simulated 2M FASTQ files. Figure 2 illustrates the time usage of all FASTQ files processed by different assembly pipelines across the three computational systems. As shown in Extended data, Table S2, 54 the workstation server completed all 700 assemblies in 3 days, 9 hours, 50 minutes, and 28.31 seconds, while the workstation PC required 3 days, 23 hours, 24 minutes, and 2.64 seconds. Due to a failed Strainline-mediated assembly with the generic home PC, the remaining 600 assemblies took 2 days, 14 hours, 49 minutes, and 16.79 seconds. Notably, GoldRush emerged as the fastest assembler, with approximately 30 seconds or less per assembly under all three computational systems, while MetaFlye was the slowest, taking approximately 1,370 seconds or more per assembly.

Figure 2. A depiction of time usage of all 2,100 individual assemblies.

Figure 2.

The assemblies (100 simulated 2M FASTQ files per assembler per system) are grouped by computational systems on the x-axis and by assemblers on the y-axis. Additionally, an accompanying statistical summary is provided in Extended data, Table S2. 54

For memory usage, Strainline could not be tested with the generic home PC due to a segmentation fault error from memory limitation. From the 189-Gb workstation server, the order of maximum memory usage, from highest to lowest, was Strainline, MetaFlye, GoldRush, HaploDMF, iGDA, Canu, and RVHaplo ( Figure 3A and B). Similarly, from the 64-Gb workstation PC, the order of maximum memory usage was Strainline, Canu, MetaFlye, HaploDMF, iGDA, RVHaplo, and GoldRush ( Figure 3C and D). From the 8-Gb generic home PC, the order of maximum memory usage was MetaFlye, iGDA, Canu, GoldRush, RVHaplo, and HaploDMF ( Figure 3E and F). Extended data, Table S3 54 presents the maximum memory usages of the six assemblers.

Figure 3. Memory usage overtime and maximum memory usage.

Figure 3.

Memory usages of all assemblers under three computational systems, including (A) and (B) a workstation server, (C) and (D) a workstation PC, and (E) and (F) a generic home PC during the assembly phase of the pipeline.

Figure 4 demonstrates the CPU utilizations of all assemblers, with the percentages of maximum CPU usages shown in Extended data, Table S3. 54 On the workstation server ( Figure 4A), the assemblers with the highest to lowest averaged CPU usage were HaploDMF, Strainline, GoldRush, iGDA, RVHaplo, Canu, and MetaFlye. Both GoldRush (3,625.9%) and Canu (647.4%) did not overutilize the CPU and remained within the acceptable limit for 36 cores. On the workstation PC ( Figure 4B), the order of CPU usage was Strainline, HaploDMF, iGDA, Canu, RVHaplo, GoldRush, and MetaFlye. Notably, MetaFlye overutilized CPU at 1,437.4%, whereas Canu demonstrated only 637.5% peak utilization. Under the generic home PC system ( Figure 4C), the CPU usage order was GoldRush, iGDA, RVHaplo, MetaFlye, Canu, and HaploDMF. Both HaploDMF (726.3%) and Canu (628.9%) did not overutilize the CPU. Finally, Correlations between computational factors (e.g., CPUs, maximum memory, and assemblers) and runtime were analyzed using Jamovi statistical software with a non-parametric one-way ANOVA. 65 , 66 As demonstrated in Table 4, assembler selection significantly impacted runtime with a large effect size (ε 2 = 0.903***), while no statistically significant differences in runtime were observed across different levels of CPUs and maximum memory.

Figure 4. CPU usages of all seven assemblers under three different computational systems.

Figure 4.

In this study, the server could accommodate 36 cores (3,600%), while both the workstation PC and the generic home PC could accommodate up to 12 cores (or 1,200%). CPU usages were collected from (A) a server, (B) a workstation PC, and (C) a generic home PC. The y-axis represents percent CPU usage (100% per core). Multi-threaded processing can be observed when CPU utilization is above 100%.

Table 4. A statistical correlation analysis between computational factors and runtime.

Correlation χ 2 df p ε 2
CPUs – Runtime 0.217 1 0.641 1.09e-4
Memory – Runtime 0.921 2 0.631 4.61e-4
Assembler – Runtime 1,805 6 < 0.001*** 0.903

Kruskal-Wallis (***p-value <0.001).

Determining the minimum read lengths required for the assemblers

The minimum read length was determined by testing the assemblers with FASTQ files from four different median read lengths: 1,000-nt, 2,000-nt, 3,000-nt, and 4,000-nt ( Table 3). This assessment aimed to ensure that the assembled contigs exhibited high contiguity, genome completeness, and recovered intact major HIV-1 open reading frames (ORFs) such as gag, gag-pol/pol, and env. The evaluation was conducted using the server system.

The first evaluation of the minimum read lengths was based on the assembled contig size. Increasing median read lengths resulted in longer contigs assembled by Canu ( Figure 5A). MetaFlye ( Figure 5B) and Strainline ( Figure 5C) could not process the 1,000-nt inputs, but Strainline assembled significantly longer contigs from longer reads. However, GoldRush failed the assessment. The remaining de novo assemblers, Canu, MetaFlye, and Strainline, processed the 4,000-nt median read length inputs and yielded contig sizes relatively close to a 9-kb HIV-1 genome. All reference-based assemblers performed well with all four inputs, generating contig sizes close to that of an HIV-1 genome ( Figure 5D-F). Complete statistical evaluation details can be found in Extended data, Table S9. 54

Figure 5. Contig size distribution from the assemblers processing four median read length FASTQ inputs.

Figure 5.

The pipelines were (A) Canu, (B) MetaFlye, (C) Strainline, (D) HaploDMF, (E) iGDA, and (F) RVHaplo. The x-axis represents four median read lengths (1,000–4,000 nt), and the y-axis represents contig size. Each data point denotes an individual contig. The mean contig size of each median read length is indicated by a black square with error bars representing 95% confidence intervals. Absolute mean differences are shown in brackets for those comparisons with statistical significance (p<0.001).

Sequence similarity and genome fraction of assembled contigs were evaluated across different median read lengths. For the 1,000-nt reads (Extended data, Figure S1A), 54 Canu yielded >5,000-nt contigs with >99.5% similarity, while iGDA and RVHaplo generated >8,000-nt contigs with 97% and 99% similarity, respectively. RVHaplo showed superior recovery of major HIV-1 ORFs (Extended data, Figure S2A). 54 At the 2,000-nt reads (Extended data, Figure S1B), 54 Canu and MetaFlye produced >7,000-nt contigs with >99% similarity, whereas Strainline’s contigs were ~3,000-nt with >98% similarity. All reference-based assemblers yielded longer contigs with greater similarity and improved ORF recovery (Extended data, Figure S2B). 54 At the 3,000-nt reads (Extended data, Figure S1C), 54 Strainline only produced 4,000-nt contigs with >99.50% similarity, while others generated longer contigs with higher similarity and improved ORF recovery (Extended data, Figure S2C). 54 Finally, at the 4,000-nt reads (Extended data, Figure S1D), 54 all assemblers produced longer contigs with higher similarity. All, except Canu and HaploDMF, demonstrated satisfactory % recovery of the major HIV-1 ORFs (Extended data, Figure S2D). 54 RVHaplo yielded the highest averaged genome fraction (Extended data, Figure S1E). 54

A further analysis ( Table 5) revealed a statistically significant positive correlation between the median read lengths of the inputs and the lengths of the assembled contigs (ρ=0.185***), as well as between the median read lengths and sequence similarity (ρ=0.163***). Additionally, assembler selection demonstrated a positive correlation with the size of assembled contigs (ρ=0.131***), but not with sequence similarity (ρ=-0.220). Thus, a key finding from this study suggested that a minimum read length of 2,000-nt is necessary for all assemblers, with optimal outcomes achieved at 4,000-nt. In summary, longer median read sizes are associated with higher quality contigs, characterized by longer contig length and greater sequence similarity.

Table 5. A statistical correlation analysis of the read lengths of inputs and outputs and sequence similarity.

Median read length Sequence similarity (%identity) Assembler selection
Sequence similarity (%identity) Spearman's rho 0.163 *** —
df 1,243 —
p-value < 0.001 —
Assembler Selection Spearman's rho — -0.220 —
df — 1,243 —
p-value — 1.000 —
Output contig length Spearman's rho 0.185 *** -0.290 0.131 ***
df 1,243 1,243 1,243
p-value < 0.001 1.000 < 0.001

H a is positive correlation

*

p<0.05,

**

p<0.01,

***

p<0.001, one-tailed.

Evaluating the performance of assemblers using the four HIV-1 genome mixtures

This experiment evaluated the performance of assemblers in generating contigs from simulated FASTQ inputs containing heterogeneous HIV-1 sequences. These sequences were simulated from four HIV-1 genome mixtures: 2M (2 group M subtypes), 2C (2 circulating recombinant forms, CRFs), 1M1C (1 group M subtype and 1 CRF), and 2M1C (2 group M subtypes and 1 CRF), as shown in Table 3. The evaluation criteria included contiguity, genome completeness, the recovery of major HIV-1 open reading frames (ORFs), and the error rate. Initially, contig sizes were assessed, revealing that most fell within a range of 8,500–9,200 nt, close to the size of the HIV-1 genome (Extended data, Figure S3). 54 Notably, MetaFlye produced shorter contigs, ranging from 7,800 to 8,800 nt. Detailed statistical analysis of this assessment is available in Extended data, Table S10. 54

Considering both contig length and averaged genome fraction, all assembler pipelines processed the four datasets to yield contigs exceeding 8,000 nt, close to the size of the HIV-1 genome ( Figure 6A–D). However, the MetaFlye pipeline generated contigs with a relatively low (<90%) averaged genome fraction ( Figure 6E). Except for MetaFlye, all assembler pipelines demonstrated satisfactory recovery of major HIV-1 ORFs ( Figure 7A–D). De novo and reference-based assemblers showed a clear distinction in 2M, 2C, and 2M1C HIV-1 mixtures ( Figure 6A, B, and D), with de novo assemblers producing contigs with >95.5% sequence similarity. Reference-based assemblers HaploDMF and RVHaplo yielded contigs with relatively high sequence similarity (98–99.5%), while iGDA produced 95–97% sequence similarity. However, iGDA generated fewer contigs from the 2M mixture inputs ( Figure 6A) due to its reliance on overlapping SNVs for contig extension, which may fail with highly similar sequences. The presence of CRFs allowed iGDA to recover more contigs ( Figure 6B–D). Individual assembly evaluation statistics for each sample are available in Extended data, Table S10. 54

Figure 6. The MetaQUAST assessment evaluated contigs from the assemblers processing four sets of the simulated FASTQ.

Figure 6.

The FASTQ file sets were (A) 2M HIV-1 mixture, (B) 2C HIV-1, (C) 1M1C HIV-1 mixture, and (D) 2M1C HIV-1 mixture ( Table 3). The x-axis displays the percentage sequence similarity obtained from a BLAST alignment with the corresponding reference genomes, while the y-axis represents the aligned length, indicating the longest continuous alignment between each contig and its reference genome. Dot sizes indicate the genome fraction (%Ref Aligned), calculated as the ratio of continuous aligned bases to the total reference genome length. Subplots above and beside each figure display histograms of the contig counts. Additionally, (E) shows the averaged genome fraction (%) of contigs from different long-read assembler pipelines.

Figure 7. Averaged completeness of HIV-1 open reading frames (ORFs) of the contigs generated from the assemblers.

Figure 7.

The contigs were from the assemblers analyzed simulated FASTQ inputs of the 4 HIV-1 mixtures, e.g., (A) 2M, (B) 2C, (C) 1M1C, and (D) 2M1C.

Since all input data consisted of error-free reads, the assembly correctness ( Figure 8) was assessed by comparing the contigs with their respective HIV-1 genomes. The correctness of each assembler was evaluated based on the average number of mismatches per 100,000 aligned bases ( Figure 8A) and the average number of indels per 100,000 aligned bases ( Figure 8B). Among the four de novo assemblers, all introduced a few errors to the contigs, with Strainline exhibiting a greater degree of accuracy compared to the rest. MetaFlye, however, showed the least assembly correctness. Regarding the reference-based assemblers, HaploDMF and RVHaplo demonstrated similar degrees of assembly correctness, while iGDA exhibited the least. Interestingly, indels were predominantly associated with all reference-based assemblers in this study.

Figure 8. The errors observed in the contigs from the simulated FASTQs of the 4 HIV-1 mixtures.

Figure 8.

The errors were (A) the average number of mismatches (e.g., true SNPs and sequencing errors) per 100,000 aligned bases and (B) the average number of indels per 100,000 aligned bases.

The final assessment investigated the HIV-1 subtype recall rates of the assemblers processing the 4 HIV-1 mixture datasets. In the 2M dataset ( Figure 9A), the reference-based assemblers, such as HaploDMF, RVHaplo, and iGDA, correctly recalled most of the subtypes, while the de novo assemblers exhibited lower recall rates. Strainline showed the best performance with >80% recall rates on all common subtypes, except for an overestimation on subtype B (118.52%). Canu, GoldRush, and MetaFlye exhibited low recall rates due to their collapsed assembly approach poorly handling sequences of relatively similar HIV-1 subtypes. Results from the 2C ( Figure 9B) and the 1M1C data ( Figure 9C) were similar to those observed in the 2M data. Interestingly, results from the 2M1C data ( Figure 9D) showed much lower recall rates (<60%) by all assemblers on all HIV-1 group M subtypes due to either a reduction in coverage or an error correction process. For the CRFs, the recall rates were similar to those shown in the 2C and 1M1C datasets.

Figure 9. HIV-1 subtypes and CRFs recall rate by each assembler.

Figure 9.

Subtype recall rate of each subtype or CRF in (A) 2M HIV-1 mixture, (B) 2C HIV-1 mixture, (C) 1M1C HIV-1 mixture, and (D) 2M1C HIV-1 mixture. Each assembler's recall rate was calculated from the number of correctly identified HIV-1 subtype (or CRF) divided by a total number of a corresponding subtype (or CRF) appearing in each HIV-1 mixture. The value of over 100% was from extra contigs of that subtype produced from mixing closely related subtypes together. See Extended data, Table S11 54 for more details.

Based on the results from the previous assessments, Strainline, MetaFlye, and HaploDMF were selected for further investigation using publicly available experimental sequencing data of HIV-1 and other viruses. Strainline, despite its high memory usage, offered rapid de novo viral haplotype reconstruction. MetaFlye, chosen for its compatibility with lower-end devices and acceptable memory usage and runtime, served as a de novo assembler. Despite its long runtime, HaploDMF was included as a representative reference-based assembler with memory efficiency comparable to MetaFlye.

Assessing the performance of three selected long-read assembler pipelines using experimental data from long-read sequencing of HIV-1 and other viruses

This experiment assessed the performance of selected assemblers, including Strainline, MetaFlye, and HaploDMF, using experimental data of HIV-1 and other pathogenic viruses (Extended data, Table S1). 54 The quality of assembled contigs was evaluated through QUAST, which provided metrics such as the number of contigs, sizes, N50, % genome fraction, and total aligned bases. The experiment was conducted using a workstation server.

HIV-1 recombinant forms and NL4-3

The dataset comprised plasma HIV-1 genomes (TRN01, TRN08, TRN09) and NL4-3 laboratory isolate from the MinION sequencer (BioProject: PRJDB13369). 67 All assemblers generated NL4-3 contigs >9,000 nt ( Figure 10A). MetaFlye and HaploDMF gave contigs with 95.27% and 91.22% sequence similarity, respectively. Strainline produced nine contigs, the best at 94.34% similarity (Extended data, Table S4). 54 For TRN01, all assemblers produced contigs identified by REGA (version 3.46) 68 as subtype B and F recombinants, similar to a previous finding. 67 Similarly, TRN08 yielded subtype B contigs. However, no recombinant forms with CRF01_AE were reconstructed. For TRN09, Strainline and HaploDMF replicated original findings, while HaploDMF also identified an A-C recombinant. In contrast, MetaFlye generated subtype A and CRF07_BC gagpol contigs, and a C-CRF01_AE recombinant. REGA subtyping results are in Extended data, Table S12. 54 For the 10 5’ half genomes of NL4-3 (BioProject: PRJNA938445), 69 all assemblers produced contigs meeting both length and alignment criteria. MetaFlye achieved the highest performance with an 89.26% average genome fraction, followed by Strainline at 85.93% and HaploDMF at 84.64%. Detailed alignment statistics are provided in Extended data, Table S13. 54

Figure 10. Alignment statistics of assembled contigs generated from HIV-1, SARS-CoV-2, and Mpox sequencing data.

Figure 10.

The assembled contigs were from (A) Full genome laboratory isolate NL4-3, (B) Mpox propagated in a CV-1 cell line and (C) Mpox from pustular lesion, and (D) SARS-CoV-2 sequencing data by the selected assemblers. The details of samples and reference genomes are shown in Extended data, Table S1. 54 Visualization modified from Icarus. 63 Individual alignment statistics for each haplotype can be found in Extended data, Table S14. 54

Monkeypox (Mpox)

The first sequencing data, derived from MinION sequencing of a Mpox propagated in a CV-1 cell line (SRA: ERR10963128), 70 contained 2,588 reads post-filtering, with an average length of 4,633 nt and a maximum length of 9,070 nt. HaploDMF generated 3 contigs, the longest being 188,872 nt, with 99.35% genome fraction. MetaFlye produced 7 contigs, the longest at 129,209 nt, with 95.98% genome fraction. Strainline yielded 12 contigs, the longest being 33,081 nt, with a genome fraction of 78.07% ( Figure 10B and Extended data, Table S4 54 ). The second dataset, derived from MinION sequencing of a Mpox from a pustular lesion (SRA: SRR15830920), 71 comprised 30,990 reads after filtering, with an average length of 9,048 nt and a maximum length of 59,093 nt. MetaFlye and HaploDMF exhibited similar performance, with MetaFlye assembling 122 contigs with an N50 of 13,335 nt and the longest having a 98.58% genome fraction. HaploDMF produced 5 contigs with an N50 of 173,134 nt and the longest contig having a genome fraction of 98.62%. In contrast, Strainline generated 7 contigs with an N50 of 30,255 nt and the longest contig of 101,047 nt. Only the 65,261-nt contig of those 7 contigs demonstrated 51.31% genome fraction ( Figure 10C and Extended data, Table S4 54 ).

Severe Acute Respiratory Syndrome Coronavirus 2 (SARS-CoV-2)

The dataset comprises GridION sequencing data of a SARS-CoV-2 clinical sample retrieved from the SRA database (SRP250446). 72 Strainline generated 3 contigs: 1 full-length and 2 duplicated half-genome contigs, with a 99.93% genome fraction. MetaFlye and HaploDMF each produced a single contig, with genome fractions of 96.77% and 93.11%, respectively. However, MetaFlye’s contig lacked the first 500 nucleotides of the genome, while HaploDMF’s contig had a 2,000-nt gap when aligned to the reference genome ( Figure 10D and Extended data, Table S4 54 ).

Polio virus mixture

This simulated ONT dataset consisted of 6 poliovirus type 2 sequences. 28 In Figure 11A and Extended data, Table S5, 54 Strainline and HaploDMF generated contigs with N50 values of 7,453-nt and 7,436-nt, respectively, closely matching the 7,400-nt genome of Polio virus. Strainline produced 6 contigs with an average genome fraction of 99.34%, all sharing >95% sequence similarity with 6 viral haplotypes. HaploDMF yielded 3 contigs with >95% sequence similarity and an average genome fraction of 99.80%. MetaFlye, however, produced 3 shorter contigs with an N50 of 4,830-nt. These contigs shared >95% sequence similarity with 5 haplotypes, but with an average genome fraction of 70.13%.

Figure 11. Alignment statistics of assembled contigs generated from simulated mix-strain viral sequencing data.

Figure 11.

The assembled contigs were from simulated mix-strain viral sequencing data of (A) Polio virus, (B) Hepatitis C virus (HCV), and (C) ZIKA Virus (ZIKV) by the selected assemblers. The details of samples and reference genomes are shown in Extended data, Table S1. 54 Visualization modified from Icarus. 63 Individual alignment statistics for each haplotype can be found in Extended data, Table S14. 54

Hepatitis C virus (HCV) mixture

This simulated ONT dataset consisted of 10 strains of hepatitis C virus (HCV), Subtype 1a. 28 In Figure 11B and Extended data, Table S5, 54 Strainline and HaploDMF yielded contigs with N50 values of 9,286-nt and 9,309-nt, respectively. Strainline produced 12 contigs with an average genome fraction of 99.85%, all of them sharing >95% sequence similarity with all 10 haplotypes with 2 duplicated contigs. HaploDMF generated 3 contigs with a 99.99% average genome fraction, all exhibiting >95% sequence similarity with HCV haplotypes. MetaFlye produced 5 shorter contigs with an N50 of 5,670-nt, and the longest contig (8,006-nt) shared >95% sequence similarity with 5 HCV haplotypes. However, MetaFlye contigs had an average genome fraction of 77.40%.

ZIKA Virus (ZIKV) mixture

This simulated ONT dataset comprised 15 strains of Zika virus (ZIKV). 28 In Figure 11C and Extended data, Table S5, 54 Strainline, MetaFlye, and HaploDMF generated contigs with N50 values of 10,264-nt, 5,842-nt, and 10,264-nt, respectively, closely matching the size of the ZIKV genome (11,000-nt). Strainline produced 13 contigs that recovered 14 ZIKV haplotypes, with an average genome fraction of 99.84%. MetaFlye yielded 15 contigs with a lower average genome fraction of 78.56%, recovering 10 ZIKV haplotypes. Interestingly, HaploDMF produced 10 contigs, each with an average genome fraction of 99.90%, and recovered 11 ZIKV haplotypes.

In summary, the selected assemblers showed strong performance across different experimental ONT datasets. MetaFlye exhibited superior performance with experimental ONT data of full-length or half-length HIV-1 genomes. Strainline demonstrated excellent haplotype recovery with ONT sequencing data of various viral mixtures, including SARS-CoV-2, Poliovirus, HCV, and ZIKV. Additionally, MetaFlye showcased better performance on the metagenomic experimental ONT data of the 200-kb Mpox.

A containerized HIV-64148 pipeline for genomic surveillance

The HIV-64148 benchmarking pipeline is designed for portability, ensuring it functions across different computational environments with minimal setup. As a result, the containerized HIV-64148 can be executed on either Docker or Singularity platforms. The pipeline offers the flexibility to select from a range of assemblers—Canu, GoldRush, MetaFlye, Strainline, HaploDMF, iGDA, and RVHaplo—to best match the computational system or meet specific study requirements. It generates a comprehensive report in HTML format, detailing contigs/haplotype identities, and abundances. Additionally, the report includes protein sequence alignments of drug-targeted HIV-1 genes, alongside profiles of drug resistance and susceptibility associated with these genes. This is achieved by querying the assembled sequence against the Stanford University HIV Drug Resistance Database 73 – 78 via the provided Sierra web service 2 API, as illustrated in Figure 12. The downstream analysis pipeline could also serve as a model for implementation with other viruses. The source code for building the containerized pipeline is available in a public code repository: https://github.com/STTLab/HIV-64148.

Figure 12. An implementation of the HIV-64148 pipeline for genomic surveillance.

Figure 12.

The pipeline comprises three main stages: a read quality control analysis of long-read FASTQ files, followed by assembly using either de novo or reference-based assemblers, and concluding with the identification of HIV-1 subtype and drug resistance analysis.

Discussion

In this study, we benchmarked seven selected long-read assemblers using both simulated and experimental long-read sequencing data of HIV-1 and other viruses on three computational systems to assess their performances. We demonstrated that only the assembler selection exerts a statistically significant impact on assembly time, with neither CPU nor memory affecting the process. 79 Assembler selection also influences the size of assembled contigs. Additionally, a minimum read length is 2,000-nt, and the 4,000-nt read length results in higher quality assembled contigs. Further investigations revealed that Strainline, MetaFlye, and HaploDMF deliver successful genome assemblies of long-read sequencing data, exhibiting sequence heterogeneity, from both data simulations (i.e., multiple HIV-1 subtypes or CRFs) and available experimental sequencing data of HIV-1 and other viruses.

Among the de novo assemblers, Strainline provides satisfactory assemblies within a reasonable timeframe but requires a large amount of available memory, typically 64GB of RAM or more, exceeding the capacity of a standard computer. MetaFlye, though slower, is suitable for metagenomic sequencing data. GoldRush, the fastest assembler, lacks the capability to assemble alternative contigs and is thus unsuitable for metagenomic sequencing data. Canu efficiently allocates appropriate CPU and memory to each process, resulting in efficient CPU utilization and low memory consumption. Among the reference-based assemblers, iGDA and RVHaplo exhibit similar computational resource usage, with iGDA’s runtime comparable to Canu and GoldRush, and RVHaplo’s runtime comparable to Strainline. HaploDMF demonstrates considerably longer runtime due to heavy CPU usage during the assembly process, particularly in deep matrix factorization. However, utilizing a compatible GPU could mitigate both the runtime and CPU workload of HaploDMF. 43 , 46 Overall, the variations in computational performance among the assemblers emphasize the critical importance of careful assembler selection for the success of analyses tailored to specific scientific projects.

To improve HIV-1 quasispecies profiling and genomic surveillance, it’s essential to discuss the advantages and disadvantages of selected assemblers for handling heterogeneous viral or microbial metagenome sequencing data. Canu and GoldRush are non-strain aware de novo assemblers, lacking the ability to distinguish strains within a sample. Using a reference genome may overcome this limitation, but it may not be suitable for genomic surveillance of emerging infectious diseases. 80 MetaFlye is suitable for metagenomic assemblies, employing local k-mer distributions to establish a threshold for global k-mer counting, thus retaining less abundant sequencing reads. 42 Strainline is designed for haplotype reconstruction of diverse viral genomes, treating clusters of long reads as unique scaffolds of different haplotypes and extending scaffolds through multiple iterations of the Overlap-Layout-Consensus (OLC) algorithm. 28 However, this approach may be ineffective with equally long and highly similar reads, resulting in inaccurate estimates of haplotype numbers. For instance, Strainline has been observed to produce numerous duplicate contigs from HIV-1 group M subtype B from 2M HIV-1 mixture and 1M1C HIV-1 mixture.

High-quality reference sequences are crucial for reference-based assembly. The assemblers use a probabilistic approach to align reads to the reference sequence and identify variants like single nucleotide variants (SNVs), insertions, and deletions for haplotype phasing. Both RVHaplo and HaploDMF employ an SNV frequency matrix for clustering reads of different haplotypes. However, RVHaplo relies on overlapping SNV sites, which may be inadequate for assembling closely related genomes. In contrast, HaploDMF uses a deep matrix factorization model with an adapted loss function to learn and correct latent features from each iteration of SNV detection, 43 enhancing robustness against noise during SNV detection and enabling assembly of closely related strains. iGDA utilizes Adaptive-Nearest Neighbor clustering (ANN) to estimate the number of clusters and, like RVHaplo, uses overlapping SNVs and coverage for contig extension. 44 In general, reference-based assemblers seem suitable only for quasispecies profiling.

Since the choice of assembler significantly impacts genome assemblies, it is crucial to meet specific hardware system requirements tailored to match the quality of input data, genome sizes of the organisms of interest, and the algorithms used for genome assembly. However, the suitable system requirements have not been explicitly provided. Based on this benchmarking study, the following optimal computational requirements are suggested:

  • •

    All assemblers should be executed in a Linux-based operating system.

  • •

    A quad-core (4 cores) or higher CPU with x86 microarchitecture is recommended. CPUs with ARM-based microarchitecture (e.g., Apple Silicon) may require specific compiling or hand-tuned code with ARM instructions. Alternatively, a properly optimized code can achieve performance comparable to native x86 systems through dynamic binary translation (e.g., Rosetta). 81

  • •

    An 8 GB memory is sufficient for either viral or bacterial genome assembly, while a 16 GB RAM or higher is recommended for larger genomes, such as human or other mammals. It’s worth noting that this study utilized 96 GB memory for all assemblers.

An additional consideration is the balance between CPU and memory, as demonstrated by comparing a workstation with a generic home PC. An interesting finding is that despite both systems having the same number of CPU cores, the home PC took slightly longer, and its CPUs were more overutilized than those on the workstation. This disparity is attributed to the home PC needing to perform memory management more frequently, thereby adding load to the CPU and slowing down the process. 82

In addition, the impact of virtualization and containerization layering during benchmarking was disregarded. Consequently, the wall clock time measured from a server was longer than that measured from a workstation desktop. It is possible that the software spends more time traversing layers of virtualization instead of running on a bare-metal environment (i.e., installed the software directly on the machine without containerization). 83 – 85 Also worth mentioning, from a computer science perspective, it is expected that when evaluating the efficiency of algorithms used by each assembler, the concept of computational complexity should be applied to provide a better estimation of computational resource requirements and runtime on a more diverse set of data i.e. predicting computing time of dataset with different depth of coverage, read length and assembly complexity. 79 , 86 , 87 While acknowledging this consideration, it is important to note that conducting a benchmark on real machines provides practical insights and actionable data on a specific use case, despite potential confounders introduced by the machine itself or from software virtualization.

Insights on computational requirements for current long-read assemblers offer guidance for implementing edge computing in molecular surveillance and epidemiology in bioinformatics and virology. Long-read sequencing data of HIV-1 used for benchmarking indicates that a containerized HIV-64148 pipeline can function with sub-optimal computational infrastructures like workstation PCs or generic home PCs. This pipeline has the potential to support and expand HIV-1 surveillance networks, benefiting scientists, epidemiologists, healthcare providers, and people living with HIV.

Ethical considerations

Not applicable.

Acknowledgements

The authors would like to thank The ERAWAN HPC Service, Chiang Mai University, Thailand and The Center of Multidisciplinary Technology for Advanced Medicine (CMUTEAM), Faculty of Medicine, Chiang Mai University, Thailand for their supports on computational resources and server. We would like to thank Support the Children Foundation, Chiang Mai, Thailand for financial support. We also would like to thank Yuphin Chromwinya and Somporn Sankonkit of The Immunology Lab, Department of Microbiology, Faculty of Medicine, Chiang Mai University, Thailand for their administrative supports.

Funding Statement

This research was funded by the Health Systems Research Institute, Thailand, Grant No. 64-148, and the Faculty of Medicine Research Fund, Chiang Mai University, Grant No. 099-2563.

The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

[version 1; peer review: 2 approved

Data availability

Underlying data

Figshare: HIV64148 TABLE_S6_HIV_Combinations_DataSimulation https://doi.org/10.6084/m9.figshare.25436023 54 all accession numbers are provided in Table S6

Figshare: HIV64148 Template FASTA. https://doi.org/10.6084/m9.figshare.25435774 59

This archive contains reference sequences in FASTA format used as templates to simulated Oxford Nanopore reads Each template is located within a subfolder corresponding to its simulation number.

Figshare: HIV64148 Simulated FASTQ. https://doi.org/10.6084/m9.figshare.25435822 60

This archive contains simulated reads from NanoSim with template FASTA. Each FASTQ is located within a subfolder corresponding to its simulation number.

Figshare: HIV64148 QC Simulated FASTQ. https://doi.org/10.6084/m9.figshare.25435912 61

This archive contains output from NanoPlot describing characteristic of Simulated FASTQ files. Each HTML is located within a subfolder corresponding to its simulation number.

Figshare: HIV64148 Results. https://doi.org/10.6084/m9.figshare.25435948 64

This archive contains genome assembly in FASTA, BLAST result in CSV, and HIV64148 report in HTML from 2M, 2C, 1M1C, and 2M1C HIV-1 mixtures, as well as the results from resource usage overtime (CPU, Memory) measured on 3 computational platforms over 7 tools in CSV format.

Data are available under the terms of the Creative Commons Attribution 4.0 International license (CC-BY 4.0).

Extended data

Figshare: HIV64148 Supplementary data. https://doi.org/10.6084/m9.figshare.25436023 54

This project contains the following extended data:

Figure S1. The MetaQUAST assessment evaluated contigs from the assemblers processing four median read-length FASTQ inputs: ( A) 1,000-nt, ( B) 2,000-nt, ( C) 3,000-nt, and ( D) 4,000-nt ( Table 3). The x-axis displays the percentage sequence similarity obtained from a BLAST alignment with the corresponding reference genomes, while the y-axis represents the aligned length, indicating the longest continuous alignment between each contig and its reference genome. Dot sizes indicate the genome fraction (%Ref Aligned), calculated as the ratio of continuous aligned bases to the total reference genome length. Subplots above and beside each figure display histograms of the contig counts. Additionally, ( E) shows the averaged genome fraction (%) of contigs from different long-read assembler pipelines. The complete data are available in Extended data, Table S9. 54

Figure S2. The average completeness of major HIV-1 open reading frames (ORFs) of the contigs generated from the assemblers analyzing FASTQ inputs of 4 median read lengths: ( A) 1,000-nt, ( B) 2,000-nt, ( C) 3,000-nt, or ( D) 4,000-nt.

Figure S3. Contig size distribution of all assemblers processing the simulated FASTQ inputs of the 4 HIV-1 mixtures.

Table S1. A list of experimental data and additional information. N/A: not applicable.

Table S2. A statistical summary of runtime measurements taken from an assembly phase of the pipelines.

Table S3. The memory usage and maximum CPU utilization of each assembler on three computational systems. The benchmark utilized 100 samples of two HIV-1 group M mixture with 2,000x coverage and 8,000-nt median read length.

Table S4. The genome statistics of contigs generated from ( A) Full genome laboratory isolate NL4-3, ( B) Mpox propagated in a CV-1 cell line and ( C) Mpox from pustular lesion, and ( D) SARS-CoV-2 data by the selected assemblers.

Table S5. The genome statistics of contigs generated from ( A) Polio virus, ( B) Hepatitis C virus (HCV), and ( C) ZIKA Virus (ZIKV) data by the selected assemblers.

Table S6. HIV Combinations for Data Simulation (Excel)

Table S7. Characteristics of Simulated Samples Readlength Experiment (Excel)

Table S8. Characteristics of Simulated Samples HIV mixture Experiment (Excel)

Table S9. An Assembly Evaluation of HIV-1 Read Length Experiment (Excel)

Table S10. An Assembly Evaluation of HIV-1 Subtype Mixtures Experiment (Excel)

Table S11. Subtypes Recall Rates (Excel)

Table S12. REGA Subtyping (Excel)

Table S13. 5’ Half Genomes of NL4-3 Alignment Statistics (Excel)

Table S14. Other Viruses Alignment Statistics (Excel)

All high-resolution figures are available in https://doi.org/10.6084/m9.figshare.25436125.v1. 88

Data are available under the terms of the Creative Commons Attribution 4.0 International license (CC-BY 4.0).

Software and code

Software and code for this workflow can be found on GitHub: https://github.com/STTLab/HIV-64148 (License: OSI approved open license software is under GPL-3.0 license.)

Archived code as at time of publication: https://doi.org/10.6084/m9.figshare.25436062 89

Code is available under the terms of the Creative Commons Attribution 4.0 International license (CC-BY 4.0).

Reporting guidelines

Not applicable.

References

  • 1. Frescura L, et al. : Achieving the 95 95 95 targets for all: A pathway to ending AIDS. PLoS One. 2022;17:e0272405. 10.1371/journal.pone.0272405 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2. UNAIDS: Understanding Fast-Track: accelerating action to end the AIDS epidemic by 2030. Geneva, Switzerland: (Joint United Nations Programme on HIV/AIDS (UNAIDS);2015; vol.10. [Google Scholar]
  • 3. UNAIDS: World AIDS Day Report: Prevailing against pandemics by putting people at the centre. Geneva, Switzerland: Joint United Nations Programme on HIV/AIDS (UNAIDS);2020; vol.87. [Google Scholar]
  • 4. Hill V, et al. : Toward a global virus genomic surveillance network. Cell Host Microbe. 2023;31:861–873. 10.1016/j.chom.2023.03.003 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5. (EPP), E. a. P. P. a. P. & Global Genomic Surveillance, R. f. H. R: Global genomic surveillance strategy for pathogens with pandemic and epidemic potential 2022–2032: progress report on the first year of implementation. 2023. [DOI] [PMC free article] [PubMed]
  • 6. Metzner KJ: HIV Whole-Genome Sequencing Now: Answering Still-Open Questions. J. Clin. Microbiol. 2016;54:834–835. 10.1128/JCM.03265-15 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7. Wittwer CT: Portable Nanopore Sequencing for Viral Surveillance. Clin. Chem. 2016;62:1427–1429. 10.1373/clinchem.2016.256693 [DOI] [PubMed] [Google Scholar]
  • 8. Foster-Nyarko E, et al. : Nanopore-only assemblies for genomic surveillance of the global priority drug-resistant pathogen, Klebsiella pneumoniae. Microb Genom. 2023;9. 10.1099/mgen.0.000936 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9. Wheeler NE, et al. : Innovations in genomic antimicrobial resistance surveillance. Lancet Microbe. 2023;4:e1063–e1070. 10.1016/S2666-5247(23)00285-9 [DOI] [PubMed] [Google Scholar]
  • 10. Holzschuh A, et al. : Using a mobile nanopore sequencing lab for end-to-end genomic surveillance of Plasmodium falciparum: A feasibility study. PLOS Glob. Public Health. 2024;4:e0002743. 10.1371/journal.pgph.0002743 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11. Baltimore D: Viral RNA-dependent DNA Polymerase: RNA-dependent DNA Polymerase in Virions of RNA Tumour Viruses. Nature. 1970;226:1209–1211. 10.1038/2261209a0 [DOI] [PubMed] [Google Scholar]
  • 12. Roberts JD, Bebenek K, Kunkel TA: The Accuracy of Reverse Transcriptase from HIV-1. Science. 1988;242:1171–1173. 10.1126/science.2460925 [DOI] [PubMed] [Google Scholar]
  • 13. Preston BD, Poiesz BJ, Loeb LA: Fidelity of HIV-1 Reverse Transcriptase. Science. 1988;242:1168–1171. 10.1126/science.2460924 [DOI] [PubMed] [Google Scholar]
  • 14. Das K, Arnold E: HIV-1 reverse transcriptase and antiviral drug resistance. Part 1. Curr. Opin. Virol. 2013;3:111–118. 10.1016/j.coviro.2013.03.012 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15. Johnson WE, Desrosiers RC: Viral Persistence: HIV’s Strategies of Immune System Evasion. Annu. Rev. Med. 2002;53:499–518. 10.1146/annurev.med.53.082901.104053 [DOI] [PubMed] [Google Scholar]
  • 16. Kirchhoff F: Immune Evasion and Counteraction of Restriction Factors by HIV-1 and Other Primate Lentiviruses. Cell Host Microbe. 2010;8:55–67. 10.1016/j.chom.2010.06.004 [DOI] [PubMed] [Google Scholar]
  • 17. Greninger AL, et al. : Rapid metagenomic identification of viral pathogens in clinical samples by real-time nanopore sequencing analysis. Genome Med. 2015;7:99. 10.1186/s13073-015-0220-9 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18. Rambaut A, Posada D, Crandall KA, et al. : The causes and consequences of HIV evolution. Nat. Rev. Genet. 2004;5:52–61. 10.1038/nrg1246 [DOI] [PubMed] [Google Scholar]
  • 19. Blackard JT, Cohen DE, Mayer KH: Human Immunodeficiency Virus Superinfection and Recombination: Current State of Knowledge and Potential Clinical Consequences. Clin. Infect. Dis. 2002;34:1108–1114. 10.1086/339547 [DOI] [PubMed] [Google Scholar]
  • 20. Pandit A, De Boer RJ: Reliable reconstruction of HIV-1 whole genome haplotypes reveals clonal interference and genetic hitchhiking among immune escape variants. Retrovirology. 2014;11:56. 10.1186/1742-4690-11-56 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21. Deeks SG, et al. : Research priorities for an HIV cure: International AIDS Society Global Scientific Strategy 2021. Nat. Med. 2021;27:2085–2098. 10.1038/s41591-021-01590-5 [DOI] [PubMed] [Google Scholar]
  • 22. Monaco DC, Zapata L, Hunter E, et al. : Resistance profile of HIV-1 quasispecies in patients under treatment failure using single molecule, real-time sequencing. AIDS. 2020;34:2201–2210. 10.1097/QAD.0000000000002697 [DOI] [PubMed] [Google Scholar]
  • 23. Gaudin M, Desnues C: Hybrid Capture-Based Next Generation Sequencing and Its Application to Human Infectious Diseases. Front. Microbiol. 2018;9:2924. 10.3389/fmicb.2018.02924 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24. Lauring AS, Andino R: Quasispecies Theory and the Behavior of RNA Viruses. PLoS Pathog. 2010;6:e1001005. 10.1371/journal.ppat.1001005 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25. Bonsall D, et al. : A comprehensive genomics solution for HIV surveillance and clinical monitoring in a global health setting. Genomics. 2018. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26. Frishman D, Marz M, editors: Virus Bioinformatics. 1st ed. Chapman and Hall/CRC;2021. 10.1201/9781003097679 [DOI] [Google Scholar]
  • 27. Udaondo Z, et al. : Comparative Analysis of PacBio and Oxford Nanopore Sequencing Technologies for Transcriptomic Landscape Identification of Penaeus monodon. Life. 2021;11:862. 10.3390/life11080862 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28. Luo X, Kang X, Schönhuth A: Strainline: full-length de novo viral haplotype reconstruction from noisy long reads. Genome Biol. 2022;23:29. 10.1186/s13059-021-02587-6 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29. Yamashita T, et al. : Single-molecular real-time deep sequencing reveals the dynamics of multi-drug resistant haplotypes and structural variations in the hepatitis C virus genome. Sci. Rep. 2020;10:2651. 10.1038/s41598-020-59397-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30. Sahlin K, Medvedev P: Error correction enables use of Oxford Nanopore technology for reference-free transcriptome analysis. Nat. Commun. 2021;12:2. 10.1038/s41467-020-20340-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31. Zhang H, Jain C, Aluru S: A comprehensive evaluation of long read error correction methods. BMC Genomics. 2020;21:889. 10.1186/s12864-020-07227-0 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32. Link RW, et al. : HIV-Quasipore: A Suite of HIV-1-Specific Nanopore Basecallers Designed to Enhance Viral Quasispecies Detection. Front. Virol. 2022;2:858375. 10.3389/fviro.2022.858375 [DOI] [Google Scholar]
  • 33. Nguyen Quang N, et al. : Dynamic nanopore long-read sequencing analysis of HIV-1 splicing events during the early steps of infection. Retrovirology. 2020;17:25. 10.1186/s12977-020-00533-1 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34. Chen Y, et al. : Efficient assembly of nanopore reads via highly accurate and intact error correction. Nat. Commun. 2021;12:60. 10.1038/s41467-020-20236-7 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35. Karst SM, et al. : High-accuracy long-read amplicon sequences using unique molecular identifiers with Nanopore or PacBio sequencing. Nat. Methods. 2021;18:165–169. 10.1038/s41592-020-01041-y [DOI] [PubMed] [Google Scholar]
  • 36. Ni Y, Liu X, Simeneh ZM, et al. : Benchmarking of Nanopore R10.4 and R9.4.1 flow cells in single-cell whole-genome amplification and whole-genome shotgun sequencing. Comput. Struct. Biotechnol. J. 2023;21:2352–2364. 10.1016/j.csbj.2023.03.038 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37. Luo X, Kang X, Schönhuth A: VeChat: correcting errors in long reads using variation graphs. Nat. Commun. 2022;13:6657. 10.1038/s41467-022-34381-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38. Chen Q, et al. : Recent advances in sequence assembly: principles and applications. Brief. Funct. Genomics. 2017;16:361–378. 10.1093/bfgp/elx006 [DOI] [PubMed] [Google Scholar]
  • 39. Chen Y, Xiao CL: A survey on de novo assembly methods for single-molecular sequencing. Quant. Biol. 2020;8:203–215. 10.1007/s40484-020-0214-5 [DOI] [Google Scholar]
  • 40. Eliseev A, et al. : Evaluation of haplotype callers for next-generation sequencing of viruses. Infect. Genet. Evol. 2020;82:104277. 10.1016/j.meegid.2020.104277 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41. Luo X, Kang X, Schönhuth A: Enhancing Long-Read-Based Strain-Aware Metagenome Assembly. Front. Genet. 2022;13:868280. 10.3389/fgene.2022.868280 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42. Kolmogorov M, et al. : metaFlye: scalable long-read metagenome assembly using repeat graphs. Nat. Methods. 2020;17:1103–1110. 10.1038/s41592-020-00971-x [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43. Cai D, Shang J, Sun Y: HaploDMF: viral haplotype reconstruction from long reads via deep matrix factorization. Bioinformatics. 2022;38:5360–5367. 10.1093/bioinformatics/btac708 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44. Feng Z, Clemente JC, Wong B, et al. : Detecting and phasing minor single-nucleotide variants from long-read sequencing data. Nat. Commun. 2021;12:3032. 10.1038/s41467-021-23289-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45. Cai D, Sun Y: Reconstructing viral haplotypes using long reads. Bioinformatics. 2022;38:2127–2134. 10.1093/bioinformatics/btac089 [DOI] [PubMed] [Google Scholar]
  • 46. Chan DM, Rao R, Huang F, et al. : GPU accelerated t-distributed stochastic neighbor embedding. J. Parallel Distrib. Comput. 2019;131:1–13. 10.1016/j.jpdc.2019.04.008 [DOI] [Google Scholar]
  • 47. Koren S, et al. : Canu: scalable and accurate long-read assembly via adaptive k-mer weighting and repeat separation. Genome Res. 2017;27:722–736. 10.1101/gr.215087.116 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48. Wong J, et al. : Linear time complexity de novo long read genome assembly with GoldRush. Nat. Commun. 2023;14:2906. 10.1038/s41467-023-38716-x [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49. Van Der Walt AJ, et al. : Assembling metagenomes, one community at a time. BMC Genomics. 2017;18:521. 10.1186/s12864-017-3918-9 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50. Hu B, et al. : Challenges in Bioinformatics Workflows for Processing Microbiome Omics Data at Scale. Front. Bioinform. 2022;1:826370. 10.3389/fbinf.2021.826370 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51. De Coster W, D’Hert S, Schultz DT, et al. : NanoPack: visualizing and processing long-read sequencing data. Bioinformatics. 2018;34:2666–2669. 10.1093/bioinformatics/bty149 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52. Verma SB, Pandey B, Kumar Gupta B: Containerization and its Architectures: A Study. ADCAIJ. 2023;11:395–409. 10.14201/adcaij.28351 [DOI] [Google Scholar]
  • 53. HIV Sequence Compendium 2021. Los Alamos National Laboratory, Theoretical Biology and Biophysics;2023. [Google Scholar]
  • 54. Tongjai S, Wattanasombat S: figshare. 2024. [DOI] [PMC free article] [PubMed]
  • 55. Yang C, et al. : Characterization and simulation of metagenomic nanopore sequencing data with Meta-NanoSim. GigaScience. 2023;12:giad013. 10.1093/gigascience/giad013 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56. Yang C, Chu J, Warren RL, et al. : NanoSim: nanopore sequence read simulator based on statistical characterization. GigaScience. 2017;6:1–6. 10.1093/gigascience/gix010 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 57. Wright IA, et al. : NanoHIV: A Bioinformatics Pipeline for Producing Accurate, Near Full-Length HIV Proviral Genomes Sequenced Using the Oxford Nanopore Technology. Cells. 2021;10:2577. 10.3390/cells10102577 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 58. Ng TT-L, et al. : Long-Read Sequencing with Hierarchical Clustering for Antiretroviral Resistance Profiling of Mixed Human Immunodeficiency Virus Quasispecies. Clin. Chem. 2023;69:1174–1185. 10.1093/clinchem/hvad108 [DOI] [PubMed] [Google Scholar]
  • 59. Tongjai S, Wattanasombat S: figshare. 2024. [DOI] [PMC free article] [PubMed]
  • 60. Tongjai S, Wattanasombat S: figshare. 2024. [DOI] [PMC free article] [PubMed]
  • 61. Tongjai S, Wattanasombat S: figshare. 2024. [DOI] [PMC free article] [PubMed]
  • 62. Camacho C, et al. : BLAST+: architecture and applications. BMC Bioinformatics. 2009;10:421. 10.1186/1471-2105-10-421 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 63. Mikheenko A, Saveliev V, Gurevich A: MetaQUAST: evaluation of metagenome assemblies. Bioinformatics. 2016;32:1088–1090. 10.1093/bioinformatics/btv697 [DOI] [PubMed] [Google Scholar]
  • 64. Tongjai S, Wattanasombat S: figshare. 2024. [DOI] [PMC free article] [PubMed]
  • 65. jamovi:2023.
  • 66. R: A Language and environment for statistical computing. R Foundation for Statistical Computing;2022. [Google Scholar]
  • 67. Mori M, et al. : Nanopore Sequencing for Characterization of HIV-1 Recombinant Forms. Microbiol Spectr. 2022;10:e0150722–e0101522. 10.1128/spectrum.01507-22 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 68. Pineda-Peña A-C, et al. : Automated subtyping of HIV-1 genetic sequences for clinical and surveillance purposes: Performance evaluation of the new REGA version 3 and seven other tools. Infect. Genet. Evol. 2013;19:337–348. 10.1016/j.meegid.2013.04.032 [DOI] [PubMed] [Google Scholar]
  • 69. Bohn P, Gribling-Burrer A-S, Ambi UB, et al. : Nano-DMS-MaP allows isoform-specific RNA structure determination. Nat. Methods. 2023;20:849–859. 10.1038/s41592-023-01862-7 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 70. University of, S: BioProject, PRJEB56841. 2020.
  • 71. Institut, P: BioProject, PRJNA762014. 2021.
  • 72. University of, M: BioProject, PRJNA608224. 2020.
  • 73. Rhee SY: Human immunodeficiency virus reverse transcriptase and protease sequence database. Nucleic Acids Res. 2003;31:298–303. 10.1093/nar/gkg100 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 74. Liu TF, Shafer RW: Web Resources for HIV Type 1 Genotypic-Resistance Test Interpretation. Clin. Infect. Dis. 2006;42:1608–1618. 10.1086/503914 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 75. Shafer RW: Rationale and Uses of a Public HIV Drug-Resistance Database. J. Infect. Dis. 2006;194:S51–S58. 10.1086/505356 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 76. Rhee S-Y, et al. : HIV-1 pol mutation frequency by subtype and treatment experience: extension of the HIVseq program to seven non-B subtypes. AIDS. 2006;20:643–651. 10.1097/01.aids.0000216363.36786.2b [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 77. Shafer RW, Jung DR, Betts BJ: Human immunodeficiency virus type 1 reverse transcriptase and protease mutation search engine for queries. Nat. Med. 2000;6:1290–1292. 10.1038/81407 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 78. Gifford RJ, et al. : The calibrated population resistance tool: standardized genotypic estimation of transmitted HIV-1 drug resistance. Bioinformatics. 2009;25:1197–1198. 10.1093/bioinformatics/btp134 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 79. Hanussek M, Bartusch F, Krüger J: Performance and scaling behavior of bioinformatic applications in virtualization environments to create awareness for the efficient use of compute resources. PLoS Comput. Biol. 2021;17:e1009244. 10.1371/journal.pcbi.1009244 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 80. Anyansi C, Straub TJ, Manson AL, et al. : Computational Methods for Strain-Level Microbial Detection in Colony and Metagenome Sequencing Data. Front. Microbiol. 2020;11:1925. 10.3389/fmicb.2020.01925 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 81. Poje K, Brcic M, Knezovic J, et al. : First Steps towards Efficient Genome Assembly on ARM-Based HPC. Electronics. 2023;13:39. 10.3390/electronics13010039 [DOI] [Google Scholar]
  • 82. Dika A, Prevalla B: Electronics Engineers in Israel (IEEEI 2010). IEEE; 000015-000018. [Google Scholar]
  • 83. Popiolek PF, Mendizabal OM: Monitoring and analysis of performance impact in virtualized environments. J. Appl. Comput. Res. 2013;2:75–82. 10.4013/jacr.2012.22.03 [DOI] [Google Scholar]
  • 84. Al-hamouri R, Al-Jarrah H, Al-Sharif ZA, et al. : 2020 Seventh International Conference on Software Defined Systems (SDS). IEEE;2020; pp.131–138. [Google Scholar]
  • 85. Chung MT, Quang-Hung N, Nguyen M-T, et al. : 2016 IEEE Sixth International Conference on Communications and Electronics (ICCE). IEEE;2016; pp.52–57. [Google Scholar]
  • 86. Bielecki J, Śmiałek M: Estimation of execution time for computing tasks. Clust. Comput. 2023;26:3943–3956. 10.1007/s10586-022-03774-1 [DOI] [Google Scholar]
  • 87. Sikka J, et al. : Learning based Methods for Code Runtime Complexity Prediction. 2019. 10.48550/ARXIV.1911.01155 [DOI]
  • 88. Tongjai S, Wattanasombat S: figshare. 2024. [DOI] [PMC free article] [PubMed]
  • 89. Tongjai S, Wattanasombat S: figshare. 2024. [DOI] [PMC free article] [PubMed]
F1000Res. 2024 Jul 16. doi: 10.5256/f1000research.164057.r297759

Reviewer response for version 1

Sira Sriswasdi 1,2

This work presents a comprehensive evaluation of de novo and reference-based assembly tools for Nanopore sequencing of genome mixtures of HIV and other viruses. Focus was placed on both the ability of the tools to capture the true viral subtypes and the computational resource requirement. The impact of basic quality filters, such as the minimum read length, was also explored. The best performing tools were selected based on simulated datasets of known HIV mixtures and their performance were evaluated on various actual and simulated datasets of multiple viruses. This work also provides a container resource that would be useful for non-experts to analyze their own data. However, there are some missing details and metrics that should be improved.

Major issues:

  1. Since a key limitation of Nanopore sequencing is the relatively high sequencing error (compared to other sequencing techniques), I think it is unrealistic to simulate the data with the --perfect mode which produces error-free reads. Furthermore, using error-free simulated data would underestimate the number of mismatches and overestimate the % similarity and correctness of the resulting contigs.

  2. On the same issue of sequencing error, I wonder if more attention should be placed on optimizing the polishing step (such as Luan T, et al., (2024) [Ref-1]). In the current work, only the default error handling algorithm associated with each tool was used.

  3. When evaluating the assembly characteristics of a mixture of subtypes, such as in Figure 6-8, and Figure S3, I think it is important to show the characteristics separately for each subtype so that it is clear whether all subtypes were assembled equally well. Or at least, please show the ranges of the values, not just the averages.

  4. In Table 5, I’m not sure how a Spearman correlation could be calculated with assembler selection, which is not an ordinal variable.

  5. When evaluating the assemblers using simulated mixture data, it is unclear what proportion of reads coming from each subtype was used. I think the impact of fractional abundance on the quality of the assembled genomes should be investigated. For the simulated HIV-1 mixture datasets in Table 3, please consider exploring different mixture ratios. For the pre-built simulated polio, zika, and HCV datasets, please indicate the mixture ratios to aid interpretation.

  6. There is no apparent tuning of the parameters for the assemblers. Since this is a benchmark paper that releases a container that will be used by the community, please consider more optimization of the pipeline.

Minor issues:

  1. The comparison between de novo assemblers and reference-based assemblers needs to be carefully explained because reference-based approaches, with reference genome as prior knowledge, would in general be able to produce longer contigs (as seen in Figure 5D-F versus Figure 5A-C, with Figure 5F as the extreme case where every contig from RVHaplo is almost the entire genome). It would be nice to explain these to the readers to prevent misinterpretation.

  2. Figures 10 and 11 could be improved by annotating each contig with the identity of each viral subtype in the mixture. This would allow the readers to understand (i) whether the correct contigs correspond to individual subtypes, (ii) which subtypes could not be recovered, and (iii) whether different methods misassemble the same subtypes.

  3. The pipeline seems to use a fixed HIV-1 reference NC_001802.1. Should the impact of the reference genome be explored? Should the reference genome be changeable in the released pipeline?

Is the work clearly and accurately presented and does it cite the current literature?

Yes

If applicable, is the statistical analysis and its interpretation appropriate?

Partly

Are all the source data underlying the results available to ensure full reproducibility?

Yes

Is the study design appropriate and is the work technically sound?

Partly

Are the conclusions drawn adequately supported by the results?

Yes

Are sufficient details of methods and analysis provided to allow replication by others?

Yes

Reviewer Expertise:

molecular evolution of microorganisms, cancer transcriptomics, bioinformatics pipelines, machine learning and deep learning applications in biomedicine

I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however I have significant reservations, as outlined above.

References

  • 1. : Benchmarking short and long read polishing tools for nanopore assemblies: achieving near-perfect genomes for outbreak isolates. BMC Genomics .2024;25(1) : 10.1186/s12864-024-10582-x 679 10.1186/s12864-024-10582-x [DOI] [PMC free article] [PubMed] [Google Scholar]
F1000Res. 2024 Jul 8. doi: 10.5256/f1000research.164057.r297758

Reviewer response for version 1

Rujira Chaysiri 1

The study conducted a comprehensive evaluation of seven genome assemblers, focusing on their performance across different computational platforms including a server, workstation PC, and standard PC. It was found that while the choice of platform did not significantly affect processing time, memory capacity was a critical factor, with some assemblers like Strainline requiring up to 64 GB of memory, rendering them unsuitable for standard PCs. Reference-based assemblers were generally faster and more consistent in their processing times compared to the variable performance of de novo assemblers. When assessing the minimum read lengths necessary for effective assembly, de novo assemblers needed a minimum read length (N50) of at least 2000 nt to function optimally, while reference-based assemblers were less affected by variations in read length and consistently produced assemblies close to the expected genome size of 8000 nt for HIV.

In evaluating the performance on mixed HIV-1 subtypes, de novo assemblers exhibited lower recovery rates for subtypes, indicating challenges in reconstructing all subtypes present in the input. Conversely, reference-based assemblers demonstrated better recovery of subtypes but tended to over-represent subtype B, used as the reference, and had higher rates of indels, pointing to a need for improved error correction. Further testing on real sequencing data from various viruses, including HIV-1, Mpox, SARS-CoV-2, Polio, Hepatitis C, and ZIKV, showcased the versatility and high-quality results of the selected assemblers across different viral genomes.

Additionally, the study detailed the development of a Docker container for the HIV-64148 pipeline, which incorporated the tested assemblers along with features for querying online databases to generate comprehensive reports on subtype composition, mutations, and drug resistance profiles. This containerized pipeline proved to be practical and accessible, capable of operating on both large servers and standard computers, thus enhancing its utility for genomic surveillance tasks in diverse settings.

The study provides a robust evaluation of genome assemblers, delivering valuable insights into their performance across different computational platforms and data sets. Its comprehensive nature, covering multiple aspects of assembler performance such as processing time, memory usage, and accuracy, is a significant strength. The inclusion of both simulated and real sequencing data from a variety of viruses highlights the practical applicability of the findings. Additionally, the development of a Docker container for the HIV-64148 pipeline enhances accessibility and usability, facilitating standardized genomic surveillance.

However, the study also reveals some limitations. The high memory requirements for some assemblers, particularly Strainline, limit their usability on standard PCs, which could restrict their application in resource-limited environments. The tendency of reference-based assemblers to over-represent certain subtypes, such as subtype B in HIV, introduces bias that could affect the reliability of genomic studies. Furthermore, the higher indel rates observed in reference-based assemblies indicate a need for further refinement and error correction to improve the accuracy of the results.

To address these issues, future research should focus on optimizing memory usage for assemblers, making them more accessible on standard hardware. Developing methods to reduce reference bias in reference-based assemblers would enhance the reliability of their results. Additionally, implementing robust error correction algorithms could mitigate the higher indel rates observed in reference-based assemblies. Overall, while the study makes significant contributions to the field of genomics, addressing these limitations would further improve the effectiveness and applicability of genome assemblers.

Is the work clearly and accurately presented and does it cite the current literature?

Yes

If applicable, is the statistical analysis and its interpretation appropriate?

Yes

Are all the source data underlying the results available to ensure full reproducibility?

Yes

Is the study design appropriate and is the work technically sound?

Yes

Are the conclusions drawn adequately supported by the results?

Yes

Are sufficient details of methods and analysis provided to allow replication by others?

Yes

Reviewer Expertise:

Management Technology

I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard.

F1000Res. 2024 Jul 5. doi: 10.5256/f1000research.164057.r297757

Reviewer response for version 1

Udom Sae-Ueng 1

1. The title of the paper should focus on the performance of genome assemblers, as the selection of the assembler is the main factor in the pipeline.

2. A significant number of mismatch errors occur in ONT sequencing data. The paper should address how to ensure that these errors will assemble into distinct vital haplotypes. It should also explain the dissimilarities between viral haplotypes in genomes and provide evidence of low-abundance haplotypes with read ratios in real-world situations for quasispecies analysis.

3. If the ratio of reads used in the HIV mixture is the same (as shown in Table 3), but different genome assemblers are used (as shown in Figure 9), it results in different subtype recalls. This could be considered a bias of genome assemblers.

Is the work clearly and accurately presented and does it cite the current literature?

Yes

If applicable, is the statistical analysis and its interpretation appropriate?

Yes

Are all the source data underlying the results available to ensure full reproducibility?

Yes

Is the study design appropriate and is the work technically sound?

Yes

Are the conclusions drawn adequately supported by the results?

Yes

Are sufficient details of methods and analysis provided to allow replication by others?

Yes

Reviewer Expertise:

Genome sequencing; Biotechnology

I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard.

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Data Availability Statement

    Underlying data

    Figshare: HIV64148 TABLE_S6_HIV_Combinations_DataSimulation https://doi.org/10.6084/m9.figshare.25436023 54 all accession numbers are provided in Table S6

    Figshare: HIV64148 Template FASTA. https://doi.org/10.6084/m9.figshare.25435774 59

    This archive contains reference sequences in FASTA format used as templates to simulated Oxford Nanopore reads Each template is located within a subfolder corresponding to its simulation number.

    Figshare: HIV64148 Simulated FASTQ. https://doi.org/10.6084/m9.figshare.25435822 60

    This archive contains simulated reads from NanoSim with template FASTA. Each FASTQ is located within a subfolder corresponding to its simulation number.

    Figshare: HIV64148 QC Simulated FASTQ. https://doi.org/10.6084/m9.figshare.25435912 61

    This archive contains output from NanoPlot describing characteristic of Simulated FASTQ files. Each HTML is located within a subfolder corresponding to its simulation number.

    Figshare: HIV64148 Results. https://doi.org/10.6084/m9.figshare.25435948 64

    This archive contains genome assembly in FASTA, BLAST result in CSV, and HIV64148 report in HTML from 2M, 2C, 1M1C, and 2M1C HIV-1 mixtures, as well as the results from resource usage overtime (CPU, Memory) measured on 3 computational platforms over 7 tools in CSV format.

    Data are available under the terms of the Creative Commons Attribution 4.0 International license (CC-BY 4.0).

    Extended data

    Figshare: HIV64148 Supplementary data. https://doi.org/10.6084/m9.figshare.25436023 54

    This project contains the following extended data:

    Figure S1. The MetaQUAST assessment evaluated contigs from the assemblers processing four median read-length FASTQ inputs: ( A) 1,000-nt, ( B) 2,000-nt, ( C) 3,000-nt, and ( D) 4,000-nt ( Table 3). The x-axis displays the percentage sequence similarity obtained from a BLAST alignment with the corresponding reference genomes, while the y-axis represents the aligned length, indicating the longest continuous alignment between each contig and its reference genome. Dot sizes indicate the genome fraction (%Ref Aligned), calculated as the ratio of continuous aligned bases to the total reference genome length. Subplots above and beside each figure display histograms of the contig counts. Additionally, ( E) shows the averaged genome fraction (%) of contigs from different long-read assembler pipelines. The complete data are available in Extended data, Table S9. 54

    Figure S2. The average completeness of major HIV-1 open reading frames (ORFs) of the contigs generated from the assemblers analyzing FASTQ inputs of 4 median read lengths: ( A) 1,000-nt, ( B) 2,000-nt, ( C) 3,000-nt, or ( D) 4,000-nt.

    Figure S3. Contig size distribution of all assemblers processing the simulated FASTQ inputs of the 4 HIV-1 mixtures.

    Table S1. A list of experimental data and additional information. N/A: not applicable.

    Table S2. A statistical summary of runtime measurements taken from an assembly phase of the pipelines.

    Table S3. The memory usage and maximum CPU utilization of each assembler on three computational systems. The benchmark utilized 100 samples of two HIV-1 group M mixture with 2,000x coverage and 8,000-nt median read length.

    Table S4. The genome statistics of contigs generated from ( A) Full genome laboratory isolate NL4-3, ( B) Mpox propagated in a CV-1 cell line and ( C) Mpox from pustular lesion, and ( D) SARS-CoV-2 data by the selected assemblers.

    Table S5. The genome statistics of contigs generated from ( A) Polio virus, ( B) Hepatitis C virus (HCV), and ( C) ZIKA Virus (ZIKV) data by the selected assemblers.

    Table S6. HIV Combinations for Data Simulation (Excel)

    Table S7. Characteristics of Simulated Samples Readlength Experiment (Excel)

    Table S8. Characteristics of Simulated Samples HIV mixture Experiment (Excel)

    Table S9. An Assembly Evaluation of HIV-1 Read Length Experiment (Excel)

    Table S10. An Assembly Evaluation of HIV-1 Subtype Mixtures Experiment (Excel)

    Table S11. Subtypes Recall Rates (Excel)

    Table S12. REGA Subtyping (Excel)

    Table S13. 5’ Half Genomes of NL4-3 Alignment Statistics (Excel)

    Table S14. Other Viruses Alignment Statistics (Excel)

    All high-resolution figures are available in https://doi.org/10.6084/m9.figshare.25436125.v1. 88

    Data are available under the terms of the Creative Commons Attribution 4.0 International license (CC-BY 4.0).


    Articles from F1000Research are provided here courtesy of F1000 Research Ltd

    RESOURCES