Literature DB >> 30821816

Common workflow language (CWL)-based software pipeline for de novo genome assembly from long- and short-read data.

Pasi K Korhonen1, Ross S Hall1, Neil D Young1, Robin B Gasser1.   

Abstract

BACKGROUND: Here, we created an automated pipeline for the de novoassembly of genomes from Pacific Biosciences long-read and Illumina short-read data using common workflow language (CWL). To evaluate the performance of this pipeline, we assembled the nuclear genomes of the eukaryotes Caenorhabditis elegans (∼100 Mb), Drosophila melanogaster (∼138 Mb), and Plasmodium falciparum (∼23 Mb) directly from publicly accessible nucleotide sequence datasets and assessed the quality of the assemblies against curated reference genomes.
FINDINGS: We showed a dependency of the accuracy of assembly on sequencing technology and GC content and repeatedly achieved assemblies that meet the high standards set by the National Human Genome Research Institute, being applicable to gene prediction and subsequent genomic analyses.
CONCLUSIONS: This CWL pipeline overcomes current challenges of achieving repeatability and reproducibility of assembly results and offers a platform for the re-use of the workflow and the integration of diverse datasets. This workflow is publicly available via GitHub (https://github.com/vetscience/Assemblosis) and is currently applicable to the assembly of haploid and diploid genomes of eukaryotes.
© The Author(s) 2019. Published by Oxford University Press.

Entities:  

Keywords:  genome assembly; repeatability; workflow automation; workflow language

Mesh:

Year:  2019        PMID: 30821816      PMCID: PMC6451199          DOI: 10.1093/gigascience/giz014

Source DB:  PubMed          Journal:  Gigascience        ISSN: 2047-217X            Impact factor:   6.524


Background

The assembly of genomes to chromosomal contiguity for many eukaryotic organisms has turned out to be a daunting task but has been achieved, for instance, for Homo sapiens, Mus musculus, Caenorhabditis elegans, Drosophila melanogaster, and Plasmodium falciparum [1-6]. The reference genomes of these organisms now meet the quality requirements set by the National Human Genome Research Institute (NHGRI-NIH) [7], namely, that the accuracy of the assembled nucleotides is at least 99.99% (≤1 nucleotide error over 10,000 bp), decontaminated contigs (each >30 kb) are ordered to form chromosomes, the sizes of gaps between any two contigs have been estimated, and the completeness of each chromosome is ≥95%. For the first completed genome assemblies (i.e., C. elegans and H. sapiens), effective but costly and time-consuming bacterial artificial chromosome-based Sanger sequencing approaches were used [1, 3]. The use of less expensive, second-generation sequencing technologies [8, 9], such as Illumina [10], led to a rapid expansion in the number of draft genome assemblies for a range of metazoan organisms [11]. However, due to the inability to resolve repetitive DNA regions using short nucleotide read (50–300 bp) datasets [12], draft genomes are typically incomplete, fragmented, and contain mis-assembled regions, all of which constrain gene predictions and any subsequent genomic analyses [9, 13]. Nonetheless, novel draft genomes have opened up exciting new avenues for research on many non-model organisms, including parasites [14-20]. Some of these parasites cause neglected tropical diseases (NTDs), collectively representing a burden ≥1% of disability-adjusted life years per annum worldwide, with a related annual cost of anthelmintic treatment estimated at $3 billion [21]. In addition, resistance to anthelmintic drugs, used in mass drug administration, is a looming threat [22-25]. For these reasons, there is an imperative to advance genomic and systems biological research of these pathogens in order to gain a deep understanding of areas such as parasite biology, parasite-host interactions, disease, and drug resistance. The availability of high-quality genome assemblies is, thus, of utmost importance and could expedite the identification of novel drug targets and the design of advanced interventions (anthelmintics and vaccines) and diagnostic systems for the improved control of NTDs. To enhance assembly quality, the use of long genomic reads (<100 kb in length) produced using third-generation sequencing technologies allows the resolution of long repeat regions and substantially reduces fragmentation [8]. With the use of scaffolding technologies, such as Hi-C [26] and BioNano [27, 28], the gap toward achieving high-quality de novo genome assemblies is closing [29]. The most prominent third-generation sequencing platforms currently available are the Pacific Biosciences (PacBio) single-molecule, real-time sequencer (RS) [30-32] and the in silico nanopore-based MinION and GridION systems from Oxford Nanopore [33]. The error rates in sequences generated using these technologies are ∼ 13% and 5%–40%, respectively [34, 35], and ∼15% for 1D and ∼5% for 1D2 for the latest 2016 Nanopore R9 chemistry, such that substantial sequencing depth is required to resolve sequencing errors [36]. Genomes assembled from sequence data from these platforms typically exhibit high numbers of indels. Depending on sequencing depth, it is common to employ accurate short-read data to validate or resolve inaccuracies in such genomes using a process referred to as “polishing” [29, 36, 37]. The quality and completeness of genome assemblies can be affected by quality and yield of DNA isolated from organisms, such as parasites, and challenges associated with extracting nucleic acids from them [38, 39]. DNA quantity is often limited because of the small size of some parasites and a need to isolate DNA from multiple organisms rather than one. There are often challenges in acquiring material from patients in distant locations, the cost of transport of such materials to a laboratory, and complications relating to microbial contamination, DNA degradation and nicking, co-purification of contaminating constituents, such as carbohydrates and lipids [38-40], and/or unique aspects, such as chromosomal diminution, in some parasites [41]. Clearly, the quality and amount of DNA have a major impact on completeness of a final genome assembly, irrespective of the sequencing technology employed. A suitable computing environment and software tools are essential for producing a high-quality genome assembly. Such tools have dependencies on one another, particularly in terms of running order and software versions, and often require custom scripts for the integration of tools. Therefore, a substantial amount of time and effort is often required to complete a new assembly from scratch. Recently, issues surrounding the repeatability and reproducibility of results and reusability of datasets have been emphasized as being critical for scientific research [42-45], which have been neglected in some fields. Results are (i) repeatable, if the same findings are achieved multiple times using the same data [43]; (ii) reproducible, if the same findings are achieved multiple times using reproduced data [43]; and (iii) reusable, if new results are achieved using new data [42]. There is clear evidence that the repeatability of experiments that use software tools in published, peer-reviewed literature and the reusability of software for new experiments are challenging and/or error-prone [43, 46]; it is thus of prime importance to tackle these pertinent issues. One possible approach would be to employ frameworks, such as SnakeMake [47], Ruffus/Rubra [48], Toil [49], and Rabix [50], or to use the common workflow language (CWL) [51] for workflows [52]. Each of these frameworks can be used to build bioinformatics pipelines, to execute complex tasks through the integration of software tools and the control of execution flow, in order to maximize the use of available computer resources and to ensure the repeatability of an experiment and reusability of a task. For instance, SnakeMake has been used in multiple workflows relating to RNA sequencing analyses [53], and Rubra is used in workflows such as RedDog [54] to infer single-nucleotide polymorphism (SNP) datasets derived from bacterial populations for subsequent phylogenetic analyses. By contrast, CWL defines a specification and offers a reference implementation, instead of providing a complete framework. The major advantage of CWL is its capacity to implement this specification for different computing environments and/or workflow frameworks, and CWL is already available in Toil and Rabix. To automate software installation, CWL supports “pull action” of Docker containers [46] and has beta-implementation for the integration of Bioconda (bioinformatics software package channel) [55]. Docker supports operating system virtualization [46] and has the capacity to form customized “containers” through the installation of particular software components. These containers can be deployed to different platforms, thereby conferring cross-platform portability [46]. Bioconda relies on the universal package manager Conda [56] to build binary software packages for Linux, MacOS, and Windows operating systems, to manage dependencies among software components within these packages, and to install packages locally into an isolated environment [55]. Although BioConda provides Docker containers for individual versions of a software tool to achieve high repeatability, built-in stochasticity of distinct versions has the potential to effect repeatability. CWL can use both Docker and Bioconda to install and run defined versions of software tools without manual intervention. Despite a growing interest in CWL, this framework has not yet gained the popularity that it deserves. Here, employing CWL v1.0, we established an entirely novel, automated genome assembly pipeline [57] that integrates software tools and data from multiple sequencing platforms. This pipeline achieves repeatable and reproducible high-quality genome assemblies for metazoan organisms using PacBio sequence data, followed by “polishing” with Illumina short-read data. The pipeline resolves the dependencies among software packages via well-defined, versioned software packages that are automatically installed and executed at each step in the workflow, as required. This genome assembly pipeline should be broadly applicable in the biological and biomedical sciences.

Results

CWL assembly pipeline

The pipeline executes the programs integrated into the bioinformatics workflow (Fig. 1). First, PacBio reads from HDF5 formatted files that were converted to FASTA formatted files using the program Dextractor. These raw reads were then corrected using multiple rounds of read overlapping [58] and trimmed (e.g., removal of hairpin adapters and chimeric sequences) [36] using the program Canu. Subsequently, reads from potential contaminants (such as viruses, bacteria, and/or other microbes) were removed using the program Centrifuge, and remaining reads were assembled employing the program Canu. Using the program Arrow, PacBio raw reads were then employed to polish the assembly; further polishing was done with Illumina reads using the program Pilon. For polishing, Illumina reads were cleaned using the program Trimmomatic, mapped to the Arrow-polished assembly using the program Bowtie2, and sorted using the program SAMtools. For haplotype removal from the resultant assembly, custom repeat regions were inferred using the program RepeatModeler. The assembly was then masked employing inferred custom repeats, known transposons, and inferred tandem repeats using the program RepeatMasker. Finally, the program HaploMerger2 was used to identify and then remove the duplicated haplotypes from the masked Pilon-polished assembly, resulting in the final de novo-assembled diploid genome. Docker containers used in the pipeline were deposited to DockerHub [46] and automatically deployed using the software udocker. Required software tools were automatically fetched from Bioconda and installed into the target compute environment.
Figure 1:

Diagram illustrates an automated common workflow language (CWL)-based genome assembly pipeline for PacBio long-read and Illumina short-read data. PacBio reads are first pre-processed and then used for assembly and long-read polishing. Illumina reads are cleaned and used to further polish the long-read assembly. Finally, haplotypes are merged in the repeat-masked, polished assembly. While the workflow is running, dependent software tools are automatically deployed from Bioconda package channel and DockerHub container repository. The code for the workflow and the Dockerfiles for the docker containers are stored in a GitHub code-repository.

Diagram illustrates an automated common workflow language (CWL)-based genome assembly pipeline for PacBio long-read and Illumina short-read data. PacBio reads are first pre-processed and then used for assembly and long-read polishing. Illumina reads are cleaned and used to further polish the long-read assembly. Finally, haplotypes are merged in the repeat-masked, polished assembly. While the workflow is running, dependent software tools are automatically deployed from Bioconda package channel and DockerHub container repository. The code for the workflow and the Dockerfiles for the docker containers are stored in a GitHub code-repository.

Pipeline assemblies

Using the CWL assembly pipeline, the reference genomes of C. elegans, D. melanogaster, and P. falciparum were each re-assembled from publicly available PacBio and Illumina datasets (Table 1). Quality metrics were calculated for the resultant assemblies at each phase of the pipeline, i.e., Canu contigs, Arrow-polished contigs, Pilon-polished contigs, and haplo-merged contigs (Tables 2–4). For P. falciparum with haploid DNA [59], the Pilon-polished contigs represented the final assembly.
Table 1:

Statistics for the PacBio long-read and Illumina short-read datasets and for reference genomes of Caenorhabditis elegans, Drosophila melanogaster, and Plasmodium falciparum[a]

Description Caenorhabditis elegans Drosophila melanogaster Plasmodium falciparum
PacBio raw reads (bp)4,726,985,99315,733,529,9285,246,949,826
 read count; average length (bp)411,459; 11,4881,657,183; 9,494515,155; 10,185
PacBio corrected reads (bp)3,795,130,2375,258,127,473653,116,132
 read count; average length (bp)256,228; 14,812279,988; 18,78032,211; 20,276
PacBio trimmed reads (bp)3,644,992,5005,080,646,626600,631,753
 read count; average length (bp)248,954; 14,641271,623; 18,70530,866; 19,459
PacBio contaminated reads (bp)36,479,36620,36950,389
 read count; average length (bp)2,647; 13,7811; 20,3694; 12,597
PacBio decontaminated reads (bp)3,608,513,1345,080,626,257600,581,364
 read count; average length (bp)246,307; 14,651271,622; 18,70530,862; 19,460
Illumina PE raw reads (bp)24,028,252,32042,492,715,00061,074,625,500
 read count; average length (bp)200,235,436; 120424,927,150; 100244,298,502; 250
Illumina PE cleaned reads (bp)16,914,423,47028,126,765,43913,370,453,180
 read count; average length (bp)66,608,171; 112312,148,126; 9087,161,538; 153
Sequencing depth for PacBio raw data47109225
Sequencing depth for trimmed and decontaminated PacBio reads363526
Sequencing depth for Illumina raw reads2402962,625
Sequencing depth for Illumina cleaned reads169196575
Genome size (bp); sequence count100,286,401; 7137,567,484; 823,292,622; 14
Number of N nucleotides; gap count0; 0490,385; 2680; 0
NG90 (bp); LG9013,783,801; 623,513,712; 51,067,971; 12
NG50 (bp); LG5017,493,829; 325,286,936; 31,687,656; 5
GC-content (%)35.4442.0819.34
Complete BUSCO ortholog count9681,653148
Complete single-copy BUSCO ortholog count9621,641148
Complete duplicated BUSCO ortholog count6120
Fragmented BUSCO ortholog count831
Missing BUSCO ortholog count6266
Expected BUSCO ortholog count9821,658215
Length of coding sequences in reference (bp)24,681,65421,683,56212,552,304
Length of non-coding sequences in reference (bp)75,604,747115,883,92210,740,318
Number of reference coding sequences20,08113,9115,515
Estimated repeat content (%); interspersed repeats (%)18.95;18.2020.52;19.0421.84;4.41

a Caenorhabditis elegans (National Center for Biotechnology Information [NCBI] accession identifier SRR2598966; URL [60]), Drosophila melanogaster [61] (NCBI Sequence Read Archive (SRA) accession identifiers SRX499318 and SRR1211256), and Plasmodium falciparum (NCBI SRA accession identifiers SRR3194817–25 and ERR862169–70) [59].

Table 2:

Metrics for the pipeline assemblies of the Caenorhabditis elegans genome against the reference assembly for this species

MetricCanu contigsArrow-polished contigsPilon-polished contigsHaploMerger2- merged contigs
Genome size (bp)104,147,712104,179,922104,199,510102,615,360
Sequence count10010010054
Quast genome fraction (%)97.2997.6497.5697.00
Quast aligned length (bp)98,056,93398,420,85298,371,64697,651,504
Number of Ns (bp); gap count0;00;00;00;0
N(G)90 (bp); L(G)90973,097;34973,604;34973,839;341,058,765;27
N(G)50 (bp); L(G)502,859,879;112,860,369;112,860,908;114,165,666;9
GC content (%)35.4435.4535.4535.44
Repeat content (%); interspersed repeats (%)--20.64;19.3320.41;19.17
Longest sequence (bp)7,357,2487,359,8347,361,19711,799,614
Shortest sequence (bp)8,4358,4358,42916,463
Quast number of translocations; relocations; inversions1;41;141;36;141;38;155;40;13
Quast number of local mis-assemblies891709722696
Quast duplication ratio1.0051.0051.0051.004
Quast mis-matches15,03715,35514,41413,869
Quast indels (≤5 bp; >5 bp)41,302;69821,859;8115,397;7645,325;743
Quast indels length58,77140,68023,33622,772
Quast mis-matches; indels per 100 kbp15.41;43.0415.68;23.1514.73;6.314.26;6.24
GAGE missing reference bases (nt; %)86,628;0.0977,203;0.0876,194;0.08292,272;0.29
GAGE missing assembly bases (nt; %)464,022;0.45582,816;0.56548,487;0.53457,713;0.45
GAGE duplicated reference bases4,962,4814,775,8624,834,8603,510,166
GAGE compressed reference bases596,736586,626595,695712,344
GAGE average identity (%)99.9299.9499.9699.96
GAGE nucleotide mis-matches10,4079,8839,9219,964
GAGE indels (≤5 bp; >5 bp)49,111;52924,590;5265,866;5276,076;528
GAGE number of translocations; relocations; inversions32;270;12935;124;30029;129;30042;132;290
Complete single-copy; duplicated BUSCO ortholog count948;6963;6964;7964;6
Fragmented; missing BUSCO ortholog count21;710;38;38;4
Number of nucleotide mis-matches in; outside CDSs1,209;13,8281,156;14,1991,154;13,2601,222;12,647
Number of indels in; outside CDSs3,580;38,3571,104;21,499177;5,889149;5,825
Number of affected mRNAs; proteins2,877;2,858969;948154;131144;121
Number of non-synonymous; synonymous mutations483;553515;590443;551485;579
Number of in-frame indels101494861
Combined accuracy of mis-matches and indels in coding regions (%)99.98199.99199.99599.994
Combined accuracy of mis-matches and indels in non-coding regions (%)99.78999.85599.92299.925
Table 4a:

Metrics for pipeline assemblies of the Plasmodium falciparum genome against the reference assembly for this species

MetricsCanu contigsArrow-polished contigsPilon-polished contigs
Genome size (bp) (apicoplast removed)23,328,59923,350,83723,350,454
Sequence count (apicoplast removed)141414
Apicoplast genome (bp)*--34,274
Quast genome fraction (%)99.6299.52999.648
Quast aligned length (bp)23,252,84023,248,66323,276,411
Number of Ns (bp); gap count0;00;00;0
N(G)90 (bp); L(G)901,058,353;121,059,223;121,059,208;12
N(G)50 (bp); L(G)501,709,389;51,711,020;51,710,975;5
GC content (%)19.3419.3319.33
Repeat content (%); interspersed repeats (%)--22.45; 6.78
Longest sequence (bp)3,291,3783,294,1043,294,056
Shortest sequence (bp)642,032642,892642,874
Quast number of translocations; relocations; inversions0;2;00;2;00;2;0
Quast number of local mis-assemblies434747
Quast duplication ratio1.0021.0031.003
Quast mis-matches2,2371,2421,503
Quast indels (≤5 bp; >5 bp)14,422;1749,241;1688,783;180
Quast indels length21,04914,43013,977
Quast mis-matches; indels per 100 kbp9.64;62.95.36;40.596.48;38.62
GAGE missing reference bases (nt; %)15,710;0.0715,198;0.0715,333;0.07
GAGE missing assembly bases (nt; %)12,584;0.0512,774;0.0512,658;0.05
GAGE duplicated reference bases112,885281,583193,259
GAGE compressed reference bases122,93489,62589,404
GAGE average identity (%)99.8899.9399.93
GAGE nucleotide mis-matches3,0941,1071,281
GAGE indels (≤5 bp: >5 bp)19,815;15611,923;12811,450;131
GAGE number of translocations; relocations; inversions14;12;935;12;1034;12;11
Complete single-copy; duplicated BUSCO ortholog count147;0148;0148;0
Fragmented; missing BUSCO ortholog count1;671;661;66
Number of nucleotide mis-matches in; outside CDSs420;1,817356;886348;1,155
Number of indels in; outside CDSs1,009;13,577573;8,826486;8,466
Number of affected CDSs732430369
Number of affected mRNAs; proteins711;704420;418362;360
Number of all anomalies15,3949,7129,621
Number of non-synonymous; synonymous mutations233;187189;167179;169
Number of in-frame indels1318461
Combined accuracy of mis-matches and indels in coding regions (%)99.97999.98999.988
Combined accuracy of mis-matches and indels in non-coding regions (%)99.87599.92199.922

*Circlator [67] was used to establish the size of apicoplast genome.

Statistics for the PacBio long-read and Illumina short-read datasets and for reference genomes of Caenorhabditis elegans, Drosophila melanogaster, and Plasmodium falciparum[a] a Caenorhabditis elegans (National Center for Biotechnology Information [NCBI] accession identifier SRR2598966; URL [60]), Drosophila melanogaster [61] (NCBI Sequence Read Archive (SRA) accession identifiers SRX499318 and SRR1211256), and Plasmodium falciparum (NCBI SRA accession identifiers SRR3194817–25 and ERR862169–70) [59]. Metrics for the pipeline assemblies of the Caenorhabditis elegans genome against the reference assembly for this species Metrics for pipeline assemblies of the Drosophila melanogaster genome against the reference assembly for this species Metrics for pipeline assemblies of the Plasmodium falciparum genome against the reference assembly for this species *Circlator [67] was used to establish the size of apicoplast genome. Metrics for unpolished and polished Vembar assemblies of the Plasmodium falciparum genome against the reference assembly Metrics between the Vembar and pipeline assemblies of the Plasmodium falciparum genome

Completeness and contiguity

The final assembly for P. falciparum (23.4 Mb; GC content of 19.33%; no gaps and no unresolved nucleotides) represented complete chromosomes (n = 14) and a complete apicoplast genome (Table 4a). When aligned to the reference (23.3 Mb; GC content of 19.34%; no gaps and no unresolved nucleotides), the assembly had 15.3 kb, 193.3 kb, and 89.4 kb of “missing, duplicated, and compressed reference bases,” respectively (Table 4a). In terms of contiguity and completeness, the Arrow-polished assembly (23.4 Mb) was no different from the Pilon-polished one (Table 4a). For C. elegans, the haplo-merged assembly (102.6 Mb; 54 contigs; NG50 of 4.2 Mb; LG50 of 9; LG90 of 27; GC content of 35.4%; no gaps and no unresolved nucleotides) was slightly larger than the reference (100.3 Mb; 7 chromosomes; no gaps and no unresolved nucleotides), the longest contig being 11.8 Mb (Table 2). Reference-aligned contigs had 292 kb, 3.5 Mb, and 712 kb of missing, duplicated, and compressed reference bases, respectively (Table 2). The Arrow- and Pilon-polished assemblies (104.2 Mb; 100 contigs; NG50 of 2.9 Mb; LG50 of 11; LG90 of 34) were more fragmented than the haplo-merged one, and had 76–77 kb, 4.8 Mb, and 587–596 kb of missing, duplicated, and compressed reference bases, respectively (Table 2). No mitochondrial genome was detected. The haplo-merged assembly of D. melanogaster resulted in 61 contigs (N50 = 13.3 Mb; L50 = 4; L90 = 10; GC content of 42.2%; no gaps or unknown nucleotides) and was markedly smaller (129.7 Mb) than the reference genome (137.6 Mb; 7 chromosomes; 268 gaps and 490,385 unresolved nucleotides), with 4.9 Mb, 3.6 Mb, and 7.6 Mb of missing, duplicated, and compressed reference bases, respectively (Table 3). Both the Arrow- and Pilon-polished assemblies (158.0 Mb; 439 contigs; N50 of 10.7 Mb) had 644–646 kb, 23.2 Mb, and 1.8 Mb of missing, duplicated, and compressed reference bases, respectively, and were much larger and more fragmented than the reference assembly (Table 3).
Table 3:

Metrics for pipeline assemblies of the Drosophila melanogaster genome against the reference assembly for this species

MetricsCanu contigsArrow-polished contigsPilon-polished contigsHaploMerger2- merged contigs
Genome size (bp)157,857,743157,985,917157,986,071129,695,906
Sequence count43943943961
Quast genome fraction (%)97.90798.198.09591.514
Quast aligned length (bp)138,910,049139,294,859139,287,556126,646,721
Number of Ns (bp); gap count0;00;00;00;0
N90 (bp); L90138,987;78139,113;78139,125;781,615,500;10
N50 (bp); L5010,648,637;610,656,889;610,656,888;613,348,143;4
NG90 (bp); LG90105,872;95104,289;96104,289;961,615,500;10
NG50 (bp); LG508,532,606;78,534,347;78,534,351;716,059,280;3
GC content (%)41.6841.6841.6842.17
Repeat content (%); interspersed repeats (%)--30.15;28.8416.54;14.59
Longest sequence (bp)21,669,56221,676,91821,676,91925,791,812
Shortest sequence (bp)2,6882,6882,6887,073
Quast number of translocations; relocations; inversions74;60;274;60;274;60;239;24;0
Quast number of local mis-assemblies610652645313
Quast duplication ratio1.0311.0321.0321.006
Quast mis-matches8,4416,2566,5904,909
Quast indels (≤5 bp; >5 bp)41,716;4028,399;3908,480;3907,222;279
Quast indels length51,45316,76216,91112,871
Quast mis-matches; indels per 100 kbp6.27;31.284.64;6.514.88;6.573.9;5.96
GAGE missing reference bases (nt; %)643,319;0.47644,217;0.47646,300;0.474,913,341;3.57
GAGE missing assembly bases (nt; %)3,608,718;2.293,655,639;2.313,655,348;2.31522,589;0.40
GAGE duplicated reference bases23,437,83123,161,53523,181,3313,623,824
GAGE compressed reference bases1,919,2371,778,2701,783,3427,621,896
GAGE average identity (%)99.9599.9899.9899.98
GAGE nucleotide mis-matches7,2925,6576,6225,459
GAGE indels (≤5 bp; >5 bp)49,597;2739,393;2459,506;2458,825;213
GAGE number of translocations; relocations; inversions14;267;7315;306;7515;306;6996;235;96
Complete single-copy; duplicated BUSCO ortholog count1,618;191,634;191,634;191,639;11
Fragmented; missing BUSCO ortholog count17;42;32;32;6
Number of nucleotide differences in; outside CDSs1,697;6,7441,586;4,6701,502;5,0881,584;3,325
Number of indels in; outside CDSs4,953;37,143157;8,576158;8,656194;7,272
Number of affected mRNAs; proteins2,660;2,640123;105128;109133;120
Number of non-synonymous; synonymous mutations687;650586;612575;539590;604
Number of in-frame indels94524842
Combined accuracy of mis-matches and indels in coding regions (%)99.96999.99299.99299.992
Combined accuracy of mis-matches and indels in non-coding regions (%)99.79899.93999.93799.951
The Benchmarking Universal Single-Copy Orthologs (BUSCO) results for P. falciparum (149 detected orthologs of a total of 216), C. elegans (978 of 982), and D. melanogaster (1,652 of 1,658) were very similar to those of their reference sequences (i.e., 149 of 216, 976 of 978, and 1,656 of 1,658, respectively; Tables 2, 3, and 4a). In comparison to pure Canu assemblies, Arrow mpolishing increased the number of complete BUSCO orthologs from 147 to 148, 952 to 969, and 1,637 to 1,653, respectively, and reduced the fragmented BUSCO orthologs in C. elegans from 21 to 10 and D. melanogaster from 17 to 2 (Tables 2–4). Pilon polishing did not change the total number of BUSCO orthologs detected but did reduce the number of fragmented orthologs by two for C. elegans (Tables 2, 3, and 4a).

Accuracy

For P. falciparum, Quast metrics for the Pilon-polished assembly (nucleotide identity: 99.93%; repeat content: 22.45%, including interspersed repeats: 6.78%) indicated a modest number of mis-assemblies consisting of two relocations; together, 47 local mis-assemblies, 180 large indels, 8,783 small indels, and 1,503 nucleotide mis-matches (Table 4a). In total, 362 mRNAs were predicted to harbor 486 indels and 348 nucleotide differences (179 non-synonymous) in coding regions (12,552,304 bp), inferred to result in a share of 6.5% (360 of 5,515) mutated proteins (Table 4a). Non-coding regions represented by 10,740,318 bp had 8,466 indels and 1,155 nucleotide mis-matches (Table 4a). Arrow polishing with a coverage of 225x PacBio raw data decreased the number of indels in the Canu assembly from 14,596 to 9,409 and nucleotide mis-matches from 2,237 to 1,242 (Table 4a). Pilon polishing (coverage 575x cleaned Illumina reads) had only a minor positive effect on these results, i.e., indels decreased to 8,963, mis-matches increased to 1,503, and proteins predicted to be mutated decreased from 418 to 360 (Table 4a). Using the Pilon-polished assembly, results achieved for Quast and Genome Assembly Gold-Standard Evaluation (GAGE) (translocations [n = 34], relocations [n = 12], inversions [n = 11], 131 large indels, 11,450 small indels, and 1,281 nucleotide differences) were similar (cf. Table 4a). For C. elegans, the haplo-merged assembly (identity: 99.96%; repeat content: 20.41%, including interspersed repeats: 19.17%) resulted in 561 mis-assemblies (5 translocation, 40 relocations, and 13 inversions), 696 local mis-assemblies, 743 large indels, 5,325 small indels, and 13,869 nucleotide mis-matches (Table 2). In coding regions (24,681,654 bp), there were 149 indels and 1,222 nucleotide mis-matches (485 non-synonymous) that were inferred to affect 144 mRNAs and to alter a share of 0.60% (121 of 20,081) proteins, whereas non-coding regions (75,604,747 bp) had 5,825 indels and 12,647 nucleotide mis-matches (Table 2). Arrow polishing with PacBio reads at a coverage of 47x resulted in a substantial reduction in the number of indels (42,000 to 22,670) and a minor increase in nucleotide differences (15,037 to 15,355) (Table 2). Pilon polishing (coverage: 169x of cleaned Illumina reads) substantially reduced further the number of indels to 6,161 and slightly reduced the nucleotide mis-matches to 14,414, reducing the number of proteins predicted to be mutated from 948 to 131 (Table 2). GAGE metrics for the haplo-merged assembly differed, with 42 translocations, 132 relocations, 290 inversions, 528 large indels,,076 small indels, and 9,964 nucleotide mis-matches recorded (Table 2). For D. melanogaster, the haplo-merged assembly (identity: 99.98%; repeat content: 16.54% including interspersed repeats: 14.59%) had 63 mis-assemblies (39 translocations, 24 relocations, and no inversions), 313 local mis-assemblies, 279 large indels, 7,222 small indels, and 4,909 nucleotide mis-matches (Table 3). In coding regions (21,683,562 bp), there were 194 indels and 1,584 nucleotide mis-matches (590 non-synonymous), inferred to affect the 133 mRNA sequences, resulting in share of 0.86% (120/13,911) altered protein sequences (Table 3). In non-coding regions (115,883,922 bp), 7,272 indels and 3,325 nucleotide mis-matches were detected. Arrow polishing with PacBio reads (109x coverage) largely reduced the number of indels from 42,118 to 8,789 and nucleotide mis-matches from 8,441 to 6,256 (Table 3). Pilon polishing slightly increased the number of indels to 8,870, of mis-matches to 6,590, and of altered protein sequences from 105 to 109 (Table 3). GAGE metrics of the haplo-merged assembly resulted in 96 translocations, 235 relocations, 96 inversions, 213 large indels, 8,825 small indels, and 5,459 mis-matches (Table 3). In the Arrow-polished pipeline assembly for P. falciparum, it was 18.0-fold more likely to observe indels in non-coding (8,826 indels/10 ,740,318 bp) than in coding regions (573 indels/12,552,304 bp) (Tables 1 and 4a). For D. melanogaster, this likelihood was 10.2-fold (8,576 indels/115,883,922 bp in non-coding vs 157 indels/21,683,562 bp in coding regions) and 6.4-fold for C. elegans (21,499 indels/75,604,747 bp in non-coding vs 1,104 indels/24,681,654 bp in coding regions) (Tables 1–3). For Pilon-polished pipeline assemblies, the likelihoods were 20.4, 10.3, and 10.9, respectively.

Vembar assembly for P. falciparum

When compared with the reference assembly, the Vembar assembly resulted in 1,233 nucleotide mis-matches, 546 large indels, and 31,261 small indels (Table 4b). For the Arrow-polished Vembar assembly, the number of nucleotide differences increased slightly (n = 1,396), but the number of large (n = 213) and small (n = 9,391) indels was substantially reduced (Table 4b). The comparison of the Arrow-polished pipeline assembly to the Vembar assembly resulted in a modest number of nucleotide mis-matches (n = 458 bp), but in a high number of large (n = 338) and small (n = 28,473) indels (Table 4c). For the Pilon-polished pipeline assembly, the numbers were similar (n = 443 mis-matches; n = 336 large indels; n = 28,490 small indels) when compared with the Vembar assembly (Table 4c). However, the numbers of nucleotide differences (n = 368) and large (n = 154) and small (n = 3901) indels were small when the Arrow-polished Vembar assembly and the Arrow-polished pipeline assembly were compared (Table 4c). Both the Vembar assembly and Arrow-polished pipeline assembly shared 8,947 indels and 2,007 nucleotide differences in the same locations in the reference genome. For the Vembar assembly, it was 7.7-fold more likely for indels to be observed in non-coding (27,619 indels/10,987,349 bp) than in coding regions (4,172 indels/12,282,956 bp) (Tables 1 and 4a). The numbers of BUSCO orthologs detected were 142, 147, and 147 for the Vembar, Arrow-polished, and Pilon-polished Vembar assemblies, respectively (Table 4b).
Table 4b:

Metrics for unpolished and polished Vembar assemblies of the Plasmodium falciparum genome against the reference assembly

MetricsVembar assemblyArrow-polished Vembar assemblyPilon-polished Vembar assembly
Genome size (bp) (apicoplast removed)23,556,15623,527,67123,548,582
Sequence count (apicoplast removed)202020
Quast genome fraction (%)98.96599.21498.526
Quast aligned length (bp)23,203,41923,233,19823,093,770
Number of Ns (bp); gap count0;00;00;0
N(G)90 (bp); L(G)901,063,883;121,062,674;121,063,566;12
N(G)50 (bp); L(G)501,712,288;51,710,421;51,711,745;5
GC content (%)19.3719.419.37
Longest sequence (bp)3,299,8353,294,9733,298,759
Shortest sequence (bp)24,13824,22024,138
Quast number of translocations; relocations; inversions0;3;00;2;00;3;0
Quast number of local mis-assemblies464345
Quast duplication ratio1.0071.0051.006
Quast mis-matches1,2331,3961,365
Quast indels (≤5 bp; >5 bp)31,261;5469,391;21323,638;533
Quast indels length52,96215,73144,775
Quast mis-matches; indels per 100 kbp5.35;137.986.04;41.565.95;105.32
GAGE missing reference bases (nt; %)9,435;0.043,215;0.019,185;0.04
GAGE missing assembly bases (nt; %)48,492;0.21101,507;0.4348,137;0.20
GAGE duplicated reference bases239,012330,347219,507
GAGE compressed reference bases146,95497,331172,885
GAGE average identity (%)99.7699.9299.79
GAGE nucleotide mis-matches2,5021,1972,010
GAGE indels (≤5 bp: >5 bp)47,266;47713,187;16138,900;478
GAGE number of translocations; relocations; inversions69;29;1139;20;961;23;10
Complete single-copy; duplicated BUSCO ortholog count141;0146;0146;0
Fragmented; missing BUSCO ortholog count1;731;681;68
Number of nucleotide mis-matches in; outside CDSs442;791383;1,013449;916
Number of indels in; outside CDSs4,172;27,619669;8,9251,748;22,403
Number of affected CDSs2,0994651,040
Number of affected mRNAs; proteins1,949;1,947457;4541,001;999
Number of all anomalies28,4109,93823,319
Number of non-synonymous; synonymous mutations252;190209;174252;197
Number of in-frame indels26895169
Combined accuracy of mis-matches and indels in coding regions (%)99.97899.98899.984
Combined accuracy of mis-matches and indels in non-coding regions (%)99.76999.91999.810
Table 4c:

Metrics between the Vembar and pipeline assemblies of the Plasmodium falciparum genome

MetricsPilon-polished contigs vs. Vembar assemblyArrow-polished contigs vs. Vembar assemblyArrow-polished Vembar assembly vs. Vembar assemblyArrow-polished Vembar assembly vs. Arrow-polished contigs
Genome size (bp)23,350,45423,350,83723,527,67123,350,837
Sequence count14142014
Quast genome fraction (%)99.19699.19699.63899.206
Quast aligned length (bp)23,331,62523,332,00723,455,14523,342,276
Number of Ns (bp); gap count0;00;00;00;0
N(G)90 (bp); L(G)901,059,208;121,059,223;121,062,674;121,059,223;12
N(G)50 (bp); L(G)501,710,975;51,711,020;51,710,421;51,711,020;5
GC content (%)19.3319.3319.419.33
Longest sequence (bp)3,294,0563,294,1043,294,9733,294,104
Shortest sequence (bp)642,874642,89224,220642,892
Quast number of translocation; relocation; inversions2;4;01;0;00;0;01;1;0
Quast number of local mis-assemblies8973
Quast duplication ratio0.9990.99911
Quast mis-matches443458645368
Quast indels (≤5 bp; >5 bp)28,490;33628,437;33827,555;3143,901;154
Quast indels length41,79041,73639,9987,753
Quast mis-matches; indels per 100 kbp2.09;122.051.96;123.152.75;118.741.58;17.37
GAGE missing reference bases (nt/%)45,726/0.1945,177/0.193,275/0.0140,737/0.17
GAGE missing assembly bases (nt/%)3,742/0.023,524/0.023,191/0.011,022/0.00
GAGE duplicated reference bases30,23829,012122,70641,521
GAGE compressed reference bases213,158200,144120,450782,798
GAGE average identity (%)99.8199.8199.8299.97
GAGE nucleotide mis-matches399414694180
GAGE indels (≤5 bp; >5 bp)39,377;21339,755;21238,586;1835,923;43
GAGE number of translocation; relocations; inversions49;20;146;16;132;15;035;8;2
Complete BUSCOs148148146148
Complete single-copy; duplicated BUSCO ortholog count148;0148;0146;0148;0
Fragmented; missing BUSCO ortholog count1;661;661;681;66

Indel correlations

For P. falciparum, the genomic locations with indels correlated positively with positions of nucleotide differences, repeat regions, and gaps in mapping coverage and correlated negatively with coding regions, GC content, and Illumina-mapping coverage (Fig. 2). Although not as pronounced, a similar pattern was observed in both C. elegans and D. melanogaster (Fig. 2). None of the assemblies showed a clear distinction in correlation between PacBio sequencing depth and coding and/or repeat regions (Fig. 2). Telomeric regions, being at the ends of the chromosomes of P. falciparum, were clearly visible based on an abundance of repeats and a lack of coding sequences (Fig. 2).
Figure 2:

Correlation diagrams of indels are illustrated for one chromosome of each reference genome reassembled. The columns represent Caenorhabditis elegans, Drosophila melanogaster, and Plasmodium falciparum, from left to right. The y-axis on left side represents the data to correlate with indels (gray bars and smoothened black line), whereas red bars and blue bars on the right side represent positive and negative correlations, respectively. Clearly, the regions around indels correlate with those around nucleotide differences, repeat regions, non-coding non-repeat regions, and gaps in Illumina coverage. In contrast, regions around GC content, coding regions, and Illumina coverage correlate negatively to those around indels. As expected, due to lack of context bias, PacBio coverage does not show clear correlation to indels and have only few low coverage regions in these chromosomes. The correlation patterns for C. elegans and D. melanogaster follow those of P. falciparum, although they are not as conspicuous.

Correlation diagrams of indels are illustrated for one chromosome of each reference genome reassembled. The columns represent Caenorhabditis elegans, Drosophila melanogaster, and Plasmodium falciparum, from left to right. The y-axis on left side represents the data to correlate with indels (gray bars and smoothened black line), whereas red bars and blue bars on the right side represent positive and negative correlations, respectively. Clearly, the regions around indels correlate with those around nucleotide differences, repeat regions, non-coding non-repeat regions, and gaps in Illumina coverage. In contrast, regions around GC content, coding regions, and Illumina coverage correlate negatively to those around indels. As expected, due to lack of context bias, PacBio coverage does not show clear correlation to indels and have only few low coverage regions in these chromosomes. The correlation patterns for C. elegans and D. melanogaster follow those of P. falciparum, although they are not as conspicuous.

Discussion

In the present study, we demonstrate unequivocally that CWL is a language to clearly describe a workflow and develop a fully automated pipeline with capacities to parallelize its execution, to define dependencies to the order of execution, and to automatically install versioned software packages. Therefore, CWL offers a practical and convenient way for researchers to obtain repeatable and reproducible results from bioinformatics experiments for subsequent scientific publications. This language is highly suited to different compute environments for integration, the reuse of diverse datasets, and repeating or reproducing results reported from previous experiments (using CWL) published in the peer-reviewed literature. Current reference implementation of CWL does not scale to distributed compute systems but is usable on servers configured with multiple central processing units (CPUs). For the present assembly workflow, the use of software tools directly from Bioconda was preferred [62], and Docker containers were only created for custom scripts or if a tool was not available in Bioconda or dysfunctional. For instance, it was not possible to use RepeatModeler via Bioconda because the latest RepeatLibrary from RepBase could not be installed in that version. The integration of RepeatModeler with a Docker container resolved this issue. Thus, CWL allows an efficient integration of alternative tools and extensions, such as assemblers and new scaffolding tools. Despite the successful creation of the present assembly workflow, CWL v1.0 has some limitations. The essential feature of container integration currently supports only Docker containers and, thus, can pose a serious security risk in a multi-user computing environment, such as high-performance computing (HPC) systems [63-65]. The container processes are spawned from a root-owned Docker daemon and, consequently, executed as a root, thus escaping policies to the privileged usage of resources and controls [64, 65], which may lead to “container escape attacks” [63]. For example, knowing that Docker daemon communicates either using a Unix- or TCP-socket and that the Unix socket typically has root: docker (user: group) rights, users who belong to the docker-group are granted root rights to resources such as file systems, communication protocols, and mounting, thereby exposing the environment to malicious and/or accidental mis-uses [63]. The possible case of daemon communicating via a TCP socket would allow misuse from outside of the server through an internet connection, if not appropriately configured [63]. The distribution of Docker images, for instance, from DockerHub, has the potential to lead to the distribution of malicious Dockerfiles through a compromised GitHub account [63]. The latter issue can be prevented by uploading docker images directly to DockerHub or by disabling the update-link between GitHub and DockerHub. CWL implementation addresses the security issue related to root rights by enforcing the user and group identifiers to those of the current user in Docker execution. However, a security risk still remains, because Docker containers can be used in non-CWL contexts and, therefore, should not be installed into a multi-user HPC environment. This security issue can be addressed in CWL by extending support to containers, such as the open source effort called Singularity [65], or by using an alternative Docker implementation, such as rootless udocker, which was shown to be successful in the present study. In addition to security aspects, minor issues relating to the use of CWL were encountered. For instance, CWL enforces read-only access to the file system inside a Docker container, thereby creating unnecessary complexity when using some tools, such as SmrtLink. Specifically, in SmrtLink, the creation of reference genomes in the file system is hardcoded. Therefore, it would be advisable for CWL to allow the user to pre-define directories with write-access inside the container. The latter restriction does not exist when udocker is used, leading to a compatibility issue. Regarding the workflow definition, the order of execution relies on the resultant data from the previous step to be consumed in the next one, sometimes enforcing workarounds, such as “expression tool” for file indexing; therefore, alternative methods are needed to address these dependencies. Finally, support for alternative workflow paths would facilitate the creation of versatile and adaptive workflows. Using the present CWL-based assembly workflow, all three genome assemblies were completed successfully. Metrics from the evaluation methods Quast and GAGE were used to compare the CWL-based assemblies to respective, high-quality reference genomes (Tables 2–4a; Fig. 2). To avoid false reports on mis-assemblies, particularly those caused by transposons, key parameters were set at twice the minimum read length of 6 kb [66] for the aligned sequences and 99.5% for the alignment accuracy. For Quast metrics, these parameter settings linked events, such as transposon insertion and deletion, to local mis-assemblies instead of relocations or translocations. In addition, it needs to be acknowledged that some degree of built-in stochasticity in the programs is to be expected, such that resultant assemblies might differ slightly when the workflow is repeated. The assembly of the smallest genome (23 Mb; P. falciparum) using a PacBio sequence coverage of 225 (Table 1) achieved chromosomal contiguity and also yielded the whole apicoplast genome. The circular nature of the apicoplast genome was not recognized by the program Canu and, thus, needed processing with the program Circlator [67] to circularize it. For the P. falciparum datasets used herein, DNA was derived from infected human erythrocytes [59], which likely predominantly contained (haploid) merozoites from an in vitro culture; thus, the program Haplomerger2 was not applied to the assembly. The original laboratory strain 3D7 of P. falciparum was isolated from a patient in the Netherlands in 1987 [68] and is maintained and propagated by continuous in vitro culture [69]. Using MicroArray technologies, employing a coverage of 76% for the coding and 41% for the non-coding regions, Bopp and coworkers [70] demonstrated that the genome of P. falciparum was relatively stable, showing only 58 small nucleotide variants the parental 3D7 clone relative to the 3D7 reference genome published in 2002 [6]. Mutation and structural variation rates were estimated at 1.7 × 10−9 and 4.7 × 10−6 per nucleotide per generation, respectively [70]. Therefore, minor deviations from the reference genome were expected in the present pipeline assemblies. The Quast metrics for the Arrow-polished pipeline against the Vembar assembly (i.e., polished using the program Arrow) showed only one mis-assembly and nine local mis-assemblies, and the number of nucleotide mis-matches (n = 458; 1.96 per 100 kb) was comparable with an estimated nucleotide accuracy of 99.999% [59]. However, the number of indels (n = 28,775; 123 per 100 kb) raised some questions. From the correlation diagrams, using the reference assembly, it was evident that indels correlated positively to AT-rich non-coding regions and negatively to less AT-rich coding regions (Fig. 2). This information suggests that AT-rich regions are vulnerable to indels, supported by a likelihood of 18.0-fold to observe indels in non-coding rather than in coding regions for the Arrow-polished pipeline assembly, and 7.7-fold for the Vembar assembly (polished using the program Quiver [71], the predecessor of the program Arrow). To further clarify this aspect, we showed that both assemblies shared a substantial number of indels (n = 8,947) and nucleotide differences (n = 2,007) in the exact same locations in the reference genome, therefore, suggesting that discrepancies might represent accumulated mutation events as a consequence of continuous in vitro culture of P. falciparum. The comparison of these assemblies to the reference genome revealed slightly less nucleotide differences (n = 1,233; 5.35 per 100 kb) and more indels (n = 31,807; 138 per 100 kb) in the Vembar assembly than in the pipeline assembly (n = 1,242, i.e., 5.36 per 100 kb for nucleotide differences, and n = 9,409, i.e., 40.59 per 100 kb for indels), suggesting a better compliance of the latter assembly with the reference genome. Interestingly, the Arrow-polished Vembar assembly resulted in a reduced number of indels with respect to both the reference genome (n = 9,604; 41.56 per 100 kb) and the Arrow-polished pipeline assembly (n = 4,055; 17.37 in 100 kb). Taken together, this information suggests a difference in the efficiency of polishing between the Quiver-polished Vembar assembly and the Arrow-polished pipeline assembly. This difference is likely due to the use of corrected reads for the polishing of the Vembar assembly, as raw reads were used for the Arrow-polished pipeline assembly. This insight suggests that substantial sequencing depth (≥100) of raw reads is beneficial compared with a limited depth of corrected reads. This observation supports the assumption in which high sequencing depth results in increased accuracy in a consensus sequence due to the elimination of erroneous base calls (random error rate of 11%, no sequence context bias) from PacBio data [72]. Indeed, PacBio-coverage of mapped raw reads shows neither a clear correlation pattern for coding nor for non-coding regions (Fig. 2), supporting the assumed absence of a sequence context bias and the proposal for the use of raw reads for polishing. The N2 strain of C. elegans was originally collected in 1951 near Bristol, England [73], and was propagated in culture for about 300 to 2,000 generations from 1951 to 1969 [73] before cryogenic preservation was applied for storage. The use of this strain around the world is likely to be associated with phenotypic differences in the worm among laboratories linked to genetic change over time [73]. For D. melanogaster, the iso-1 laboratory strain [74] used for reference genome assembly was sequenced from libraries in 1990, 1998, and 1999, and differences among sequences assembled from these libraries were detected during the creation of a third version of the reference assembly [75].  Based on this information, mutation events are expected to be detected in both reference genomes of both of these model organisms. The vulnerability to indels in Pilon-polished pipeline assemblies is reflected in likelihoods of 10.9-fold to encounter indels in non-coding rather than coding regions in C. elegans, and 10.3-fold in D. melanogaster, similar to 20.4-fold for P. falciparum. For C. elegans and D. melanogaster, the correlation patterns for indels in coding vs non-coding regions resemble those for P. falciparum, although they are less conspicuous (cf. Fig. 2). As expected, Illumina read-coverage gaps correlate positively to indels, which correlate negatively to coding and positively to non-coding regions (cf. Fig. 2), indicating low read-coverage in non-coding regions and suggesting low resolution of AT-rich sequences. These findings suggest that Pilon-based polishing is more efficient in coding than in non-coding regions. This aspect was demonstrated for the Vembar assembly of P. falciparum data by a greater reduction in indel number in coding regions (n = 4,172 to 1,748; ratio: 2.38) than in non-coding regions (n = 27,619 to 22,403; ratio: 1.23). In addition, for C. elegans, the Pilon-polished assembly had similarly reduced indel numbers in coding regions (n = 1,104 to 177; ratio: 6.24) compared with non-coding regions (n = 21,499 to 5,889; ratio: 3.65) in the Arrow-polished assembly. However, Pilon-based polishing altered only slightly the numbers of indels in the pipeline assemblies for P. falciparum and D. melanogaster. This is likely due to the high coverage of PacBio raw data for P. falciparum (n = 225x) and D. melanogaster (n = 109x) in comparison to C. elegans (n = 47x), supporting the beneficial effect of substantial sequencing coverage of PacBio data on observed indels [36]. Neither Arrow- nor Pilon-polishing had a major effect on nucleotide mis-matches in any of the three assembled genomes; for the pipeline assemblies (Canu, Arrow-polished, Pilon-polished, and HaploMerger2-merged), C. elegans had between 13,869 and 15,355 mis-matches, D. melanogaster had between 4,909 and 8,441, and P. falciparum had between 1,242 and 2,237 mis-matches. A putative dependency of indels and nucleotide differences on gene predictions was reflected in the BUSCO results, in which an increase in the number of complete BUSCO orthologs was recorded following Arrow polishing for C. elegans (n = 954 to 969), D. melanogaster (n = 1,637 to 1,653), and P. falciparum (n = 147 to 148). This pattern was reflected also in the numbers of affected mRNA/conceptually translated protein sequences, i.e., 2,877/2,858 to 969/948, 2,660/2,640 to 123/105 and 711/704 to 420/418, respectively. Pilon-polishing improved the BUSCO result only for C. elegans (n = 969 to 971). Combined with the observed lack of sequence context bias for PacBio data in correlation diagrams (Fig. 2), the likelihood of encountering indels in coding vs non-coding regions (for all three organisms) strongly supported the existence of mutation events, as expected based on the origins and culturing conditions/environments/techniques used for each of these model organisms. These observations demonstrate a challenge to accurately assemble AT-rich regions. In terms of reference quality, the completeness of the genomes of C. elegans (97.0%) and P. falciparum (99.6%) is clearly >95%, but D. melanogaster (91.5%) was incomplete. The latter finding is likely due to a substantial interspersed repeat content in the Pilon-polished assembly for D. melanogaster (28.8%) compared with that of the reference genome (19.0%) and this content's influence on the performance of the program HaploMerger2. The number of mis-assemblies reduced substantially (from 136 to 63), as did the predicted size of the genome (from 158.0 to 129.7 Mb) and its completeness (98.1% to 91.5%). For D. melanogaster, the high interspersed repeat content is likely due to the use of pooled male iso1 flies (n = 1950) for the original DNA extraction for sequencing [61], and HaploMerger2 has likely compressed the interspersed repeat content (14.6%) to less than that of the reference (19.0%). For C. elegans, the increase in observed translocations (from 1 to 5), following the application of HaploMerger2, suggests an impaired detection of haplotypic sequences. For these reasons, being able to use sequence reads in HaploMerger2 might help create more confident results and could support the assembly of polyploid genomes, such as that of the parasitic nematode Haemonchus contortus [76]. For C. elegans and D. melanogaster, contigs did not represent complete chromosomes, which emphasizes the need for scaffolding technologies, such as Hi-C and/or BioNano. Limited amounts of sub-optimal quality DNA from invertebrates, including parasites [38-40], can often lead to fragmented DNA, ultimately resulting in gaps in assembled sequences [9]. Therefore, the role of scaffolding technologies is of critical importance to achieve chromosomal contiguity. The program BUSCO, conventionally used to assess the completeness of genome assemblies, was utilized here to evaluate gene completeness of the present assemblies in relation to the reference genomes. For P. falciparum, gene completeness (68.4% to 68.8%) was low compared with C. elegans (98.8%) and D. melanogaster (99.6%). This low value for P. falciparum is misleading, as it relates to an inadequate representation in BUSCO of data for protistan taxa, which are closely related to P. falciparum. For the pipeline assemblies of both C. elegans and P. falciparum, the gene completeness was slightly better than that of respective reference genomes. The requirement for an accuracy of ≥99.99% [7] is somewhat debatable for de novo assemblies produced using the present CWL pipeline, because the number of accumulated mutation events (over time) is not known. The highest accuracy (>99.99%) was achieved for coding regions vis-à-vis non-coding regions (>99.9%; <99.99%) (Tables 2–4). For P. falciparum, the numbers of mis-assemblies (n = 2) and local mis-assemblies (n = 47) in the Pilon-polished pipeline assembly vs the reference assembly was low; while some of these mis-assemblies are genuine, others might be “false positives” caused by repetitive regions or mitotic, homologous recombination events occurring in cell culture. For C. elegans and D. melanogaster, the numbers of mis-assemblies (n = 58, n = 63, respectively) and local mis-assemblies (n = 696, n = 313, respectively) were clearly higher than those in P. falciparum. The runtimes required to assemble genomes depend largely on genome size, amount of genomic data, and the characteristics of the genome, such as GC and repeat contents. Therefore, the runtime does not always follow the size of the genome. Here, runtimes were 424, 1,537, and 6,501 CPU hours for the genomes of P. falciparum, C. elegans, and D. melanogaster, respectively. The respective calendar time is dependent on the server configuration, such as the number of CPUs, and the pipeline can be readily expanded to HPC clusters in the future. The RAM usage peaked at 132.1 GB for all three assemblies when the program Centrifuge loaded NCBI NT database into heap memory.

Conclusions

Our aim in this study was to produce and evaluate the capacity of CWL to define a repeatable, reproducible, and reusable bioinformatics workflow for genome assembly. This pipeline was assessed for the de novo assembly of eukaryotic genomes of ∼23–138 Mb employing PacBio long-read and Illumina short-read data. It has also been used to assemble genomes of ∼300 Mb in shorter run times than for the D. melanogaster genome (138 Mb), using similar data coverage, which indicates that it will be applicable to larger genomes. Clearly, CWL achieved our aim, and using high-quality DNA with high sequencing depth, the present pipeline produced near reference-quality assemblies using PacBio data alone. However, when PacBio sequencing depth was moderate, such as for C. elegans, the use of additional short-read data (in this case, Illumina) during “polishing” gained increased relevance. In pursuit of chromosomal completeness, the fragmentation remaining within the de novo assembled genomes of C. elegans and D. melanogaster, and the known challenges associated with acquiring high-quality DNA from some invertebrates will likely benefit from the integration of data obtained via Hi-C and BioNano scaffolding technologies. Clearly, CWL supports the integration of additional software tools, including those required for scaffolding. To further improve versatility, security, and the use of CWL in multi-user HPC systems, CWL will likely support alternative paths and secure containers in informatics workflows. Using this CWL pipeline, differences from the reference genome, including possible insertion/deletion events, were more prevalent in non-coding than coding regions. This finding contrasts with the expected lack of sequence context bias of PacBio data, such that it is not clear to what extent these indels and/or other differences represent mutations resulting from evolutionary processes or assembly errors and how they might impact on inferred gene structure and function. Clearly, further research is required to address such issues. Taken together, the results of this study show that this newly developed automated CWL workflow delivers genome assemblies of the high quality expected by NHGRI-NIH and the scientific community, to underpin confident gene predictions and ensuing postgenomic analyses in many areas, including functional genomics, population genomics, evolutionary biology, drug and vaccine discovery, and drug resistance.

Methods

Reference data acquisition

Publicly available PacBio RS II long-read and Illumina short-read data were acquired (15 October 2017) for Caenorhabditis elegans—Bristol (N2) strain (NCBI accession identifier SRR2598966; URL60]), Drosophila melanogaster—isogenic iso-1 strain (mutations: yellow,  cinnabar,  brown,  speck) [61] (NCBI SRA accession identifiers SRX499318 and SRR1211256), and Plasmodium falciparum3D7 strain (NCBI SRA accession identifiers SRR3194817–25 and ERR862169–70) [59]. For P. falciparum, the assembly from Vembar et al. [59] (designated here as the “Vembar” assembly), based on this PacBio data, was obtained from the European Nucleotide Archive PRJEB11803. The accession identifiers for the reference (genome) assemblies and gene models (GFF files) from NCBI are GCA_0 00002985.6, GCA_0 00001215.4, and GCF_0 00002765.4, respectively. Caenorhabditis elegans and D. melanogaster reference assemblies included mitochondrial genomes, and the P. falciparum reference assembly contained an apicoplast genome. Patch-sequences were removed from the D. melanogaster reference assembly. This pipeline follows the syntax specified in CWL v1.0 [51]. Separate text files were written for each software tool using CommandLineTool syntax. The tools have been integrated into ordered workflow steps in a single text file using Workflow syntax. Workflow is operated using the program cwl-runner within the reference implementation v1.0.20180403145700 [51]. For the automated installation of software tools, the package manager, Bioconda [55], was employed with python library galaxy-lib v18.5.7 [77]. Docker containers [46] were created either for custom scripts or when Software tools in Bioconda were unavailable or not usable. The execution order of workflow steps was defined using dependencies between the data produced and those consumed at each step, and “scatter feature” was applied to facilitate parallel execution. Essential results and log data were directed to resultant output files. This pipeline requires the program udocker v1.1.1 [64] to pull and execute Docker containers and integrates the software tools Dextractor v1.0 [78] and Trimmomatic v0.36 (Trimmomatic, RRID:SCR_011848) [79] for pre-processing; Centrifuge v1.0.3 [80] for the removal of contaminating PacBio sequences (decontamination; Table 1); Canu v1.6 (Canu, RRID:SCR_015880) [36] and Arrow in SmrtLink v5.0.1 [58] for long-read assembly and polishing; Bowtie 2 v2.2.8 (Bowtie, RRID:SCR_005476) [81], SAMtools v1.6 (SAMTOOLS, RRID:SCR_002105) [82], and Pilon v1.22 (Pilon, RRID:SCR_014731) [83] for short-read polishing; and RepeatMasker v4.0.6 (RepeatMasker, RRID:SCR_012954) [84], RepeatModeler v1.0.11 (RepeatModeler, RRID:SCR_015027) [85], RepBase v17.02 [86], and HaploMerger2 (build_20 160 512; [87]) for the removal of duplicated haplotypes. The resultant assemblies were designated as pipeline assemblies.

Assembly quality

To assess accuracy and nucleotide differences, resultant de novo assemblies were compared with the respective reference assemblies using the program Quast v4.6.3 (QUAST, RRID:SCR_001228) [88] employing both embedded scripts for GAGE [89] and the program MUMMER v3.23 [90]. Within the program Quast, parameters –min-identity = 99.5% and –extensive-mis-size = 12 000 (twice the minimum required read-length of 6,000 bp) were used to minimize false reports of mis-assemblies from repetitive DNA sequences, such as translocations, relocations, and inversions. For translocations, the flanking regions of a sequence align to different chromosomes; for relocations, the flanking regions align >12 kb further apart from one another than expected, or overlap by the same length within the same chromosome; for inversions, the flanking regions align to opposite strands of the same chromosome [88]. Recorded were also local mis-assemblies of 85 bp < apart/overlap < 12 kb on the same strand and chromosome; large indels of >5 and ≤85 bp; and small indels of ≤5 bp [88, 91]. Custom scripts [92] were created to count indels and nucleotide mis-matches in both coding and non-coding regions. These scripts used the reference assemblies, reference gene models in GFF format, and SNP files produced by the program Quast. Co-locations of indels and nucleotide differences between an assembly and a reference genome were calculated using the scripts “colocation.sh.” The program BUSCO v3 (BUSCO, RRID:SCR_015008) [93] was employed to establish presence/absence of expected eukaryotic core genes in each taxonomic lineage as well as the completeness of each assembly. The BUSCO lineage designations “nematode,” “insect,” and “protist” were used for C. elegans, D. melanogaster, and P. falciparum, respectively. A workflow was included to produce all relevant assembly metrics [92]. Mitochondrial and apicoplast sequences were manually identified and removed prior to calculating these metrics for the (i) Canu, (ii) Arrow-polished, (iii) Pilon-polished, and (iv) HaploMerger2-merged pipeline assemblies.

Correlation of indels to assembly features

To illustrate the relationship of indels to features in a reference assembly, correlation diagrams were generated for the length of each reference chromosome. To achieve this, (i) observed indels and nucleotide differences, coverage, and gaps of coverage for mapped PacBio and Illumina reads were positioned to the reference chromosomes. Then, (ii) coding regions, predicted repeat regions, and remaining non-coding regions were identified in the same chromosomes. For features in (i) and (ii), nucleotide counts matching each feature were summed up along the chromosome for each 100–1,000 bp-sliding window at 50–500 bp-steps. Resultant counts were then used to calculate the average correlation for 200 consecutive counts for a pair of features in 50–500 bp steps spanning 10–100 kb, resulting in a correlation vector for each chromosome. Correlations were calculated using the R programming language [94], and the vectors were illustrated using the R package ggplot2 (ggplot2, RRID:SCR_014601) [95].

Availability of source code and requirements

Project name: Assemblosis Project home page: https://github.com/vetscience/Assemblosis Operating system(s): Linux-based systems (CentOS Linux release 7.2.1511) Programming language: CWL v1.0, Python 2, Bash Other requirements: Version “v0.0.6-publication” is linked to this publication License: BSD-3-Clause RRID:SCR_016571

Availability of supporting data

Output assemblies, BUSCO results, and snapshots of the code are available from the GigaScience GigaDB repository [96], along-side an Object Bundle of the workflow [97].

Abbreviations

BUSCO: Benchmarking Universal Single-Copy Orthologs; CPU: central processing unit; CWL: common workflow language; GAGE: Genome Assembly Gold-Standard Evaluation; HPC: high-performance computing; NCBI: National Center for Biotechnology Information; NHGRI: National Human Genome Research Institute; NTD: neglected tropical disease; RS: real-time sequencer; SNP: single-nucleotide polymorphism.

Competing interests

The authors declare that they have no competing interests.

Funding

Funding from the National Health and Medical Research Council (NHMRC) of Australia (R.B.G. et al.), the Australian Research Council and Melbourne Water Corporation and the University of Melbourne (BIP) is gratefully acknowledged (R.B.G. et al.). P.K.K. holds an NHMRC Early Career Research Fellowship. N.D.Y. holds an NHMRC Career Development Fellowship.

Author contributions

P.K.K. designed, implemented, and tested the pipeline. P.K.K., R.B.G., and N.D.Y. wrote the manuscript. R.S.H. contributed to implementation and testing of the pipeline. Click here for additional data file. Click here for additional data file. Click here for additional data file. Click here for additional data file. Click here for additional data file. 9/15/2018 Reviewed Click here for additional data file. 9/26/2018 Reviewed Click here for additional data file. 12/6/2018 Reviewed Click here for additional data file. 9/27/2018 Reviewed Click here for additional data file. 12/9/2018 Reviewed Click here for additional data file.
  72 in total

1.  Single-molecule sequencing and chromatin conformation capture enable de novo reference assembly of the domestic goat genome.

Authors:  Derek M Bickhart; Benjamin D Rosen; Sergey Koren; Brian L Sayre; Alex R Hastie; Saki Chan; Joyce Lee; Ernest T Lam; Ivan Liachko; Shawn T Sullivan; Joshua N Burton; Heather J Huson; John C Nystrom; Christy M Kelley; Jana L Hutchison; Yang Zhou; Jiajie Sun; Alessandra Crisà; F Abel Ponce de León; John C Schwartz; John A Hammond; Geoffrey C Waldbieser; Steven G Schroeder; George E Liu; Maitreya J Dunham; Jay Shendure; Tad S Sonstegard; Adam M Phillippy; Curtis P Van Tassell; Timothy P L Smith
Journal:  Nat Genet       Date:  2017-03-06       Impact factor: 38.330

2.  Differential analysis of RNA-seq incorporating quantification uncertainty.

Authors:  Harold Pimentel; Nicolas L Bray; Suzette Puente; Páll Melsted; Lior Pachter
Journal:  Nat Methods       Date:  2017-06-05       Impact factor: 28.547

3.  Human anthelminthic vaccines: Rationale and challenges.

Authors:  Peter J Hotez; Ulrich Strych; Sara Lustigman; Maria Elena Bottazzi
Journal:  Vaccine       Date:  2016-05-09       Impact factor: 3.641

4.  Single-Molecule Sequencing Reveals the Chromosome-Scale Genomic Architecture of the Nematode Model Organism Pristionchus pacificus.

Authors:  Christian Rödelsperger; Jan M Meyer; Neel Prabh; Christa Lanz; Felix Bemm; Ralf J Sommer
Journal:  Cell Rep       Date:  2017-10-17       Impact factor: 9.423

5.  Comprehensive mapping of long-range interactions reveals folding principles of the human genome.

Authors:  Erez Lieberman-Aiden; Nynke L van Berkum; Louise Williams; Maxim Imakaev; Tobias Ragoczy; Agnes Telling; Ido Amit; Bryan R Lajoie; Peter J Sabo; Michael O Dorschner; Richard Sandstrom; Bradley Bernstein; M A Bender; Mark Groudine; Andreas Gnirke; John Stamatoyannopoulos; Leonid A Mirny; Eric S Lander; Job Dekker
Journal:  Science       Date:  2009-10-09       Impact factor: 47.728

6.  Genome mapping on nanochannel arrays for structural variation analysis and sequence assembly.

Authors:  Ernest T Lam; Alex Hastie; Chin Lin; Dean Ehrlich; Somes K Das; Michael D Austin; Paru Deshpande; Han Cao; Niranjan Nagarajan; Ming Xiao; Pui-Yan Kwok
Journal:  Nat Biotechnol       Date:  2012-08       Impact factor: 54.908

7.  Long-read, whole-genome shotgun sequence data for five model organisms.

Authors:  Kristi E Kim; Paul Peluso; Primo Babayan; P Jane Yeadon; Charles Yu; William W Fisher; Chen-Shan Chin; Nicole A Rapicavoli; David R Rank; Joachim Li; David E A Catcheside; Susan E Celniker; Adam M Phillippy; Casey M Bergman; Jane M Landolin
Journal:  Sci Data       Date:  2014-11-25       Impact factor: 6.444

8.  Rapid genome mapping in nanochannel arrays for highly complete and accurate de novo sequence assembly of the complex Aegilops tauschii genome.

Authors:  Alex R Hastie; Lingli Dong; Alexis Smith; Jeff Finklestein; Ernest T Lam; Naxin Huo; Han Cao; Pui-Yan Kwok; Karin R Deal; Jan Dvorak; Ming-Cheng Luo; Yong Gu; Ming Xiao
Journal:  PLoS One       Date:  2013-02-06       Impact factor: 3.240

9.  Trimmomatic: a flexible trimmer for Illumina sequence data.

Authors:  Anthony M Bolger; Marc Lohse; Bjoern Usadel
Journal:  Bioinformatics       Date:  2014-04-01       Impact factor: 6.937

10.  Complete telomere-to-telomere de novo assembly of the Plasmodium falciparum genome through long-read (>11 kb), single molecule, real-time sequencing.

Authors:  Shruthi Sridhar Vembar; Matthew Seetin; Christine Lambert; Maria Nattestad; Michael C Schatz; Primo Baybayan; Artur Scherf; Melissa Laird Smith
Journal:  DNA Res       Date:  2016-06-26       Impact factor: 4.458

View more
  6 in total

1.  CSA: A high-throughput chromosome-scale assembly pipeline for vertebrate genomes.

Authors:  Heiner Kuhl; Ling Li; Sven Wuertz; Matthias Stöck; Xu-Fang Liang; Christophe Klopp
Journal:  Gigascience       Date:  2020-05-01       Impact factor: 6.524

2.  Common workflow language (CWL)-based software pipeline for de novo genome assembly from long- and short-read data.

Authors:  Pasi K Korhonen; Ross S Hall; Neil D Young; Robin B Gasser
Journal:  Gigascience       Date:  2019-04-01       Impact factor: 6.524

3.  Quantifying the benefit offered by transcript assembly with Scallop-LR on single-molecule long reads.

Authors:  Laura H Tung; Mingfu Shao; Carl Kingsford
Journal:  Genome Biol       Date:  2019-12-18       Impact factor: 13.583

4.  Chromosome-scale Echinococcus granulosus (genotype G1) genome reveals the Eg95 gene family and conservation of the EG95-vaccine molecule.

Authors:  Pasi K Korhonen; Liina Kinkar; Neil D Young; Huimin Cai; Marshall W Lightowlers; Charles Gauci; Abdul Jabbar; Bill C H Chang; Tao Wang; Andreas Hofmann; Anson V Koehler; Junhua Li; Jiandong Li; Daxi Wang; Jiefang Yin; Huanming Yang; David J Jenkins; Urmas Saarma; Teivi Laurimäe; Mohammad Rostami-Nejad; Malik Irshadullah; Hossein Mirhendi; Mitra Sharbatkhori; Francisco Ponce-Gordo; Sami Simsek; Adriano Casulli; Houria Zait; Hripsime Atoyan; Mario Luiz de la Rue; Thomas Romig; Marion Wassermann; Sargis A Aghayan; Hasmik Gevorgyan; Bicheng Yang; Robin B Gasser
Journal:  Commun Biol       Date:  2022-03-03

5.  High-quality nuclear genome for Sarcoptes scabiei-A critical resource for a neglected parasite.

Authors:  Pasi K Korhonen; Robin B Gasser; Guangxu Ma; Tao Wang; Andreas J Stroehlein; Neil D Young; Ching-Seng Ang; Deepani D Fernando; Hieng C Lu; Sara Taylor; Simone L Reynolds; Ehtesham Mofiz; Shivashankar H Najaraj; Harsha Gowda; Anil Madugundu; Santosh Renuse; Deborah Holt; Akhilesh Pandey; Anthony T Papenfuss; Katja Fischer
Journal:  PLoS Negl Trop Dis       Date:  2020-10-01

6.  ARAMIS: From systematic errors of NGS long reads to accurate assemblies.

Authors:  E Sacristán-Horcajada; S González-de la Fuente; R Peiró-Pastor; F Carrasco-Ramiro; R Amils; J M Requena; J Berenguer; B Aguado
Journal:  Brief Bioinform       Date:  2021-11-05       Impact factor: 11.622

  6 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.