Skip to main content
  • Methodology article
  • Open access
  • Published:

ONTbarcoder and MinION barcodes aid biodiversity discovery and identification by everyone, for everyone

Abstract

Background

DNA barcodes are a useful tool for discovering, understanding, and monitoring biodiversity which are critical tasks at a time of rapid biodiversity loss. However, widespread adoption of barcodes requires cost-effective and simple barcoding methods. We here present a workflow that satisfies these conditions. It was developed via “innovation through subtraction” and thus requires minimal lab equipment, can be learned within days, reduces the barcode sequencing cost to < 10 cents, and allows fast turnaround from specimen to sequence by using the portable MinION sequencer.

Results

We describe how tagged amplicons can be obtained and sequenced with the real-time MinION sequencer in many settings (field stations, biodiversity labs, citizen science labs, schools). We also provide amplicon coverage recommendations that are based on several runs of the latest generation of MinION flow cells (“R10.3”) which suggest that each run can generate barcodes for > 10,000 specimens. Next, we present a novel software, ONTbarcoder, which overcomes the bioinformatics challenges posed by MinION reads. The software is compatible with Windows 10, Macintosh, and Linux, has a graphical user interface (GUI), and can generate thousands of barcodes on a standard laptop within hours based on only two input files (FASTQ, demultiplexing file). We document that MinION barcodes are virtually identical to Sanger and Illumina barcodes for the same specimens (> 99.99%) and provide evidence that MinION flow cells and reads have improved rapidly since 2018.

Conclusions

We propose that barcoding with MinION is the way forward for government agencies, universities, museums, and schools because it combines low consumable and capital cost with scalability. Small projects can use the flow cell dongle (“Flongle”) while large projects can rely on MinION flow cells that can be stopped and re-used after collecting sufficient data for a given project.

Background

DNA sequences have been used for identification and taxonomic purposes for decades [1,2,3], but for most of this time, they have been akin to mobile phones in the 1990s: of limited value due to sparse signal coverage and high cost. Obtaining barcodes was too complicated and expensive despite the development of effective DNA extraction protocols [4], fast Sanger sequencing protocols [5], and the establishment of the Canadian Centre for DNA Barcoding (CCDB), which is the primary sequencing facility for the International Barcode of Life Consortium (iBOL: [6]). After 15 years and the investment of > 200 million USD in facilities and barcoding, ca. 8 million animal barcodes are available for searches in the database “BOLD Systems” of which ca. 6 million sequences can be downloaded as “public data” (April 2021: [7]). Combined with barcodes from NCBI, they are now a valuable resource for the global biodiversity community.

However, the cost of barcodes has remained high (http://ccdb.ca/pricing/) and the most widely used approach to large-scale barcoding still relies on sending specimens from all over the world to the CCDB in Guelph (Canada). For example, > 85% of all arthropod barcodes in BOLD Systems were generated by the CCDB with more than > 60% of the voucher specimens remaining in the center [8]. Unfortunately, this model for barcoding interferes with real-time biodiversity monitoring and specimen accessibility. We therefore here argue that barcoding has to be decentralized. We show that this can be achieved through “innovation through subtraction,” which yields simplified and cost-effective solutions for generating barcode amplicons in molecular laboratories with very basic equipment. Combined with the use of MinION sequencers, these simplifications allow for generating barcodes almost anywhere by biologists and citizen scientists alike.

A decentralized model for monitoring the world’s biodiversity is necessary given the scale, urgency, and importance of the task at hand. For example, even if there were only 10 million species of metazoan animals on the planet [9] and a new species was discovered with every 50th specimen that is processed, species discovery with barcodes will require the sequencing of 500 million specimens [10]. Yet, species discovery is only a small part of the biodiversity challenge in the 21st century. Biodiversity loss is now considered by the World Economic Forum as one of the top three global risks based on likelihood and impact for the next 10 years [11] and Swiss Re estimates that 20% of all countries face ecosystem collapse as biodiversity declines [12]. This implies that biodiversity discovery and monitoring will require in the future completely different scales than in the past. The old approaches thus need rethinking because all countries will need real-time distributional and abundance information for species in order to develop effective conservation strategies and policies. In addition, they will need information on how species interact with each other and the environment [13].

Barcodes were initially intended as an identification tool for biologists [1]. Thus, most projects focused on taxa with a large following in biology (e.g., birds, fish, butterflies) [14] Yet, despite targeting taxa with well-understood diversity, the projects struggled with barcoding > 75% of the described species in these groups [14]. When the pilot barcoding projects ran out of tissues from identified specimens, they started targeting unidentified specimens; i.e., DNA barcoding morphed into a technique that was used for biodiversity discovery (often in “dark taxa”: [14, 15]). This shift towards biodiversity discovery was gradual and incomplete because the projects used a “hybrid approach” that started with sorting specimens to “morphospecies” before barcoding one or a few specimens for each morphospecies/sample (e.g., [16,17,18,19,20,21,22]). However, this approach is not ideal for biodiversity discovery and monitoring because morphospecies sorting is labor-intensive and of unpredictable quality because it is heavily dependent on the taxonomic expertise of the sorters [23, 24]. This is why it is preferable to reverse the workflow [25] by barcoding all specimens first and assessing congruence with morphology afterwards [26, 27]. This approach has the additional benefit that it yields quantitative data and corroborated species-level units. However, it requires efficient and low-cost barcoding methods that are also suitable for biodiverse countries with limited science funding.

Fortunately, such cost-effective barcoding methods are now becoming available. This is partially due to the replacement of Sanger sequencing with second- and third-generation sequencing technologies that have lower sequencing costs [25, 28,29,30,31,32,33,34,35]. These changes mean that the widespread application of the reverse workflow is now feasible for tackling the species-level diversity of those metazoan clades that are so specimen- and species-rich that they have been neglected in the past [35, 36]. Many of these clades have high spatial species turnover, requiring many localities in each country to be sampled and large numbers of specimens to be processed [34]. Such intensive processing is best achieved close to the collecting locality to avoid the delays and costs of shipping samples across continents. Local processing is now feasible because biodiversity discovery can be readily pursued in decentralized facilities at varied scales. Indeed, accelerated biodiversity discovery is a good example of a big science initiative that allows for meaningful engagement of students and citizen scientists, which can enhance significantly biodiversity education and appreciation [37,38,39,40]. This is especially so when stakeholders not only barcode, but also image specimens, determine species abundances, and map distributions of newly discovered species. All of which can be based on specimens collected in the citizens’ own backyard.

But can such decentralized biodiversity discovery really be effective? Within the last 5 years, students and interns in the laboratory of the corresponding author at the National University of Singapore barcoded > 330,000 specimens. After analyzing the first > 140,000 barcoded specimens for selected taxa representing different ecological guilds, the alpha and beta diversity of Singapore’s arthropod fauna was analyzed based on ~ 8000 putative species which revealed that some habitats were unexpectedly species-rich and harbored unique faunas (e.g., mangroves, freshwater swamp: [34, 41]). Barcodes even helped with the conservation of charismatic taxa when they were used to identify the larval habitats for more than half of Singapore’s damsel- and dragonfly species [42] and facilitated species interaction research and biodiversity surveys based on eDNA [43, 44]. Biodiversity appreciation by the public was fostered by featuring newly discovered species and their species interactions on “Biodiversity of Singapore” (BOS > 15,000 species: [45]), dozens of new species have been described, and the descriptions of another 150 species are being finalized [46,47,48,49,50,51,52,53,54].

Barcoding metazoan specimens require the successful completion of three steps: (1) obtaining DNA template, (2) amplifying COI via PCR, and (3) sequencing the COI amplicon. Many biologists learn these techniques in university for a range of different genes—from those that are easy to amplify (short fragments of ribosomal and mitochondrial genes with well-established primers) to those that are difficult (long, single-copy nuclear genes with few known primers). Fortunately, amplification of short mitochondrial markers like COI does not require the same level of care as nuclear markers. Learning how to barcode efficiently is hence an exercise of unlearning unnecessary procedures. Note that this unlearning comes with cost savings which are particularly vital for boosting biodiversity research where it is most needed: in biodiverse countries with limited science funding. Our manuscript therefore has a more comprehensive Methods section than most publications, because we do not only describe which methods we used for our experiments, but also why certain alternative methods were avoided. In addition, we provide videos that illustrate the techniques [55].

Simplified laboratory techniques for obtaining barcode amplicons are important, but they need to be complemented with efficient and cost-effective sequencing techniques. Therefore, we here also test the capabilities of the latest flow cells used in Oxford Nanopore Technologies (ONT) instruments. They have the advantage of being inexpensive and yielding data quickly by passing single-stranded DNA through a nanopore and using the current fluctuations to reconstruct the DNA sequence [56]. ONT’s MinION is especially suitable for decentralized barcoding because it is small and inexpensive. However, its use for barcoding has been unpopular because of low sequence read accuracy (85–95%: [56, 57]). This meant that the data had to be analyzed with complex bioinformatics pipelines that were not suitable for widespread use.

Recently, three significant changes occurred. Firstly, ONT released a low-cost and capacity flow cell (Flongle) that only has 126 pores (126 channels) instead of the customary 2048 (512 channels) of a full MinION flow cell. We here test whether Flongle is a promising tool for small barcoding projects that need quick turnaround times for a few hundred specimens. Secondly, ONT released a new flow cell chemistry for full flow cells (“R10.3”) where the nanopores have a dual instead of a single reader-head. Dual reading has altered the read error profile by giving better resolution to homopolymers and improved consensus accuracy [58, 59]. Lastly, ONT released high accuracy (HAC) basecalling [60]. All three innovations are here tested using six different amplicon pools of very different sizes (191 - 9932 specimens). Overall, we find that the innovations were very effective at improving read quality and quantity. This meant that we could develop and release a new bioinformatics software, “ONTbarcoder,” which is fast and user-friendly in that it has a GUI, is compatible with all major operating systems, and does not require the installation of third-party software.

Results

Performance of new flow cells and high-accuracy basecalling

We used six pools of amplicons to test the new ONT products. The pools contained amplicons for 191–9932 specimens and were run for 15–49 h (Table 1). The amplicons were tagged with 13-bp indices to facilitate demultiplexing reads to specimen-specific bins. Basecalling the fast5 files using Guppy in MinIT under the high accuracy (HAC) model was still very slow and took 12 days for the largest dataset (Palaearctic Phoridae (658 bp)) (Table 1). However, it yielded good quality reads that could be demultiplexed at high rates for the four R10.3 MinION datasets (= 30–49%). The only exception was the Palaearctic Phoridae (313 bp) dataset (15.5%). Flongle datasets showed overall also lower demultiplexing rates (17–21%).

Table 1 Datasets generated in this study and the results of barcoding using ONTbarcoder at 200X coverage (Consensus by Length) and 100X coverage (Consensus by Similarity)

We then investigated barcode accuracy (Fig. 1) by directly aligning the MinION barcodes with Sanger and Illumina barcodes for the same specimens. We find that MinION barcodes are virtually identical (> 99.99% identity, Table 2). We furthermore established that the number of ambiguous bases (“N”) is very low for barcodes obtained with R10.3 (< 0.01%). Indeed, more than 90% of all barcodes are entirely free of ambiguous bases. In comparison, Flongle barcodes have a slightly higher proportion of ambiguous bases (< 0.06%). They are concentrated in ~ 20% of all sequences so that 80% of all barcodes again lack Ns. This means that MinION barcodes well exceed the Consortium for the Barcode of Life (CBOL) criteria for “barcode” designation with regard to length, accuracy, and ambiguity (Ratnasingham and Hebert 2013).

Fig. 1
figure 1

Rapid recovery of accurate MinION barcodes over time (in hours, x-axis) (filtered barcodes: dark green = barcodes passing all 4 QC criteria, light green = one ambiguous base; lighter green = more than 1N, no barcode = white with pattern, 1 mismatch = orange, > 1 mismatch = red). The solid black line represents the number of barcodes available for comparison. White dotted line represents the amount of raw reads collected over time, blue represents the number of demultiplexed reads over time (plotted against Z-axis)

Table 2 Quality assessment of barcodes generated by ONTbarcoder at 200X read coverage (Consensus by Length) and 100X coverage (Consensus by Similarity). The accuracy of MinION barcodes is compared with the barcodes obtained for the same specimens using Illumina/Sanger sequencing. Errors are defined as the sum of substitution or indel errors. Denominators are the total number of nucleotides assessed

Rarefaction at different read coverage levels reveals that 80–90% of high-quality barcodes are obtained within a few hours of sequencing. In addition, the number of barcodes generated by MinION exceeded or was comparable to what could be obtained with Sanger or Illumina (Fig. 1). We also determined the coverage needed for obtaining reliable barcodes. For this purpose, we plotted the number of barcodes obtained against coverage (Fig. 2). This revealed that the vast majority of specimens yield high-quality barcodes at coverages between 25x and 50x when R10.3 reads are used. Increasing coverage beyond 50x only led to modest improvements in quality and few additional barcodes. The coverage needed for obtaining Flongle barcodes was somewhat higher, but the main difference between the R9.4 technology of the Flongle flow cell and R10.3 of the MinION flow cell was that more barcodes retained ambiguous bases even at high coverage for R9.4 data. The differences in read quality between R9.4 and R10.3 became even more obvious when the read bins for the “Mixed Diptera Subsample” were analyzed based on identical numbers of R10.3 and R9.4 reads. The barcodes based on Flongle and R10.3 data were compatible, but the R10.3 barcodes were ambiguity-free while some of the corresponding Flongle barcodes retained 1–2 ambiguous bases.

Fig. 2
figure 2

Relationship between barcode quality and coverage. Subsetting the data to 5–200X coverage shows that there are very minor gains to barcode quality after 25–50X coverage. (filtered barcodes: dark green = barcodes passing all 4 QC criteria, light green = one ambiguous base; lighter green = more than 1 N, no barcode = white with pattern, 1 mismatch = orange, > 1 mismatch = red)

Overall, these results imply that 100x raw read coverage is sufficient for obtaining barcodes with either R10.3 or R9.4 flow cells. Given that most MinION flow cells yield > 10 million reads of an appropriate length, one could, in principle, obtain 100,000 barcodes in one flow cell. However, this would require that all amplicons are represented by similar numbers of copies and that all reads could be correctly demultiplexed. In reality, only 30–50% of the reads can be demultiplexed and the number of reads per amplicon fluctuates widely (Fig. 3). Very-low coverage bins tend to yield no barcodes or barcodes of lower quality (errors or Ns). These low-coverage barcodes can be improved by collecting more data, but this comes at a high cost and increased risk of a small number of contaminant reads yielding barcodes. For example, we observed that “negative” PCR controls yielded low-quality barcodes for 4 of 106 negatives in the Palaearctic Phoridae (313 bp) and 1 of 105 negatives in the Palaearctic Phoridae (658 bp) datasets.

Fig. 3
figure 3

Read bin size distribution for six amplicon pools (color-coding as in Figs 1 and 2). Due to the very generous coverage for the “Mixed Diptera” dataset, we also use grey to show the bin size distribution after dividing the bin read totals by 5

To facilitate the planning of barcode projects, we illustrate the trade-offs between barcode yield, sequencing time, and the amount of raw data needed for six amplicon pools (Fig. 4: 191–9932 specimens). These standard curves can be used to roughly estimate the number of raw reads needed to achieve a specific goal for a barcoding project of a specific size (e.g., obtaining 80% of all barcodes for a project with 1000 amplicons). Note that the number of raw reads is displayed in real-time in MinKNOW so that the run can be terminated when the target number of reads has been reached. The number of recoverable barcodes in Fig. 4 was set to the number of all error-free, filtered barcodes obtained in an analysis of all data. We would argue that this is a realistic estimate of recoverable barcodes given the saturation plots in Fig. 2 that suggest that most barcodes with significant amounts of data have been called at 200x coverage. Note, however, that Fig. 4 can only provide very rough guidance on how many reads are needed because, for example, the demultiplexing rates differ between flow cells and different amplicon pools have very different read abundance distributions (see Fig. 3).

Fig. 4
figure 4

Relationship between barcoding success and number of raw reads for six amplicon pools (191-9932 specimens; barcoding success rates 84–97%). Percentage of barcodes recovered is relative to the final estimate based on all data

We further compared the barcodes obtained with ONTbarcoder with those obtained via the recent software NGSpeciesID [61]. NGSpeciesID often provides multiple consensus barcodes for the same set of reads obtained for the same specimen. We here only compared the consensus barcodes supported by the highest number of reads. When compared to lllumina or Sanger reference barcodes, the barcodes obtained via ONTbarcoder have fewer errors (Table 3: 25–118 erroneous barcodes for NGSpeciesID vs 5–28 erroneous barcodes for ONTbarcoder). In addition, NGSpeciesID also yielded consensus barcodes for negative controls because it performs no quality control based on length, translation, or other criteria. Most of the corresponding read sets yielded no barcodes with ONTbarcoder due to rigorous quality checks and low read-count filters. For example, NGSpeciesID formed 32 negative consensus barcodes for Afrotropical Phoridae 658 dataset (demultiplexed by minibar) although 30 were represented by < 5 sequences.

Table 3 Comparison of barcodes obtained by ONTbarcoder with NGSpeciesID (green=highest number of correct and lowest number of errors for datasets). NGSpeciesID was applied once to the demultiplexed reads obtained with ONTbarcoder and once to those obtained with minibar. Barcode calling was done using all demultiplexed reads as well as 200X subset. ONTbarcoder was run at 200X read coverage (Consensus by Length) and 100X coverage (Consensus by Similarity). The accuracy of MinION barcodes is only compared to reference barcodes obtained with Illumina/Sanger sequencing. Errors are defined as the sum of substitution and indel errors

Discussion

Democratization of barcoding

Biodiversity research needs new scalable techniques for large-scale species discovery and monitoring. This task is particularly urgent and challenging for invertebrates that collectively make up most of the terrestrial animal biomass. We argued earlier that this is likely to be a task that requires the processing of at least 500 million specimens from all over the world with much of the biodiversity discovery work having to be carried out in tropical countries with limited research funding. Pre-sorting these specimens into putative species-level units with DNA sequences is a promising solution as long as obtaining and analyzing the data are sufficiently straightforward and cost-effective. We believe that the techniques described in this manuscript will help with achieving these goals.

We here show that sequencing barcode amplicons with MinION is a particularly attractive option. Firstly, MinION library preparation can be learned within hours and an automated library preparation instrument is available and eventually expected to generate ligation-based libraries (“VolTRAX”). Secondly, MinION flow cells can accommodate projects of varying scales. Flongle can be used for amplicon pools with a few hundred products, while an R10.3 flow cell can accommodate projects with up to 10,000 specimens. The collection of data on MinION flow cells can be stopped whenever the software controlling the run (“MinKNOW”) indicates that a sufficiently high number of reads have been acquired. Flow cells can then be washed and re-used again although the remaining capacity declines over time so that we have only re-used flow cells up to four times.

Traditionally, the main obstacles to using MinION for barcoding have been poor read quality and high cost. Both issues are fading into the past. The quality of MinION reads has improved to such a degree that the laptop-version of our new software “ONTbarcoder” can generate thousands of very high-quality barcodes within hours. There is also no longer a need to “polish” reads or to rely on external data or algorithms. The greater ease with which MinION barcodes can be obtained is due to several factors. Firstly, each flow cell now yields a much larger numbers of reads. Secondly, R10.3 reads have a different error profile which allows for reconstructing higher-quality barcodes. Thirdly, high accuracy basecalling has improved raw read quality and thus demultiplexing rates. Lastly, we can now use parameter settings for MAFFT that are designed for MinION reads. These changes mean that even low-coverage bins can yield very accurate barcodes; i.e., both barcode quality and quantity are greatly improved.

We had previously tested MinION for barcoding in 2018 and 2019 and here re-sequenced some of the same amplicon pools. This allowed for a precise assessment of the improvements. In 2018, sequencing the 511 amplicons of the Mixed Diptera sample required one flow cell and we obtained 488 barcodes of which only one lacked ambiguous bases. In 2021, we re-sequenced the same amplicon pool on a used flow cell (R10.3) with only ~ 500 pores and obtained 502 barcodes with > 98% (496) being free of ambiguous bases. The results obtained for the 2019 amplicon pools were also better. In 2019, one flow cell (R9.4) allowed us to obtain 3223 barcodes from a pool of amplicons obtained from 4275 specimens of Afrotropical Phoridae. Resequencing weak amplicons increased the total number of barcodes by approximately 500 to 3762 [35]. Now, one R10.3 flow cell yielded 3905 barcodes (+ 143) for the same amplicon pool, while retaining an accuracy of > 99.99% and reducing the ambiguities from 0.45% to 0.01%. If progress continues at this pace, we predict that MinION will be the default barcoding tool for most users. This, too, is because all barcoding steps can now be carried out in one laboratory with a modest set of equipment (see Table 4). With MinION being readily available, there is no longer the need to outsource sequencing and/or to wait until enough barcode amplicons have been prepared for an Illumina or PacBio/Sequel flow cell [62]. This eases biodiversity discovery and allows many biologists, government agencies, students, and citizen scientists from around the globe to get involved in biodiversity discovery.

Table 4 Equipment required for MinION barcoding

This raises the question of how much it costs to sequence a barcode with MinION. There is no straightforward answer because the cost depends on user targets. For example, a user who wants to sequence a pool of 5000 barcodes may want an 80% success rate in order to identify the dominant species in a sample (e.g., nuisance midges from a mixed-species swarm [63]). Based on Fig. 4, only ca. 1.5 million raw MinION reads would be needed. On average, MinION flow cells yield > 10 million reads and cost USD 475–900 depending on how many cells are purchased at the same time. Add the library cost of ca. USD 100 and the overall sequencing cost of the project is USD 180-235. This experiment would be expected to yield 4000 barcodes for the 5000 amplicons (4-6 cents/barcode). Given the low cost of 1 million MinION reads ($50-90), we predict that most users will opt for sequencing at a greater depth since this will likely yield several hundred additional barcodes. This will increase the sequencing cost per barcode, because the first 1.5 million reads already recovered barcodes for all strong amplicons. Additional reads will predominantly strengthen read coverage for these amplicons and relatively few reads will be added to the read bins that were too weak to yield barcodes at low coverage; i.e., there are diminishing barcode returns for additional sequencing.

Overall, we thus predict that most users will only multiplex 10,000 amplicons in the same MinION flow cell so that the sequencing cost per specimen would be 0.06–0.10 USD depending on flow cell cost. Large-scale biodiversity projects can reduce the cost further by switching to sequencing with PromethION, a larger ONT sequencing instrument that can accommodate up to 48 flow cells. PromethION flow cells have 6 times the number of pores for twice the cost so that this switch reduces the sequencing cost by 60% (flow cell capacity: 60,000 barcodes). At the other end of the scale are those users who occasionally need a few hundred barcodes. They can use Flongle flow cells, which yield comparatively expensive barcodes (0.50 USD) because each flow cell costs $70 and requires a library that is prepared with half the normal reagents (ca. $50).

ONTbarcoder for large-scale species discovery with MinION

We here introduce ONTbarcoder, which runs on a regular laptop using either Windows10, Linux, or Macintosh OS and has a GUI. ONTbarcoder has been extensively tested (> 4000 direct comparisons with Sanger and Illumina barcodes) and is designed to yield thousands of barcodes rapidly without impairing accuracy even when encountering low-coverage amplicons. Accuracy is ensured by applying 4 QC criteria related to the length and translatability of the barcode. Speed is maintained through the parallelization of most steps on UNIX systems (Mac and Linux; parallelization is restricted to demultiplexing in Windows). ONTbarcoder furthermore allows for updating the parameter file for alignment. This is advisable because MinION continues to evolve quickly. We expect flow cell capacity to increase further and basecalling to improve (see [64]). For example, a new basecaller (“bonito”) developed by ONT has shown promise by improving raw read accuracy (https://nanoporetech.com/about-us/news/new-research-algorithms-yield-accuracy-gains-nanopore-sequencing). This basecaller is now also available in MinKNOW and our preliminary tests (Flongle: Mixed Diptera Subsample, Chironomidae; R10.3: Palaearctic Phoridae, 313 bp; bonito version = 0.3.6) confirm that it yields reads of similar quality as HAC (unpublished data). We expect these regular changes to ONT software to further improve the suitability of ONT sequencers for barcoding.

ONTbarcoder evolved from miniBarcoder, which yielded high-quality barcodes based on four different amplicon pools covering > 8000 barcodes [33, 35, 58, 65], but had two drawbacks that have been fixed in ONTbarcoder. Firstly, we dropped the translation-based error correction that tended to increase the number of Ns. This step used to be essential because indel errors were prevalent in consensus barcodes obtained with older flow cell models. Secondly, ONTbarcoder can be installed by unzipping a file and is easy to maintain on different operating systems. Until now, external dependencies meant that several software packages had to be installed and that only some operating systems were compatible. This has been a major drawback of all MinION bioinformatics pipelines and led Watsa et al. [37] to recommend that bioinformatics training is needed before MinION barcoding could be used in schools (e.g., training in UNIX command-line). With ONTbarcoder, such training will no longer be needed.

MinION has been used for barcoding fungi, animals, and plants and alternative pipelines have been developed [38, 58, 61, 65,66,67,68,69,70,71], but there is one fundamental difference between these studies/pipelines and the vision presented here. These studies tended to show that MinION sequencing can be done in the field. Thus only a very small number of specimens were analyzed (< 150 with the exception of > 500 in Chang, Ip et al. [65]). The potential use in the field is an attractive feature for time-sensitive samples that could degrade before reaching a lab. However, it is unlikely to help substantially with tackling large-scale biodiversity discovery and monitoring because obtaining few MinION barcodes per flow cell is too expensive. Additionally, the bioinformatic pipelines that were developed for these small-scale projects were not suitable for large-scale, decentralized barcoding. For example, some used ONT’s commercial barcoding kit that only allows for multiplexing up to 96 samples in one flow cell [69, 71]; i.e., each amplicon has very high read coverage which influenced the design of the analysis pipelines (e.g. coverage recommendations for ONTrack is 1000x: [69]). The high coverage requirements also meant that the pipelines were only tested for small numbers of samples (< 60: [61, 66, 69, 71]) which were unlikely to represent the complexities of large, multiplexed amplicon pools (e.g., nucleotide diversity, uneven coverage).

This concern is confirmed by our test of the most recently introduced bioinformatics pipeline (NGSpeciesID [61]). It requires minibar/qcat and nanofilt, isONclust SPOA, Parasail, and optionally, Medaka [68, 72, 73] and often yields multiple consensus barcodes for the same set of reads because it relies on an intermediate clustering step. To assess the performance of NGSpeciesID, we used the consensus barcode with the highest coverage and only compared the results for those barcodes for which we had reference barcodes obtained with Sanger and Illumina (Table 3). We find that under optimal settings, NGSpeciesID yields 3–23 times the number of erroneous barcodes than ONTbarcoder (Table 3). One reason is that NGSpeciesID does not use ambiguity codes in consensus sequences; i.e., ONTbarcoder will place an “N” when the evidence is ambiguous while NGSpeciesID will opt for one of the nucleotides. In addition, NGSpeciesID does not use barcode length or translatability as QC criteria. This has the downside that the software is more likely to yield erroneous barcodes. For example, NGSpeciesID proposes consensus barcodes for very small read sets for which ONTbarcoder proposes no barcodes because they failed the QC or did not meet the minimum read threshold. An upside of not using barcode length and translatability as QC is that NGSpeciesID can propose consensus barcodes for genes that are non-coding (e.g., ITS) or have high length variability (e.g., ribosomal genes). However, the user should be aware that 3-5% of these barcodes will include errors if the results for COI also hold for other genes (see Table 3).

Biodiversity monitoring with MinION barcodes

Despite the widespread use of metabarcoding for analyzing samples consisting of hundreds or thousands of specimens [74, 75], large-scale barcoding of individual specimens remains essential for discovering and describing species. It associates barcodes with individual voucher specimens, which can be used for further research. This is essential for taxonomic research, which is the only way to fix systematic errors caused by COI which lumps recently diverged species and splits species with deep allopatric splits [76]. High-quality barcode databases are also important for the analysis of metabarcoding data because they facilitate the identification of numts, heteroplasmy, contaminants, and errors. Furthermore, large-scale barcoding will also be critical for developing AI-assisted biodiversity monitoring of invertebrates using images [77]. Such monitoring requires neural networks that are trained with large numbers of images. These images are best obtained from specimens that were identified/grouped into species based on barcodes. Note that it appears likely that AI-assisted biodiversity monitoring will be the method of choice in the future because it can have the potential to quickly identify and count common species and highlight which specimens may belong to new/rare species [78].

Conclusions

Many biologists would like to have ready access to barcodes without having to send specimens halfway around the world or run large, complex, and expensive molecular laboratories. Many have been impressed by MinION’s low cost, portability, and ability to deliver real-time sequencing, but they were worried about the high cost and complicated bioinformatics pipelines. We here demonstrate that these concerns are no longer justified. MinION barcodes obtained by R10.3 flow cells are virtually identical to barcodes obtained with Sanger and Illumina sequencing. Barcoding with MinION is now also cost-effective and the new “ONTbarcoder” software makes it straightforward to analyze the data on a standard laptop. Add the simplified and cheaper methods for obtaining amplicons and biodiversity discovery will become more scalable and accessible to all.

Methods

MinION and Flongle sequencing were here tested for six amplicon pools (Table 5). For two of the pools, Mixed Diptera (N=511) and Afrotropical Phoridae (N=4275), we already had amplicons and comparison barcodes that were obtained with Sanger, Illumina, and older versions of MinION flow cells that used a different chemistry (see below). These two pools were here used to assess the accuracy of barcodes generated using the new MinION flow cell using the R10.3 chemistry. Two additional datasets were used to test the capacity of R10.3 flowcells for mini- and full-length barcodes by sequencing barcodes of different lengths for the same specimens and obtained with the same DNA template (Palaearctic Phoridae, 658 and 313 bp for ca. 9930 specimens). Lastly, we tested the performance of Flongle flow cells using a Chironomidae dataset (313 bp mini-barcodes for 191 specimens) and a Mixed Diptera Subsample (full-length barcodes for 257 specimens) of the aforementioned Mixed Diptera amplicon pool for which we had Sanger barcodes for comparison.

Table 5 Datasets used in the study and the corresponding experimental details

The methods for obtaining the reference barcodes with Sanger and Illumina are described in Srivathsan et al. [33, 35]. Briefly, for Sanger sequencing (Mixed Diptera sample set), the same PCR products sequenced with MinION were individually cleaned using SureClean Plus (Bioline, London) and subjected to cycle sequencing using BigDyeTM. The products were precipitated using PureSeq (Aline BioSciences, Woburn) and analyzed in ABI 3730xl 96 capillary sequences. The resulting chromatograms were edited using Sequencher v4 (GeneCodes, Ann Arbor). For Illumina sequencing of products of the Afrotropical Phoridae dataset, an independent PCR was conducted using the DNA extract for the same specimens to amplify a short 313-bp fragment of COI using 9-bp tagged versions of the primers described by Leray et al. [79]. The products were pooled and sequenced using HiSeq2500 (250 bp PE sequencing). The data processing followed Wang et al.’s protocol [25]. for obtaining a set of consensus barcodes.

DNA extraction

For all newly barcoded specimens, we used DNA template obtained with 10–15 μL HotSHOT per specimen [82], but other buffers like PBS could have also been used (see [83]). Small specimens were submerged within the well of a microplate while larger specimens were placed head-first into the well. Note that the specimen need not be entirely submerged in HotSHOT. The placement of 95 specimens takes approximately 17 min and the DNA is obtained within 20 min in a thermocycler via two heating steps [82] (https://www.youtube.com/watch?v=y1qGzL5PraQ&t=3s). After neutralization, > 20 μl of template is available for amplifying COI and the voucher can be recovered. The advantages of HotSHOT are low cost and speed. The disadvantages are fast degeneration of the leftover template within days. Some alternatives to DNA extraction with HotSHOT are described in Table 6. We consider them too costly or time-consuming given that COI is a mitochondrial gene and thus naturally enriched. Indeed, the small mitochondrial genome (16 kbp) usually contributes 0.5–5% of the DNA in a genomic extraction [84, 85]. Therefore obtaining sufficient template for DNA barcoding need not take  >20 min, does not require DNA purification, and should cost essentially nothing as long as the specimens contain DNA of reasonable quality (e.g., < 20-year-old Malaise trap samples). Note that the methods described here are designed for metazoan species. Plants and fungi pose additional challenges, including the presence of cell walls and a high amount of secondary compounds.

Table 6 Alternative DNA extraction methods

Amplification of COI via PCR

Obtaining amplicons for DNA barcodes does not require high-fidelity polymerases, which are mostly needed for amplifying low copy-number nuclear genes based on low-concentration template. Standard polymerases are sufficient. We exclusively used CWBio 2x master mix in 14–16 μl PCR reactions (see Table 5 for details). The set-up of one plate requires < 15 min [86]. In order to save time, only a small number of reactions per microplate need to be checked via gel electrophoresis (N = 8–12, including the negative control). Running out additional amplicons is not necessary because failed amplicons do not add to the MinION sequencing cost and can be recovered via re-sequencing [35] or re-amplification.

Amplicon sequencing with all second- and third-generation sequencing technologies (including MinION) involves amplicon pools. This means that the amplicon for each specimen has to be tagged/indexed/barcoded with short DNA sequences at the 5’ ends of the amplicons. This allows for the assignment of each read obtained during sequencing to a specific specimen during the “demultiplexing” bioinformatics step. We use 13 bp tags that are distinct (> 4 bp from each other including insertions/deletions) and lack homopolymers (see Additional File 1). This tag length is a compromise given that longer tags have the disadvantage of reducing PCR success rates [35] while having the advantage of increasing the proportion of reads that can be demultiplexed with confidence.

Numerous dual-PCR tagging techniques for amplicons have been described in the literature [31, 69, 87, 88], but we only use single-PCR tagging [30]. It is here described for a microplate with 96 templates, but the same principle can be applied to strip tubes or partial microplates. What is needed is a 96-well primer plate where each well contains a differently tagged reverse primer. This “primer plate” can yield 96 unique combinations of primers once the 96 reverse primers are combined with one forward primer (f-primer ×96 differently tagged r-primers = 96 unique combinations). This also means that if one purchases 105 differently tagged forward primers, one can individually tag 10,800 specimens (105 × 96 = 10,800 amplicons). This is the number of amplicons that we consider appropriate for a MinION flow cell (R10.3; see the “Results” section). In the laboratory, we assign the tag combinations as follows. For each plate with 96 PCR reactions, we add the same f-primer to a tube with the PCR master mix to be used for the entire plate. We then dispense the “f-primed” master mix into the 96-wells. Afterwards, we use a multichannel pipette to add the DNA template and the tagged r-primers from the r-primer plate into the PCR plate. All 96 samples in the plate now have a unique combination of tagged primers because they only share the same tagged forward primer. This makes tracking of tag combinations simple because each PCR plate has its own tagged f-primer, while the r-primer is consistently tied to a well position. Each plate has a negative control that is used to detect contamination. The tagging information for each plate is recorded in the demultiplexing file that is later used to demultiplex the reads obtained during sequencing (see Additional File 2 for an example).

We prefer single-PCR tagging over two-PCR tagging [31, 69, 87, 88] because it is cheaper (requires half the amount of primer), less error-prone (fewer PCR reactions and cycles), and saves time (no need to clean-up the first-round amplicons). The only downsides of single-PCR tagging are an initially higher investment in primers and the need to manage the primer stock more carefully because it is used for a longer time. Long-term storage should thus be at − 80 °C and the number of freeze-thaw cycles should be kept low (< 10).

Amplicon sequencing

PCR is followed by pooling, purification of the amplicons via the removal of unused PCR reagents, the adjustment of DNA concentration, and sequencing. We only pool 1 μl of each PCR product. The pools in our experiments described here were cleaned using SPRI bead-based clean-up with Ampure beads (Beckman Coulter), but Kapa beads (Roche) or the more cost-effective Sera-Mag beads (GE Healthcare Life Sciences) in PEG [89] are also viable options [35]. For barcodes longer than 300 bp, we recommend the use of a 0.5X ratio for Ampure beads since it removes a larger proportion of primers and primer dimers. However, this ratio is only suitable if amplicon yield is not a concern (e.g., pools consisting of many and/or high concentration amplicons). Increasing the ratio to 0.7–1X will improve yield but renders the clean-up less effective. The pooling and clean-up of three 96-well plates takes about 40 min [90], but the time per plate is lower when large numbers of amplicons are pooled. Amplicon pools containing large numbers of amplicons may require multiple rounds of clean-up, but only a small subset of the initial pool has to be purified because most library preparation kits require only small amounts of DNA. We confirm the success of the clean-up procedures via gel electrophoresis, which should show only one strong band of expected length. After the clean-up, the pooled DNA concentration is measured in order to use an appropriate amount of DNA for library preparation. We use Qubit, but less precise techniques are probably also suitable.

Obtaining a cleaned amplicon pool according to the outlined protocol is not time-consuming, but many studies retain “old Sanger sequencing habits”. For example, they use gel electrophoresis to test for each PCR reaction whether an amplicon has been obtained. Afterwards, they clean and measure all amplicons—one at a time—for normalization (often with very expensive techniques: Ampure beads: [69]; TapeStation, BioAnalyzer, Qubit :[71]). This is presumably done to obtain a pool of amplicons where each has equal representation. However, reads are cheap while the clean-up and measurement of many amplicons are expensive and unnecessary because weak products that failed to yield a barcode in the first sequencing run can be re-sequenced [35].

Library preparation and sequencing

We prepare our MinION libraries using ligation-based kits and 200 ng of DNA for full flow cells and 100 ng for Flongle (see Table 6 for details). We generally follow kit instructions, but exclude the FFPE DNA repair mix in the end-repair reaction, as this is mostly needed for formalin-fixed, paraffin-embedded samples. The reaction volumes for the R10.3 flow cell libraries consist of 45 μl of DNA, 7 μl of Ultra II End-prep reaction buffer (New England Biolabs), 3 μl of Ultra II End Prep enzyme mix (New England Biolabs), and 5 μl of molecular grade water. For the Flongle, only half of the reagents are used to obtain a total volume of 30 μl. We further modify the Ampure ratio to 1x for all steps as DNA barcodes are short whereas the recommended ratio in the manual is for longer DNA fragments. The libraries for the experiments in this study were loaded and sequenced on a MinION Mk 1B. Data capture involved a MinIT or a Macintosh computer that meets the IT specifications recommended by ONT. The bases were called using Guppy (versions provided in Table 1), under the high-accuracy model in MinIT taking advantage of its GPU.

We here only used MinION and Flongle flow cells for barcoding. This preference was based on four considerations: (1) Scaling; i.e., ability to accommodate projects of different sizes, (2) turnaround times, (3) cost, and (4) amplicon length. Flongle can be used for small amplicon pools (< 300 products) because it has low fixed costs per experiment (library and flow cell: ca. $120 USD) and the turnaround time is fast, so the MinION Flongle is arguably the best sequencing option for small barcoding projects with > 50 barcodes. Full MinION flow cells also have fast turnaround times, but the minimum run cost is closer to 1000 USD for most users (flow cell cost drops with bulk purchase), so this option only becomes more cost-effective than Flongle when > 1800 amplicons are sequenced. As illustrated in the Results section of the manuscript, one MinION flow cell can comfortably sequence 10,000 amplicons.

Alternatives to MinION/Flongle are sequencing barcode amplicons with Sanger, Illumina [33], or PacBio (e.g., Sequel: [31]). Sanger sequencing has fast turnaround times but high sequencing cost per amplicon ($3–4 USD). PacBio’s Sequel flow cells have a similar capacities as full MinION flow cells [31] and the consumable costs are also similar for most users who have to outsource Sequel sequencing due to the high instrument cost for PacBio. However, Sequel does not allow for flexible scaling like Flongle/MinION and most users will have to wait several weeks until the data are returned from the service provider. By far the most cost-effective sequencing method for barcodes is Illumina’s NovaSeq sequencing. The fixed costs for library and lanes are high (3000–4000 USD), but each flow cell yields 800 million reads which can comfortably sequence 800,000 barcodes at a cost of < $0.01 USD per barcode. Note that Illumina reads are only suitable for generating mini-barcodes of up to 420 bp length (using 250 bp PE sequencing using SP flow cell). “Full-length” COI barcode (658 bp) can only be obtained by sequencing two amplicons per specimen.

Bioinformatics: Development and application of ONTbarcoder

One of the most significant barriers to widespread barcoding with MinION has been complex bioinformatics pipelines that were needed for fixing the high error rates of ONT reads. However, after obtaining data from a new R10.3 flow cell, we noticed major improvements in read quality, the total number of raw reads, and the number of demultiplexed reads. This led to the development of “ONTbarcoder”, which has a graphical user interface (GUI) and is suitable for all major operating systems (Linux, Mac OS, Windows10). The use of the software is illustrated in a video tutorial: https://www.youtube.com/channel/UC1WowokomhQJRc71FmsUAcg.

ONTbarcoder

ONTbarcoder (available at: https://github.com/asrivathsan/ONTbarcoder) has three modules. (a) The first is a demultiplexing module which assigns reads to specimen-specific bins. (b) The second is a barcode calling module which reconstructs the barcodes based on the reads in each specimen bin. (c) The third is a barcode comparison module that allows for comparing barcodes obtained via different software and software settings.

  1. a.

    Demultiplexing. In order to obtain barcodes three pieces of information and two files have to be provided to ONTbarcoder via the GUI: (1) primer sequence, (2) expected fragment length, and (3) demultiplexing information (=tag combination for each specimen). The latter is summarized in a demultiplexing file (see Additional File 2 for format). The only other required file is the FASTQ file obtained from MinKNOW/Guppy after basecalling. Demultiplexing by ONTbarcoder starts by analyzing the read length distribution in the FASTQ file. Only those reads that meet the read length threshold are demultiplexed (default= 658 bp corresponding to metazoan COI barcode). Technically, the threshold should be the amplicon length plus the length of both tagged primers, but ONT reads have indel errors such that they are occasionally too short or too long. We therefore advise to specify the amplicon length without primer amd tag as threshold. ONTbarcoder will split reads that are twice the expected fragment length into two parts whose lengths are determined based fragment size, primer and tag lengths, and a window to account for indel errors (default=100 bp).

    Once all reads with a suitable length for demultiplexing have been identified, ONTbarcoder finds the primers via sequence alignment of the primer sequence to the reads (using python library edlib). Up to 10 deviations from the primer sequence are allowed because this step is only needed for determining the primer location and orientation within the read. For demultiplexing based on the tags, the flanking region of the primer sequence is retrieved whereby the number of retrieved bases is equal to the user-specified tag length. The flanking sequences are then matched against the tags from the user-provided tag combinations that are stored in the demultiplexing file. In order to account for sequencing errors, not only exact matches are accepted, but also matches that differ by up to 2 bps from the tag sequence (substitutions/insertions/deletions). Note that accepting tag variants does not lead to demultiplexing error because all tags differ by > 4 bp. All reads with the same tag combination thus identified belong to the same specimen and are pooled into the same bin. To increase efficiency, demultiplexing is parallelized and the search space for primers and tags are restricted to the beginning and end of the reads (window is user-specified).

  1. b.

    Barcode calling: Barcode calling uses the reads within each specimen-specific bin to reconstruct the barcode sequence. The reads are aligned to each other and a consensus sequence is called. Barcode calling is done in three phases: “Consensus by Length”, “Consensus by Similarity” and “Consensus by barcode comparison”. The user can opt to only use some of these methods.

    “Consensus by Length” is the main barcode calling mode and has to rely on efficient alignment in order to provide reasonable speed for thousands of bins each containing many reads. ONTbarcoder delivers speed by using an iterative approach that gradually increases the number of reads (“coverage”) per bin that is used during alignment. However, reconstructing barcodes based on few reads could lead to errors which are weeded out by ONTbarcoder by applying four Quality Control (QC) criteria. The first three QC criteria are applied immediately after the consensus sequence has been called: (1) the barcode must be translatable, (2) it has to match the user-specified barcode length, and (3) the barcode has to be free of ambiguous bases (“N”). To increase the chance of finding a barcode that meets all three criteria, we subsample the reads in each bin by read length (thus the name “Consensus by Length”); i.e., initially only those reads closest to the expected length of the barcode are used. For example, if the user specified coverage = 25x for a 658 bp barcode, ONTbarcoder would only use the 25 reads that have the closest match to 658 bp. The fourth QC measure is only applied to barcodes that have already met the first three QC criteria. A multiple sequence alignment (MSA) is built for the barcodes obtained from the amplicon pool, and any barcode that causes the insertion of gaps in the MSA is rejected. Note that if the user suspects that barcodes of different length are in the amplicon pool, the initial analysis should use the dominant barcode length. The remaining barcodes can then be recovered by re-analyzing all data or only the failed read bins (“remaining”, see below) and bins that yielded barcodes that had to be “fixed”. These bins can be reanalyzed using a different pre-set barcode lengths.

    “Consensus by Similarity”. Barcodes that failed the QC during the “Consensus by Length” stage are often very close to the expected length and have few ambiguous bases, and/or cause few gaps in the MSA. These “preliminary barcodes” can be improved through “Consensus by Similarity”. This method eliminates outlier reads from the read pool in the bins. Such reads can differ considerably (see below) from the signal of the consensus barcode and ONTbarcoder identifies them by sorting all reads by similarity to the preliminary barcode. Only the top 100 reads (this default can be changed) that differ by < 10% from the preliminary barcode are retained and used for calling the barcodes again using the same techniques described under “Consensus by Length” (including the same QC criteria). This improvement step converts many preliminary barcodes found during “Consensus by Length” into barcodes that pass all four QC criteria by filling/removing indels or resolving an ambiguous base.

    “Consensus by barcode comparison”. The remaining preliminary barcodes that still failed to convert into QC-compliant barcodes tend to be based on read bins with low coverage, but some can yield good barcodes after subjecting them to a further improvement step that fixes the remaining errors. ONTbarcoder identifies these errors by finding the 20 most similar QC-compliant barcodes that have already been reconstructed for the other amplicons. The 21 sequences are aligned and ONTbarcoder finds the errors because they cause insertions and deletions in the MSA. Insertions are deleted, gaps are filled with ambiguous bases (“N”), but mismatches are retained. The number and kinds of “fixes” are recorded and added to the FASTA header of the barcode. Large numbers of fixes imply that the barcode should not be used (see below). Rare taxa are disadvantaged by this method, but the barcode for very few if any will ever reach the “Consensus by barcode comparison” stage because most/all will be resolved earlier. We added the “consensus by barcode comparison” step because it helps with resolving weak barcodes for specimens that represent abundant species.

    Output. ONTbarcoder produces a summary table (Outputtable.csv) and FASTA files that contain the different classes of barcodes. Each barcode header contains information on coverage used for barcode calling, coverage of the specimen bin, length of the barcode, number of ambiguities and number of indels fixed. Five sets of barcodes are provided, here discussed in the order of barcode quality: (1) “QC_compliant”: The barcodes in this set satisfy all four QC criteria without correction and are the highest quality barcodes. (2) “Filtered_barcodes”: this file contains the barcodes that are translatable, have < 1% ambiguities, and have up to 5 indels fixed during the last step of the bioinformatics pipeline. These filtering thresholds were calibrated based on the two datasets for which we have Sanger/Illumina barcodes and the resulting MinION barcodes were found to be highly accurate. Note that the file with filtered barcodes also includes the QC_compliant barcodes and that all results discussed in this manuscript are based on filtered barcodes given that they are of much higher quality than the average barcode in BOLDSystems (assessment in Srivathsan, Baloğlu et al. [33]).

    The remaining files include barcodes of lesser and/or suspect quality. (3) “Fixed_barcodes_XtoY”: these files contain barcodes that had indel errors fixed and are grouped by the number of errors fixed. Only the barcodes with 1–5 errors overlap with Filtered barcodes file, if they have < 1% ambiguities. (4) “Allbarcodes”: this file contains all barcodes in sets (1)–(3). (5) “Remaining”: these are barcodes that fail to either translate or are not of predicted length. Note that all barcodes should be checked via BLAST against comprehensive databases in order to detect lab contamination. There are several online tools available for this and we recommend the use of GBIF sequence ID tool [91] which gives straightforward output including a taxonomic summary.

    The output folder also includes the FASTA files that were used for alignment and barcode calling. The raw read bins are in the “demultiplexed” folder, while the resampled bins (by length, coverage, and similarity) are in their respective subfolders named after the search step. Note that the raw reads are encoded to contain information on the orientation of the sequence and thus cannot be directly used in other software without modifications (see ONTbarcoder manual on Github). Lastly, for each barcode FASTA file (1–5), there are folders with the files that were used to call the barcodes. This means that the user can, for example, reanalyze those bins that yielded barcodes with high numbers of ambiguous bases. Lastly, a “runsummary.xlsx” document allows the user to explore the details of the barcodes obtained at every step of the pipeline.

    Algorithms. ONTbarcoder uses the following published algorithms. All alignments utilize MAFFTv7 (Katoh and Standley 2013). The MinION reads are aligned using an approach similar to lamassemble [92] with parameters optimized for nanopore data by “last-train” [93] which accounts for strand-specific error biases. The MAFFT parameters can be modified in the “parfile” supplied with the software which helps with adjusting the values given the rapidly changing nanopore technology. All remaining MSAs in the pipeline (e.g., of preliminary barcodes) use MAFFT’s default settings. All read and sequence similarities are determined with the edlib python library under the Needle-Wunsch (“NW”) setting, while primer search is using the infix options (“HW”). All consensus sequences are called from within the software. This is initially done based on a minimum frequency of 0.3 for each position. This threshold was empirically determined based on datasets where MinION barcodes can be compared to Sanger/Illumina barcodes. The threshold is applied as follows. All sites where > 70% of the reads have a gap are deleted. For the remaining sites, ONTbarcoder accepts those consensus bases that are found in at least > 30% of the reads. If no base/multiple bases reach this threshold, an “N” is inserted. To avoid reliance on a single threshold, ONTbarcoder allows the user to change the consensus calling threshold from 0.2 to 0.5 for all barcodes that fail the QC criteria at 0.3 frequency. However, barcodes called at different frequencies are only accepted if they pass the first three QC criteria and are identical. If no such barcode is found, the 0.3 frequency consensus barcode is used for further processing.

  1. c.

    Barcode comparison. Many users may want to call their barcodes under different settings and then compare barcode sets. The ONTbarcoder GUI simplifies such comparisons. A set of barcodes can be dragged into the window and the user can select a barcode set as the reference. The barcode comparisons are conducted using edlib library. The barcodes in the sets are compared and classified into three categories: “identical” where sequences are a perfect match and lack ambiguities, “compatible” where the sequences only differ by ambiguities, and “incorrect” where the sequences differ by at least one base pair. Several output files are provided. A summary sheet, a FASTA file each for “identical,” “compatible,” and the sequences only found in one dataset. Lastly, there is a folder with FASTA files containing the different barcodes for each incompatible set of sequences. This module can be used for either comparing set(s) of barcodes to reference sequences, or for comparing barcode sets against each other. It furthermore allows for pairwise comparisons and comparisons of multiple sets in an all-vs-all manner. This module was here used to get the final accuracy values presented in Table 2.

Quality of Flongle and MinION barcodes

We first used ONTbarcoder to analyze the data for all six datasets by analyzing all specimen-specific read bins at different coverages (5–200x in steps of 5x). This means that the barcodes for a bin with 27 reads would be called five times at 5x, 10x, 15x, 20x, and 25x coverages while bins with > 200x would be analyzed 40 times at 5x increments. Instead of using conventional rarefaction via random read subsampling, we used the first reads provided by the flow cell because this accurately reflects how the data accumulated during the sequencing run and how many barcodes would have been obtained if the run had been stopped early. This rarefaction approach also allowed for mapping the barcode success rates against either coverage or time.

In order to obtain a “best” estimate for how many barcodes can be obtained, we also carried out one analysis at 200x coverage with the maximum number of “Comparison by Similarity” reads set to 100. All analyses produced a “filtered” set of barcodes (barcodes with < 1% Ns and up to 5 fixes) that were used for assessing the accuracy and quality via comparison with Sanger and Illumina barcodes for Mixed Diptera (MinION R10.3), Afrotropical Phoridae (MinION R10.3), and Mixed Diptera Subsample (Flongle R9.4). For the comparisons of the barcode sets obtained at the various coverages, we used MAFFT and the assess_corrected_barcode.py script in miniBarcoder [35].

Bioinformatics: Application of minibar and NGSpeciesID

We compared the barcodes obtained with ONTbarcoder with those reconstructed with the recently published NGSpeciesID [61]. This comparison was carried out for the datasets that have the reference barcodes obtained with Sanger and Illumina (Mixed Diptera (MinION R10.3), Afrotropical Phoridae (MinION R10.3), and Mixed Diptera Subsample (Flongle R9.4)). Two comparisons were made. Firstly, we used the same demultiplexed reads that were used for calling the barcodes using ONTbarcoder. Secondly, we demultiplexed the data using minibar (git commit: 938ae51) and applied NGSpeciesID (Git commit: 24afc6c) for consensus barcode calling. This approach allowed for software comparisons for consensus calling and demultiplexing. minibar was run using the parameters (-e 2 -E 10 -T), i.e. maximum number of errors in tag region was set to 2, in primer alignment was set to 10 and primer and tags were trimmed from the sequences. NGSpeciesID was run with both full datasets as well as by subsampling the data to 200 reads (--sample_size 200) to keep it comparable with our analysis using ONTbarcoder. Other parameters settings were: intended target length = 658 (--m) and maximum deviation from target length = 50 (--s). Lastly, for the R10.3 datasets, the medaka model was specified by using --model r103_min_high_g345, which was the only available for R10.3.

Availability of data and materials

Source code

Project name: ONTbarcoder

Project home page: https://github.com/asrivathsan/ONTbarcoder [94]

Operating system(s): Windows, Linux, MacOSX

Programming language: Python

License: GNU GPL

ONTbarcoder is available at https://github.com/asrivathsan/ONTbarcoder, which also contains the link to download the raw data and demultiplexing files. The manual for the software is included in the repository https://github.com/asrivathsan/ONTbarcoder/blob/main/ONTBarcoder_manual.pdf. The videos tutorials can be found in the YouTube channel Integrative Biodiversity Discovery: https://www.youtube.com/channel/UC1WowokomhQJRc71FmsUAcg.

Others

The datasets have been uploaded to NCBI, under BioProject: PRJNA745481 [95], SRA accession numbers: SRR15185964, SRR15098600, SRR15098599, SRR15188571, SRR15188570, SRR15188569. The datasets, demultiplexing files and reference barcodes are also available via doi:10.5281/zenodo.5115258 [96].

References

  1. Hebert PDN, Cywinska SL, Ball SL, DeWaard JR. Biological identifications through DNA Barcodes. Proc Biol Sci. 2003;270(1512):313–21. https://0-doi-org.brum.beds.ac.uk/10.1098/rspb.2002.2218.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  2. Tautz D, Arctander P, Minelli A, Thomas RH, Vogler AP. A plea for DNA taxonomy. Trends Ecol Evol. 2003;18(2):70–4. https://0-doi-org.brum.beds.ac.uk/10.1016/S0169-5347(02)00041-1.

    Article  Google Scholar 

  3. Meier R: DNA sequences in taxonomy - Opportunities and challenges. In: The New Taxonomy Systematics Association Special Volume. Edited by Wheeler QD. New York: CRC Press; 2008: 95-128, Dna Sequences In Taxonomy, DOI: https://0-doi-org.brum.beds.ac.uk/10.1201/9781420008562.ch7.

  4. Ivanova NV, DeWaard JR, Hebert PD. An inexpensive, automation-friendly protocol for recovering high-quality DNA. Mol Ecol Notes. 2006;6(4):998–1002. https://0-doi-org.brum.beds.ac.uk/10.1111/j.1471-8286.2006.01428.x.

    Article  CAS  Google Scholar 

  5. Ivanova NV, Borisenko AV, Hebert PD: Express barcodes: racing from specimen to identification. Molecular ecology resources 2009, 9 Suppl s1:35-41.

  6. iBOL [https://ibol.org/resources/sequencing-facility/]. Accessed 1 September 2021

  7. Meier R, Blaimer B, Buenaventura E, Hartop E, Von Rintelen T, Srivathsan A, Yeo D: A re-analysis of the data in Sharkey et al.’s (2021) minimalist revision reveals that BINs do not deserve names, but BOLD Systems needs a stronger commitment to open science. BioRxiv 2021, doi:10.1101/2021.1104.1128.441626.

  8. BOLD Systems: Taxonomy Browser: Arthropoda [https://www.boldsystems.org/index.php/Taxbrowser_Taxonpage?taxid=20]. Accessed 21 July 2021

  9. Stork NE, McBroom J, Gely C, Hamilton J. New approaches narrow global species estimates for beetles, insects, and terrestrial arthropods. PNAS. 2015;112(24):7519–23. https://0-doi-org.brum.beds.ac.uk/10.1073/pnas.1502408112.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  10. Yeo D, Srivathsan A, Meier R. Longer is Not Always Better: Optimizing Barcode Length for Large-Scale Species Discovery and Identification. Syst Biol. 2020;69(5):999–1015. https://0-doi-org.brum.beds.ac.uk/10.1093/sysbio/syaa014.

    Article  PubMed  Google Scholar 

  11. World Economic Forum. The Global Risks Report 2020. [https://www.weforum.org/reports/the-global-risks-report-2020]. Accessed 1 September 2021

  12. Re S. Biodiversity and Ecosystem Services A business case for re/insurance. Zurich: Swiss Re Management Ltd.; 2020.

    Google Scholar 

  13. Abrego NT, Roslin T, Huotari Y, Ji NM, Schmidt NM, Wang J, et al. Accounting for species interactions is necessary for predicting how arctic arthropod communities respond to climate change. Ecography. 2021;44(6):885–96. https://0-doi-org.brum.beds.ac.uk/10.1111/ecog.05547.

    Article  Google Scholar 

  14. Kwong S, Srivathsan A, Meier R. An update on DNA barcoding: low species coverage and numerous unidentified sequences. Cladistics. 2012;28(6):639–44. https://0-doi-org.brum.beds.ac.uk/10.1111/j.1096-0031.2012.00408.x.

    Article  Google Scholar 

  15. Dark taxa: GenBank in a post-taxonomic world [https://iphylo.blogspot.com/2011/04/dark-taxa-genbank-in-post-taxonomic.html]. Accessed February 2021

  16. Barrett RDH, Hebert PD. Identifying spiders through DNA barcodes. Can J Zool. 2005;83(3):481–91. https://0-doi-org.brum.beds.ac.uk/10.1139/z05-024.

    Article  CAS  Google Scholar 

  17. Hendrich L, Pons J, Ribera I, Balke M. Mitochondrial Cox1 sequence data reliably uncover patterns of insect diversity but suffer from high lineage-idiosyncratic error rates. PLoS One. 2010;5(12):e14448. https://0-doi-org.brum.beds.ac.uk/10.1371/journal.pone.0014448.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  18. Hebert PD, DeWaard JR, Zakharov EV, Prosser SWJ, Sones JE, McKeown JTA, et al. A DNA ‘Barcode Blitz’: Rapid Digitization and Sequencing of a Natural History Collection. PLoS One. 2013;8(7):e68535. https://0-doi-org.brum.beds.ac.uk/10.1371/journal.pone.0068535.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  19. Ng'endo RN, Osiemo ZB, Brandl R. DNA Barcodes for Species Identification in the Hyperdiverse Ant Genus Pheidole (Formicidae: Myrmicinae). J Insect Sci. 2013;13(27):27–13. https://0-doi-org.brum.beds.ac.uk/10.1673/031.013.2701.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  20. Hebert PD, Ratnasingham S, Zakharov EV, Tefler AC, Levesque-Beaudin M, Milton A, et al. Counting animal species with DNA barcodes: Canadian insects. Philosophical Trans Royal Soc B: Biol Sci. 2016;371(1702):20150333. https://0-doi-org.brum.beds.ac.uk/10.1098/rstb.2015.0333.

    Article  Google Scholar 

  21. Thormann B, Ahrens D, Armijos DM, Peters MK, Wagner T. Exploring the leaf beetle fauna (Coleoptera: Chrysomelidae) of an Ecuadorian mountain forest using DNA barcoding. PLoS One. 2016;11(2):e0148268. https://0-doi-org.brum.beds.ac.uk/10.1371/journal.pone.0148268.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  22. Knox MA, Hogg ID, Pilditch CA, Garcia-R JC, Hebert PDN, Steinke D. Contrasting patterns of genetic differentiation for deep-sea amphipod taxa along New Zealand's continental margins. Deep-Sea Res I Oceanogr Res Pap. 2020;162:103323. https://0-doi-org.brum.beds.ac.uk/10.1016/j.dsr.2020.103323.

    Article  Google Scholar 

  23. Krell FT. Parataxonomy vs. taxonomy in biodiversity studies – pitfalls and applicability of ‘morphospecies’ sorting. Biodivers Conserv. 2004;13(4):795–812. https://0-doi-org.brum.beds.ac.uk/10.1023/B:BIOC.0000011727.53780.63.

    Article  Google Scholar 

  24. Stribling JB, Pavlik KL, Holdsworth SM, Leppo EW. Data quality, performance, and uncertainty in taxonomic identification for biological assessments. J North Am Benthol Soc. 2008;27(4):906–19. https://0-doi-org.brum.beds.ac.uk/10.1899/07-175.1.

    Article  Google Scholar 

  25. Wang WY, Srivathsan A, Foo M, Yamane SK, Meier R. Sorting specimen-rich invertebrate samples with cost-effective NGS barcodes: Validating a reverse workflow for specimen processing. Mol Ecol Resour. 2018;18(3):490–501. https://0-doi-org.brum.beds.ac.uk/10.1111/1755-0998.12751.

    Article  CAS  PubMed  Google Scholar 

  26. Puillandre N, Modica MV, Zhang Y, Sirovich L, Boisselier MC, Cuaud C, et al. Large-scale species delimitation method for hyperdiverse groups. Mol Ecol. 2012;21(11):2671–91. https://0-doi-org.brum.beds.ac.uk/10.1111/j.1365-294X.2012.05559.x.

    Article  CAS  PubMed  Google Scholar 

  27. Hartop E, Srivathsan A, Ronquist F, Meier R. Large-scale Integrative Taxonomy (LIT): resolving the data conundrum for dark taxa. BioRxiv. 2021. https://0-doi-org.brum.beds.ac.uk/10.1101/2021.1104.1113.439467.

  28. Shokralla S, Gibson JF, Nikbakht H, Janzen D, Hallwachs W, Hajibabaei M. Next-generation DNA barcoding: using next-generation sequencing to enhance and accelerate DNA barcode capture from single specimens. Mol Ecol Resour. 2014;14(5):892–901. https://0-doi-org.brum.beds.ac.uk/10.1111/1755-0998.12236.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  29. Shokralla S, Porter TM, Gibson JF, Dobosz R, Janzen D, Hallwachs W, et al. Massively parallel multiplex DNA sequencing for specimen identification using an Illumina MiSeq platform. Sci Rep. 2015;5(1):9687. https://0-doi-org.brum.beds.ac.uk/10.1038/srep09687.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  30. Meier R, Wong W, Srivathsan A. Foo M: $1 DNA barcodes for reconstructing complex phenomes and finding rare species in specimen-rich samples. Cladistics. 2016;32(1):100–10. https://0-doi-org.brum.beds.ac.uk/10.1111/cla.12115.

    Article  Google Scholar 

  31. Hebert PD, Braukmann TWA, Prosser SWJ, Ratnasingham S, deWaard JR, Ivanova NV, Janzen D, Hallwachs W, Naik S, Sones JE et al: A Sequel to Sanger: amplicon sequencing that scales. BMC Genomics 2018, 19:219, 1, DOI: https://0-doi-org.brum.beds.ac.uk/10.1186/s12864-018-4611-3.

  32. Krehenwinkel H, Kennedy SR, Rueda A, Lam A, Gillespie RG. Scaling up DNA barcoding – Primer sets for simple and cost efficient arthropod systematics by multiplex PCR and Illumina amplicon sequencing. Methods Ecol Evol. 2018;9(11):2181–93. https://0-doi-org.brum.beds.ac.uk/10.1111/2041-210X.13064.

    Article  Google Scholar 

  33. Srivathsan A, Baloglu B, Wang W, Tan WX, Bertrand D, Ng AHQ, et al. A MinION-based pipeline for fast and cost-effective DNA barcoding. Mol Ecol Resour. 2018;18(5):1035–49. https://0-doi-org.brum.beds.ac.uk/10.1111/1755-0998.12890.

    Article  CAS  Google Scholar 

  34. Yeo D, Srivathsan A, Puniamoorthy J, Foo M, Grootaert P, Chan L, et al. Mangroves are an overlooked hotspot of insect diversity despite low plant diversity. BMC Biol. 2021. https://0-doi-org.brum.beds.ac.uk/10.1186/s12915-12021-01088-z.

  35. Srivathsan A, Hartop E, Puniamoorthy J, Lee WT, Kutty SN, Kurina O, et al. Rapid, large-scale species discovery in hyperdiverse taxa using 1D MinION sequencing. BMC Biol. 2019;17(1):96. https://0-doi-org.brum.beds.ac.uk/10.1186/s12915-019-0706-9.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  36. Ponder W, Lunney D: The Other 99% - the Conservation and Biodiversity of Invertebrates. Sydney: Transactions of the Royal Zoological Society of New South Wales; 1999, DOI: https://0-doi-org.brum.beds.ac.uk/10.7882/0958608512.

  37. Watsa M, Erkenswick GA. Pomerantz a, Prost S: Portable sequencing as a teaching tool in conservation and biodiversity research. PLoS Biol. 2020;18(4):e3000667. https://0-doi-org.brum.beds.ac.uk/10.1371/journal.pbio.3000667.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  38. Pomerantz A, Peñafel A, Arteaga A, Bustamante L, Pichardo F, Coloma LA, Barrio-Amorós CL, Salazar-Valenzuela D, Prost S: Real-time DNA barcoding in a rainforest using nanopore sequencing: opportunities for rapid biodiversity assessments and local capacity building. Gigascience 2018, 7(4):giy033.

  39. Marshall SA. Field photography and the democratization of arthropod taxonomy. Am Entomol. 2008;54(4):207–10. https://0-doi-org.brum.beds.ac.uk/10.1093/ae/54.4.207.

    Article  Google Scholar 

  40. Dunn RR, Beasley DE. Democratizing evolutionary biology, lessons from insects. Curr Opinion Insect Sci. 2016;18:89–92. https://0-doi-org.brum.beds.ac.uk/10.1016/j.cois.2016.10.005.

    Article  Google Scholar 

  41. Baloglu B, Clews E, Meier R. NGS barcoding reveals high resistance of a hyperdiverse chironomid (Diptera) swamp fauna against invasion from adjacent freshwater reservoirs. Front Zool. 2018;15(1):31. https://0-doi-org.brum.beds.ac.uk/10.1186/s12983-018-0276-7.

    Article  PubMed  PubMed Central  Google Scholar 

  42. Yeo D, Puniamoorthy J, Ngiam RWJ, Meier R. Towards holomorphology in entomology: rapid and cost-effective adult–larva matching using NGS barcodes. Syst Entomol. 2018;43(4):678–91. https://0-doi-org.brum.beds.ac.uk/10.1111/syen.12296.

    Article  Google Scholar 

  43. Lim NK, Tay YC, Srivathsan A, Tan JW, Kwik JT, Baloglu B, et al. Next-generation freshwater bioassessment: eDNA metabarcoding with a conserved metazoan primer reveals species-rich and reservoir-specific communities. R Soc Open Sci. 2016;3(11):160635. https://0-doi-org.brum.beds.ac.uk/10.1098/rsos.160635.

    Article  PubMed  PubMed Central  Google Scholar 

  44. Srivathsan A, Nagarajan N, Meier R. Boosting natural history research via metagenomic clean-up of crowdsourced feces. PLoS Biol. 2019;17(11):e3000517. https://0-doi-org.brum.beds.ac.uk/10.1371/journal.pbio.3000517.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  45. Biodiversity of Singapore [https://singapore.biodiversity.online/]. Accessed 1 September 2021

  46. Grootaert P. Revision of the genus Thinophihis Wahlberg (Diptera: Dolichopodidae) from Singapore and adjacent regions: A long term study with a prudent reconciliation of a genetic to a classic morphological approach. Raffles Bull Zool. 2018;66:413–73.

    Google Scholar 

  47. Tang CF, Grootaert P, Yang D. Protomedetera, a new genus from the Oriental and Australasian realms (Diptera, Dolichopodidae, Medeterinae). ZooKeys. 2018;743(743):137–51. https://0-doi-org.brum.beds.ac.uk/10.3897/zookeys.743.22696.

    Article  Google Scholar 

  48. Tang CF, Yang D, Grootaert P. Revision of the genus Lichtwardtia Enderlein in Southeast Asia, a tale of highly diverse male terminalia (Diptera, Dolichopodidae). ZooKeys. 2018;798(798):63–107. https://0-doi-org.brum.beds.ac.uk/10.3897/zookeys.798.28107.

    Article  Google Scholar 

  49. Grootaert P. Species turnover between the northern and southern part of the South China Sea in the Elaphropeza Macquart mangrove fly communities of Hong Kong and Singapore (Insecta: Diptera: Hybotidae). Eur J Taxonomy. 2019;554(554):1–27. https://0-doi-org.brum.beds.ac.uk/10.5852/ejt.2019.554.

    Article  Google Scholar 

  50. Samoh AC, Satasook C, Grootaert P. NGS-barcodes, haplotype networks combined to external morphology help to identify new species in the mangrove genus Ngirhaphium Evenhuis & Grootaert, 2002 (Diptera: Dolichopodidae: Rhaphiinae) in Southeast Asia. Raffles Bull Zool. 2019;67:640–59.

    Google Scholar 

  51. Ismay B, Ang YC. First records of Pseudogaurax Malloch 1915 (Diptera: Chloropidae) from Singapore, with the description of two new species discovered with NGS barcodes. Raffles Bull Zool. 2019;67:412–20.

    Google Scholar 

  52. Wang WY, Yamada A, Eguchi K. First discovery of the mangrove ant Pheidole sexspinosa Mayr, 1870 (Formicidae: Myrmicinae) from the Oriental region, with redescriptions of the worker, queen and male. Raffles Bull Zool. 2018;66:652–63.

    Google Scholar 

  53. Wang WY, Yong GWJ, Jaitrong W. The ant genus Rhopalomastix (Hymenoptera: Formicidae: Myrmicinae) in Southeast Asia, with descriptions of four new species from Singapore based on morphology and DNA barcoding. Zootaxa. 2018;4532(3):301–40. https://0-doi-org.brum.beds.ac.uk/10.11646/zootaxa.4532.3.1.

    Article  PubMed  Google Scholar 

  54. Wang WY, Yamada A, Yamane S. Maritime trap-jaw ants (Hymenoptera, Formicidae, Ponerinae) of the Indo-Australian region - redescription of Odontomachus malignus Smith and description of a related new species from Singapore, including first descriptions of males. ZooKeys. 2020;915:137–74. https://0-doi-org.brum.beds.ac.uk/10.3897/zookeys.915.38968.

    Article  PubMed  PubMed Central  Google Scholar 

  55. Integrative Biodiversity Discovery [https://www.youtube.com/channel/UC1WowokomhQJRc71FmsUAcg]. Accessed 1 September 2021

  56. Wick RR. Performance of neural network basecalling tools for Oxford Nanopore sequencing. Genome Biol. 2019;20(1):129. https://0-doi-org.brum.beds.ac.uk/10.1186/s13059-019-1727-y.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  57. Silvestre-Ryan J, Holmes I. Pair consensus decoding improves accuracy of neural network basecallers for nanopore sequencing. Genome Biol. 2021;22(1):38. https://0-doi-org.brum.beds.ac.uk/10.1186/s13059-020-02255-1.

    Article  PubMed  PubMed Central  Google Scholar 

  58. Chang JJM, Ip YCA, Ng CSL, Huang D. Takeaways from Mobile DNA Barcoding with BentoLab and MinION. Genes. 2020;11(10):1121. https://0-doi-org.brum.beds.ac.uk/10.3390/genes11101121.

    Article  CAS  PubMed Central  Google Scholar 

  59. Vereecke N, Bokma J, Haesebrouck F, Nauwynck H, Boyen F, Pardon B, et al. High quality genome assemblies of Mycoplasma bovis using a taxon-specific Bonito basecaller for MinION and Flongle long-read nanopore sequencing. BMC Bioinformatics. 2020;21(1):517. https://0-doi-org.brum.beds.ac.uk/10.1186/s12859-020-03856-0.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  60. New research algorithms yield accuracy gains for nanopore sequencing [https://nanoporetech.com/about-us/news/new-research-algorithms-yield-accuracy-gains-nanopore-sequencing]. Accessed 1 September 2021

  61. Sahlin K, Lim MCW, Prost S. NGSpeciesID: DNA barcode and amplicon consensus generation from long-read sequencing data. Ecol Evol. 2021;11(3):1392–8. https://0-doi-org.brum.beds.ac.uk/10.1002/ece3.7146.

    Article  PubMed  PubMed Central  Google Scholar 

  62. Ho JKI, Puniamoorthy J, Srivathsan A, Meier R. MinION sequencing of seafood in Singapore reveals creatively labelled flatfishes, confused roe, pig DNA in squid balls, and phantom crustaceans. Food Control. 2020;112:107144. https://0-doi-org.brum.beds.ac.uk/10.1016/j.foodcont.2020.107144.

    Article  CAS  Google Scholar 

  63. Cranston PS, Ang A, Heyzer A, Lim RBH, Wong WH, Woodford JM, et al. The nuisance midges (Diptera: Chironomidae) of Singapore's Pandan and Bedok reservoirs. Raffles Bull Zool. 2013;61:779–93.

    Google Scholar 

  64. Xu Z, Mai Y, Liu D, He W, Lin X, Xu C, Zhang L, Meng X, Mafofo J, Zaher WA et al: Fast-Bonito: A Faster Basecaller for Nanopore Sequencing. BioRxiv 2020:doi:10.1101/2020.1110.1108.318535.

  65. Chang JJM, Ip YCA, Bauman AG, Huang D. MinION-in-ARMS: Nanopore Sequencing to Expedite Barcoding of Specimen-Rich Macrofaunal Samples From Autonomous Reef Monitoring Structures. Front Mar Sci. 2020;7:448. https://0-doi-org.brum.beds.ac.uk/10.3389/fmars.2020.00448.

    Article  Google Scholar 

  66. Menegon M, Cantaloni C, Rodriguez-Prieto A, Centomo C, Abdelfattah A, Rossato M, et al. On site DNA barcoding by nanopore sequencing. PLoS One. 2017;12(10):e0184741. https://0-doi-org.brum.beds.ac.uk/10.1371/journal.pone.0184741.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  67. Wurzbacher C, Larsson E, Bengtsson-Palme J, den Wyngaert SV, Svantesson S, Kristiansson E, et al. Introducing ribosomal tandem repeat barcoding for fungi. Mol Ecol Resour. 2018;19(1):118–27. https://0-doi-org.brum.beds.ac.uk/10.1111/1755-0998.12944.

    Article  CAS  PubMed  Google Scholar 

  68. Krehenwinkel H, Pomerantz A, Henderson JB, Kennedy SR, Lim JY, Swamy V, et al. Nanopore sequencing of long ribosomal DNA amplicons enables portable and simple biodiversity assessments with high phylogenetic resolution across broad taxonomic scale. GigaScience. 2019;8(5). https://0-doi-org.brum.beds.ac.uk/10.1093/gigascience/giz006.

  69. Maestri S, Cosetino E, Paterno M, Freitag H, Garces JM, Marcolungo L, et al. A Rapid and Accurate MinION-Based Workflow for Tracking Species Biodiversity in the Field. Genes. 2019;10(6):468. https://0-doi-org.brum.beds.ac.uk/10.3390/genes10060468.

    Article  CAS  PubMed Central  Google Scholar 

  70. Knot IE, Zouganelis GD, Weedall GD, Wich SA, Rae R. DNA Barcoding of Nematodes Using the MinION. Front Ecol Evol. 2020;8:100. https://0-doi-org.brum.beds.ac.uk/10.3389/fevo.2020.00100.

    Article  Google Scholar 

  71. Seah A, Lim MCW, McAloose D, Prost S, Seimon TA. MinION-Based DNA Barcoding of Preserved and Non-Invasively Collected Wildlife Samples. Genes. 2020;11(4):445. https://0-doi-org.brum.beds.ac.uk/10.3390/genes11040445.

    Article  CAS  PubMed Central  Google Scholar 

  72. Daily J. Parasail: SIMD C library for global, semi-global, and local pairwise sequence alignments. BMC Bioinformatics. 2016;17(1):81. https://0-doi-org.brum.beds.ac.uk/10.1186/s12859-016-0930-z.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  73. Sahlin K, Medvedev P. De Novo Clustering of Long-Read Transcriptome Data Using a Greedy, Quality Value-Based Algorithm. J Comput Biol. 2020;27(4):472–84. https://0-doi-org.brum.beds.ac.uk/10.1089/cmb.2019.0299.

    Article  CAS  PubMed  Google Scholar 

  74. Elbrecht V, Leese F. Can DNA-Based Ecosystem Assessments Quantify Species Abundance? Testing Primer Bias and Biomass—Sequence Relationships with an Innovative Metabarcoding Protocol. PLoS One. 2015;10(7):e0130324. https://0-doi-org.brum.beds.ac.uk/10.1371/journal.pone.0130324.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  75. Buchner D, Beermann AJ, Leese F, Weiss M. Cooking small and large portions of “biodiversity-soup”: Miniaturized DNA metabarcoding PCRs perform as good as large-volume PCRs. Ecol Evol. 2021;11(13):9092–9. https://0-doi-org.brum.beds.ac.uk/10.1002/ece3.7753.

    Article  Google Scholar 

  76. Hickerson MJ, Meyer CP. Moritz: DNA Barcoding Will Often Fail to Discover New Animal Species over Broad Parameter Space. Syst Biol. 2006;55(5):729–39. https://0-doi-org.brum.beds.ac.uk/10.1080/10635150600969898.

    Article  PubMed  Google Scholar 

  77. Valan M, Makonyi K, Maki A, Vondráček D, Ronquist F. Automated Taxonomic Identification of Insects with Expert-Level Accuracy Using Effective Feature Transfer from Convolutional Networks. Syst Biol. 2019;68(6):876–95. https://0-doi-org.brum.beds.ac.uk/10.1093/sysbio/syz014.

    Article  PubMed  PubMed Central  Google Scholar 

  78. Wührl I, Pylatiuk C, Giersch M, Lapp F, von Rintelen T, Balke M, et al. DiversityScanner: Robotic discovery of small invertebrates with machine learning methods. BioRxiv. 2021. https://0-doi-org.brum.beds.ac.uk/10.1101/2021.1105.1117.444523.

  79. Leray M, Yang JY, Meyer CP, Mills SC, Agudelo N, Ranwez V, et al. A new versatile primer set targeting a short fragment of the mitochondrial COI region for metabarcoding metazoan diversity: application for characterizing coral reef fish gut contents. Front Zool. 2013;10(1):34. https://0-doi-org.brum.beds.ac.uk/10.1186/1742-9994-10-34.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  80. Folmer O, Black M, Hoeh W, Lutz R, Vrijenhoek R. DNA primers for amplification of mitochondrial cytochrome c oxidase I from diverse metazoan invertebrates. Mol Marina Biol Technol. 1994;3(5):294–9.

    CAS  Google Scholar 

  81. Geller J, Meyer C, Parker M, Hawk H. Redesign of PCR primers for mitochondrial cytochrome c oxidase subunit I for marine invertebrates and application in all-taxa biotic surveys. Mol Ecol Resour. 2013;13(5):851–61. https://0-doi-org.brum.beds.ac.uk/10.1111/1755-0998.12138.

    Article  CAS  PubMed  Google Scholar 

  82. Truett G, Heeger P, Mynatt R, Truett A, Walker J, Warman MJB. Preparation of PCR-quality mouse genomic DNA with hot sodium hydroxide and tris (HotSHOT). Biotechniques. 2000;29(1):52–4. https://0-doi-org.brum.beds.ac.uk/10.2144/00291bm09.

    Article  CAS  PubMed  Google Scholar 

  83. Thongjued K, Chotigeat S, Bumrungsri P, Thahakiatkrai P, Kitpipit T. A new cost-effective and fast direct PCR protocol for insects based on PBS buffer. Mol Ecol Resour. 2019;19(3):691–701. https://0-doi-org.brum.beds.ac.uk/10.1111/1755-0998.13005.

    Article  CAS  PubMed  Google Scholar 

  84. Arribas P, Andújar C, Hopkins K, Shepherd M, Vogler AP. Metabarcoding and mitochondrial metagenomics of endogean arthropods to unveil the mesofauna of the soil. Methods Ecol Evol. 2016;7(9):1071–81. https://0-doi-org.brum.beds.ac.uk/10.1111/2041-210X.12557.

    Article  Google Scholar 

  85. Crampton-Platt A, Yu DW, Zhou X, Vogler AP: Mitochondrial metagenomics: letting the genes out of the bottle. GigaScience 2016, 5(1):s13742-13016-10120-y.

  86. Step 2: Tagged Amplicon PCR in one step [https://www.youtube.com/watch?v=NxYOvZGhD0E&t=5 s]. Accessed 25 March 2021

  87. Zizka VM, Elbrecht V, Macher JN, Leese F. Assessing the influence of sample tagging and library preparation on DNA metabarcoding. Mol Ecol Resour. 2019;19(4):893–9. https://0-doi-org.brum.beds.ac.uk/10.1111/1755-0998.13018.

  88. Valentini A, Miquel C, Nawaz MA, Bellemain E, Coissac E, Pompanon F, et al. New perspectives in diet analysis based on DNA barcoding and parallel pyrosequencing: the trnL approach. Mol Ecol Resour. 2009;9(1):51–60. https://0-doi-org.brum.beds.ac.uk/10.1111/j.1755-0998.2008.02352.x.

    Article  CAS  PubMed  Google Scholar 

  89. Rohland N, Reich D. Cost-effective, high-throughput DNA sequencing libraries for multiplexed target capture. Genome Res. 2012;22(5):939–46. https://0-doi-org.brum.beds.ac.uk/10.1101/gr.128124.111.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  90. Step 3: Pooling and clean-up of PCR products [https://www.youtube.com/watch?v=YKVWEvcSw6A]. Accessed 1 April 2021

  91. Sequence-ID [https://www.gbif.org/tools/sequence-id]. Accessed 1 September 2021

  92. Frith MC, Mitsuhashi S, Katoh K: lamassemble: Multiple Alignment and Consensus Sequence of Long Reads. In: Multiple Sequence Alignment. Edited by Katoh K. New York: Humana; 2020: 135-145, DOI: https://0-doi-org.brum.beds.ac.uk/10.1007/978-1-0716-1036-7_9.

  93. Hamada MY, Ono Y, Asai K, Frith MC. Training alignment parameters for arbitrary sequencers with LAST-TRAIN. Bioinformatics. 2017;33(6):926–8. https://0-doi-org.brum.beds.ac.uk/10.1093/bioinformatics/btw742.

    Article  CAS  PubMed  Google Scholar 

  94. Srivathsan A, Lee L, Katoh K, Hartop E, Kutty SN, Wong J, Yeo D, Meier R: ONTbarcoder. Github: https://github.com/asrivathsan/ONTbarcoder (2021).

  95. Srivathsan A, Lee L, Katoh K, Hartop E, Kutty SN, Wong J, Yeo D, Meier R: MinION barcodes: biodiversity discovery and identification by everyone, for everyone. NCBI SRA: https://0-www-ncbi-nlm-nih-gov.brum.beds.ac.uk/bioproject/PRJNA745481 (2021).

  96. Srivathsan A, Lee L, Katoh K, Hartop E, Kutty SN, Wong J, et al. MinION barcodes: biodiversity discovery and identification by everyone, for everyone. Zenodo dataset. 2021. https://0-doi-org.brum.beds.ac.uk/10.5281/zenodo.5115258.

Download references

Acknowledgements

We would like to thank John T. Longino and Michael Branstetter for providing valuable comments on the manuscript. For the Palaearctic phorid samples, we would like to thank Dave Karlsson, the Swedish Insect Inventory Project, and the crew at Station Linné that sorted out the phorids. We would also like to thank Wan Ting Lee for help with molecular work, and the numerous staff, students, and interns who have contributed to the establishment of the pipeline in the NUS laboratory. We would also like to acknowledge Suphavilai Chayaporn and Niranjan Nagarajan from Genome Institute of Singapore for their help with basecalling using bonito.

Funding

This work was supported by a Ministry of Education grant on biodiversity discovery (R-154-000-A22-112). Open Access funding enabled and organized by Projekt DEAL.

Author information

Authors and Affiliations

Authors

Contributions

RM conceived the pipeline, AS, RM, and KK developed ONTbarcoder, LL performed molecular work, EH contributed the samples, DY and SNK developed molecular methods. JW and LL made the video tutorials. RM and AS wrote the manuscript. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Rudolf Meier.

Ethics declarations

Ethics approval and consent to participation:

The specimens were collected with valid permits (see the “Acknowledgements” section).

Consent for publication

Not applicable

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Additional file 1.

Tag sets developed for MinION barcoding.

Additional file 2.

Sample demultiplexing file.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Srivathsan, A., Lee, L., Katoh, K. et al. ONTbarcoder and MinION barcodes aid biodiversity discovery and identification by everyone, for everyone. BMC Biol 19, 217 (2021). https://0-doi-org.brum.beds.ac.uk/10.1186/s12915-021-01141-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://0-doi-org.brum.beds.ac.uk/10.1186/s12915-021-01141-x

Keywords