Literature DB >> 28673253

An improved filtering algorithm for big read datasets and its application to single-cell assembly.

Axel Wedemeyer1, Lasse Kliemann2, Anand Srivastav2, Christian Schielke2, Thorsten B Reusch3, Philip Rosenstiel4.   

Abstract

BACKGROUND: For single-cell or metagenomic sequencing projects, it is necessary to sequence with a very high mean coverage in order to make sure that all parts of the sample DNA get covered by the reads produced. This leads to huge datasets with lots of redundant data. A filtering of this data prior to assembly is advisable. Brown et al. (2012) presented the algorithm Diginorm for this purpose, which filters reads based on the abundance of their k-mers.
METHODS: We present Bignorm, a faster and quality-conscious read filtering algorithm. An important new algorithmic feature is the use of phred quality scores together with a detailed analysis of the k-mer counts to decide which reads to keep.
RESULTS: We qualify and recommend parameters for our new read filtering algorithm. Guided by these parameters, we remove in terms of median 97.15% of the reads while keeping the mean phred score of the filtered dataset high. Using the SDAdes assembler, we produce assemblies of high quality from these filtered datasets in a fraction of the time needed for an assembly from the datasets filtered with Diginorm.
CONCLUSIONS: We conclude that read filtering is a practical and efficient method for reducing read data and for speeding up the assembly process. This applies not only for single cell assembly, as shown in this paper, but also to other projects with high mean coverage datasets like metagenomic sequencing projects. Our Bignorm algorithm allows assemblies of competitive quality in comparison to Diginorm, while being much faster. Bignorm is available for download at https://git.informatik.uni-kiel.de/axw/Bignorm .

Entities:  

Keywords:  Bignorm; Coverage; Diginorm; Read filtering; Read normalization; Singe cell sequencing

Mesh:

Year:  2017        PMID: 28673253      PMCID: PMC5496428          DOI: 10.1186/s12859-017-1724-7

Source DB:  PubMed          Journal:  BMC Bioinformatics        ISSN: 1471-2105            Impact factor:   3.169


Background

Next generation sequencing systems (such as the Illumina platform) tend to produce an enormous amount of data — especially when used for single-cell or metagenomic protocols — of which only a small fraction is essential for the assembly of the genome. It is thus advisable to filter that data prior to assembly. A coverage of about 20 for each position of the genome has been empirically determined as optimal for a successful assembly of the genome [1]. On the other hand, in many setups, the coverage for a large number of loci is much higher than 20, often rising up to tens or hundreds of thousands, especially for single-cell or metagenomic protocols (see Table 1, “max” column for the maximal coverage of the datasets that we use in our experiments). In order to speed up the assembly process — or in extreme cases to make it possible in the first place, given certain restrictions on available RAM and/or time — a sub-dataset of the sequencing dataset is to be determined such that an assembly based on this sub-dataset works as good as possible. For a formal description of the problem, see Additional file 1: Section S1.
Table 1

Coverage statistics for Bignorm with Q 0=20, Diginorm, and the raw datasets

DatasetAlgorithm \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$\mathcal {P}10$\end{document}P10 Mean \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$\mathcal {P}90$\end{document}P90 Max
AcetoBignorm61322166801
Diginorm717129512,020
Raw15956217,227551,000
AlphaproteoBignorm104392884
Diginorm71734816681
Raw25530214,070303,200
ArcoBignorm198542103
Diginorm13622006114
Raw310,8504091220,600
ArmaBignorm82332358
Diginorm8791415000
Raw17629111831,260
ASZN2Bignorm4070832012
Diginorm231433543437
Raw501738478443,840
BacteroidesBignorm374906768
Diginorm31232057933
Raw760518127570,900
CaldiBignorm2563110786
Diginorm15671353584
Raw271556364333,530
CauloBignorm722821610,400
Diginorm836249135,520
Raw810,2209737464,300
ChloroflexiBignorm8721012822
Diginorm941287820,850
Raw956127741316,900
CrenarchBignorm81041593770
Diginorm10560128529,720
Raw10808614,987316,700
CyanobactBignorm91441535234
Diginorm10756145026,980
Raw10947811,076356,600
E.coliBignorm374556234
Diginorm503829227864
Raw1122522637856,520
SAR324Bignorm2449711410
Diginorm18531072473
Raw2610862761106,000
Coverage statistics for Bignorm with Q 0=20, Diginorm, and the raw datasets

Previous work

We briefly survey two prior approaches for read pre-processing, namely trimming and error correction. Read trimming programs (see [2] for a recent review) try to cut away the low quality parts of a read (or drop reads whose overall quality is low). These algorithms can be classified into two groups: running sum (Cutadapt, ERNE, SolexaQA with -bwa option [3-5]) and window based (ConDeTri, FASTX, PRINSEQ, Sickle, SolexaQA, and Trimmomatic [5-10]). The running sum algorithms take a quality threshold Q as input, which is subtracted from the phred score of each base of the read. The algorithms vary with respect to the functions applied to these differences to determine the quality of a read, the direction in which the read is processed, the function’s quality threshold upon which the cutoff point is determined, and the minimum length of a read after the cutoff to be accepted. The window based algorithms, on the other hand, first cut away the reads’s 3’ or 5’ ends (depending on the algorithm) whose quality is below a specified minimum quality parameter and then determine a contiguous sequence of high quality using techniques similar to those used in the running sum algorithms. All of these trimming algorithms generally work on a per-read basis, reading the input once and processing only a single read at a time. The drawback of this approach is that low quality sequences within a read are being dropped even when these sequences are not covered by any other reads whose quality is high. On the other hand, sequences whose quality and abundance are high are added over and over although their coverage is already high enough, which yields higher memory usage than necessary. Most of the error correction programs (see [11] for a recent review) read the input twice: a first pass gathers statistics about the data (often k-mer counts) which in a second pass are used to identify and correct errors. Some programs trim reads which cannot be corrected. Again, coverage is not a concern: reads which seem to be correct or which can be corrected are always accepted. According to [11], currently the best known and most used error correction program is Quake [12]. Its algorithm is based on two assumptions: “For sufficiently large k, almost all single-base errors alter k-mers overlapping the error to versions that do not exist in the genome. Therefore, k-mers with low coverage, particularly those occurring just once or twice, usually represent sequencing errors.” Errors follow a Gamma distribution, whereas true k-mers are distributed as per a combination of the Normal and the Zeta distribution. In the first pass of the program, a score based on the phred quality scores of the individual nucleotides is computed for each k-mer. After this, Quake computes a coverage cutoff value, that is, the local minimum of the k-mer spectrum between the Gamma and the Normal maxima. All k-mers having a score higher than the coverage cutoff are considered to be correct (trusted or solid in error correction terminology), the others are assumed to be erroneous. In a second pass, Quake reads the input again and tries to replace erroneous k-mers by trusted ones using a maximum likelihood approach. Reads which cannot be corrected are optionally trimmed or dumped. But the main goal of error correctors is not the reduction of the data volume (in particular, they do not pay attention to excessive coverage), hence they cannot replace the following approaches. Brown et al. invented an algorithm named Diginorm [1, 13] for read filtering that rejects or accepts reads based on the abundance of their k-mers. The name Diginorm is a short form for digital normalization: the goal is to normalize the coverage over all loci, using a computer algorithm after sequencing. The idea is to remove those reads from the input which mainly consist of k-mers that have already been observed many times in other reads. Diginorm processes reads one by one, splits them into k-mers, and counts these k-mers. In order to save RAM, Diginorm does not keep track of those numbers exactly, but instead keeps appropriate estimates using the count-min sketch (CMS [14], see Additional file 1: Section S1.2 for a formal description). A read is accepted if the median of its k-mer counts is below a fixed threshold, usually 20. It was demonstrated that successful assemblies are still possible after Diginorm removed the majority of the data.

Our algorithm — Bignorm

Diginorm is a pioneering work. However, the following points, which are important from the biological or computational point of view, are not covered in Diginorm. We consider them as the algorithmic innovation in our work: We incorporate the important phred quality score into the decision whether to accept or to reject a read, using a quality threshold. This allows a tuning of the filtering process towards high-quality assemblies by using different thresholds. When deciding whether to accept or to reject a read, we do a detailed analysis of the numbers in the count vectors. Diginorm merely considers their medians. We offer a better handling of the N case, that is, when the sequencing machine could not decide for a particular nucleotide. Diginorm simply converts all N to A, which can lead to false k-mer counts. We provide a substantially faster implementation. For example, we include fast hashing functions (see [15, 16]) for counting k-mers through the count-min sketch data structure (CMS), and we use the C programming language and OpenMP. A technical description of our algorithm, called Bignorm, is given in Additional file 1: Section S1.3, which might be important for computer scientists and mathematicians working in this area.

Methods

Experimental setup

For the experimental evaluation, we collected the following datasets. We use two single cell datasets of the UC San Diego, one of the group of Ute Hentschel (now GEOMAR Kiel) and 10 datasets from the JGI Genome Portal. The datasets from JGI were selected as follows. On the JGI Genome Portal [17], we used “single cell” as search term. We narrowed the results down to datasets with all of the following characteristics: status “complete”; containing read data and an assembly in the download section; aligning the reads to the assembly using Bowtie 2 [18] yields an “overall alignment rate” of more than 70%. From those datasets, we arbitrarily selected one per species, until we had a collection of 10 datasets. We refer to each combination of species and selected dataset as a case in the following. In total, we have 13 cases; the details are given in Table 2.
Table 2

Selected species and datasets (Cases)

Short nameSpecies/DescriptionSourceURL
ASZN2Candidatus Poribacteria sp. WGA-4E_FDHentschel Group [27][28]
AcetoAcetothermia bacterium JGI MDM2 LHC4sed-1-H19JGI Genome Portal[29]
AlphaproteoAlphaproteobacteria bacterium SCGC AC-312_D23v2JGI Genome Portal[30]
ArcoArcobacter sp. SCGC AAA036-D18JGI Genome Portal[31]
ArmaArmatimonadetes bacterium JGI 0000077-K19JGI Genome Portal[32]
BacteroidesBacteroidetes bacVI JGI MCM14ME016JGI Genome Portal[33]
CaldiCalescamantes bacterium JGI MDM2 SSWTFF-3-M19JGI Genome Portal[34]
CauloCaulobacter bacterium JGI SC39-H11JGI Genome Portal[35]
ChloroflexiChloroflexi bacterium SCGC AAA257-O03JGI Genome Portal[36]
CrenarchCrenarchaeota archaeon SCGC AAA261-F05JGI Genome Portal[37]
CyanobactCyanobacteria bacterium SCGC JGI 014-E08JGI Genome Portal[38]
E.coliE.coli K-12, strain MG1655, single cell MDA, Cell oneUC San Diego[39]
SAR324SAR324 (Deltaproteobacteria)UC San Diego[39]
Selected species and datasets (Cases) For each case, we analyze the results obtained with Diginorm and with Bignorm using quality parameters Q 0∈{5,8,10,12,15,18,20,…,45}. Analysis is done on the one hand in terms of data reduction, quality, and coverage. On the other hand, we study actual assemblies that are computed with SPAdes [19] based on the raw and filtered datasets. For comparison, we also did assemblies using IDBA_UD [20] and Velvet-SC [21] (for Q 0=20 only). All the details are given in the next section. The dimensions of the count-min sketch are fixed to m=1,024 and t=10, thus 10 GB of RAM were used.

Results

For our analysis, we mainly considered percentiles and quartiles of measured parameters. The ith quartile is denoted by , where we use for the minimum, for the median, and for the maximum. The ith percentile is denoted by ; we often use the 10th percentile .

Number of accepted reads

Statistics for the number of accepted reads are given as a box plot in Fig. 1 a. This plot is constructed as follows. Each of the blue boxes corresponds to Bignorm with a particular Q 0, while Diginorm is represented as the wide orange box in the background (recall that Diginorm does not consider quality values). Note that the “whiskers” of Diginorm’s box are shown as light-orange areas. For each box, for each case the raw dataset is filtered using the algorithm and algorithmic parameters corresponding to that box, and the percentage of the accepted reads is taken into consideration. For example, if the top of a box (which corresponds to the 3rd quartile, also denoted ) gives the value x %, then we know that for 75% of the cases, x % or less of the reads were accepted using the algorithm and algorithmic parameters corresponding to this box.
Fig. 1

Box plots showing reduction and quality statistics. a Percentage of accepted reads (i.e. reads kept) over all datasets. b Mean quality values of the accepted reads over all datasets

Box plots showing reduction and quality statistics. a Percentage of accepted reads (i.e. reads kept) over all datasets. b Mean quality values of the accepted reads over all datasets There are two prominent outliers: one for Diginorm with value ≈29% (shown as the red line at the top) and one for Bignorm for Q 0=5 with value ≈26%. In both cases, the Arma dataset is responsible, which is the dataset with the worst mean phred score and the strongest decline of the phred score over the read length (see Additional file 1: Section S4 for more information and per base sequence quality plots). This suggest that the high rate of read kept is caused by a high error rate of the dataset. For 15≤Q 0, even Bignorm’s outliers fall below Diginorm’s median, and for 18≤Q 0 Bignorm keeps less than 5% of the reads for at least 75% of the datasets. In the range 20≤Q 0≤25, Bignorm delivers similar results for the different values of Q 0, and the gain in reduction for larger Q 0 is small up to Q 0=32. For even larger Q 0, there is another jump in reduction, but we will see that coverage and the quality of the assembly suffer too much in that range. We conjecture that in the range 18≤Q 0≤32, we remove most of the actual errors, whereas for larger Q 0, we also remove useful information.

Quality values

Statistics for phred quality scores in the filtered datasets are given in Fig. 1. The data was obtained using fastx_quality_stats from the FASTX Toolkit [7] on the filtered fastq files and calculating the mean phred quality scores over all read positions for each dataset. Looking at the statistics for these overall means, for 15≤Q 0, Bignorm’s median is better than Diginorm’s maximum. For 20≤Q 0, this effect becomes even stronger. For all values for Q 0, Bignorm’s minimum is clearly above Diginorm’s median. Note that an increase of 10 units means reducing error probability by factor 10. In Table 3, we give quartiles of mean quality values for the raw datasets and Bignorm’s datasets produced with Q 0=20. Bignorm improves slightly on the raw dataset in all five quartiles.
Table 3

Comparing quality values for the raw dataset and Bignorm with Q 0=20

QuartileBignormRaw
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$\mathcal {Q}4$\end{document}Q4 (max)37.8237.37
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$\mathcal {Q}3$\end{document}Q3 37.3336.52
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$\mathcal {Q}2$\end{document}Q2 (median)33.7732.52
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$\mathcal {Q}1$\end{document}Q1 31.9130.50
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$\mathcal {Q}0$\end{document}Q0 (min)26.1424.34
Comparing quality values for the raw dataset and Bignorm with Q 0=20 Of course, all this could be explained by Bignorm simply cutting away any low-quality reads. However, the data in the next section suggests that Bignorm may in fact be more careful than this.

Coverage

In Fig. 2, we see statistics for the coverage. The data was obtained by remapping the filtered reads onto the assembly from the JGI using Bowtie 2 and then using coverageBed from the bedtools [22] and R [23] for the statistics. In Fig. 2 a, the mean is considered. For 15≤Q 0, Bignorm reduces the coverage heavily. For 20≤Q 0, Bignorm’s is below Diginorm’s . This may raise the concern that Bignorm could create areas with insufficient coverage. However, in Fig. 2 b, we look at the 10th percentile () of the coverage instead of the mean. We consider this statistics as an indicator for the impact of the filtering on areas with low coverage. For Q 0≤25, Bignorm’s is at or above Diginorm’s maximum, and Bignorm’s minimum coincides with Diginorm’s (except for Q 0=10, where we are slightly below). In terms of the median, both algorithms are very similar for Q 0≤25. We consider all this as a strong indication that we cut away in the right places.
Fig. 2

Box plots showing coverage statistics. a Mean coverage over all datasets. b 10th percentile of the coverage over all datasets

Box plots showing coverage statistics. a Mean coverage over all datasets. b 10th percentile of the coverage over all datasets For 28≤Q 0, there is a clear drop in coverage, so we do not recommend such Q 0 values. In Table 1, we give coverage statistics for each dataset. The reduction compared to the raw dataset in terms of mean, , and maximum is substantial. But also the improvement of Bignorm over Diginorm in mean, , and maximum is considerable for most datasets.

Assessment through assemblies

The quality and significance of read filtering is subject to complete assemblies, which is the final “road test” for these algorithms. For each case, we do an assembly with SPAdes using the raw dataset and those filtered with Diginorm and Bignorm for a selection of Q 0 values. The assemblies are then analyzed using quast [24] and the assembly from the JGI as reference. Statistics for four cases are shown in Fig. 3. We give the quality measures N50, genomic fraction, and largest contig, and in addition the overall running time (pre-processing plus assembler Wall time). Each measure is given in percentage relative to the raw dataset.
Fig. 3

Assembly statistics for four selected datasets; measurements of assemblies performed on the datasets with prior filtering using Diginorm and Bignorm, relative to the results of assemblies performed on the unfiltered datasets

Assembly statistics for four selected datasets; measurements of assemblies performed on the datasets with prior filtering using Diginorm and Bignorm, relative to the results of assemblies performed on the unfiltered datasets Generally, our biggest improvements are for N50 and running time. For 15≤Q 0, Bignorm is always faster than Diginorm, for three of the four cases by a large margin. In terms of N50, for 15≤Q 0, we observe improvements for three cases. For E.coli, Diginorm’s N50 is 100%, that we also attain for Q 0=20. In terms of genomic fraction and largest contig, we cannot always attain the same quality as Diginorm; the biggest deviation at Q 0=20 is 10 percentage points for the ASZN2 case. The N50 is generally accepted as one of the most important measures, as long as the assembly represents the genome well (as measured by the genomic fraction here) [25]. In Tables 4 and 5, we give statistics for Q 0=20 and each dataset. In terms of genomic fraction, Bignorm is generally not as good as Diginorm. However, excluding the Aceto and Arco cases, Bignorm’s genomic fraction is still always at least 95%. For Aceto and Arco, Bignorm misses 3.21% and 3.48%, respectively, of the genome in comparison to Diginorm. In 8 cases, Bignorm’s N50 is better or at least as good as Diginorm’s. The 4 cases where we achieved a smaller N50 are Arco, Caldi, Caulo, Crenarch, and Cyanobact.
Table 4

Filter and assembly statistics for Bignorm with Q 0=20, Diginorm, and the raw datasets (Part I)

DatasetAlgorithmReads keptMean phredContigsFilter timeSPAdes time
in %score≥10 000in secin sec
AcetoBignorm3.1637.3319061708
Diginorm3.9527.28132904363
Raw36.52347,813
AlphaproteoBignorm3.1334.6518623420
Diginorm7.8128.7317162911,844
Raw33.641729,057
ArcoBignorm2.2033.774429207
Diginorm8.7621.39614101385
Raw32.27615,776
ArmaBignorm7.9028.2144240135
Diginorm29.3021.19505881743
Raw26.96445371
ASZN2Bignorm5.6637.6611812241537
Diginorm12.6232.73130512521,626
Raw36.8511247,859
BacteroidesBignorm2.8537.4766533217
Diginorm4.9427.64521243668
Raw37.25932,409
CaldiBignorm3.9737.8241842455
Diginorm5.6130.67361838793
Raw37.37387563
CauloBignorm2.4036.9510679712
Diginorm4.7025.1692584765
Raw36.011318,497
ChloroflexiBignorm1.4031.9132694134
Diginorm9.7018.913323041852
Raw30.503415,108
CrenarchBignorm1.4633.18191107790
Diginorm9.7219.801829313754
Raw31.492620,590
CyanobactBignorm1.6530.4512679450
Diginorm11.3017.581314871343
Raw28.49139417
E. coliBignorm1.9126.14672279598
Diginorm17.0319.346391053995
Raw24.346416,706
SAR324Bignorm4.3433.05551222708
Diginorm4.6923.585237063085
Raw32.525126,237
Table 5

Filter and assembly statistics for Bignorm with Q 0=20, Diginorm, and the raw datasets (Part II)

DatasetAlgorithmN50Longest contig lengthGenomic fractionMisassembled contig length
abs% of raw% of Diginormabs% of raw% of Diginormabs% of raw% of Diginormabs% of raw% of Diginorm
AcetoBignorm23247910511,5259810091979752,487148178
Diginorm22167611,525989410029,53984
Raw293511,7729435,351
AlphaproteoBignorm11,7509411543,97791959810110552,00112089
Diginorm10,2138246,29595939558,184134
Raw12,44648,5869843,388
ArcoBignorm3320819712,8085757851009776,7979991
Diginorm34348422,4631008810384,613109
Raw409222,4398577,888
ArmaBignorm18,432102107108,14010010098100100774,29191103
Diginorm17,28896108,49810098100748,56088
Raw18,039108,49898849,085
ASZN2Bignorm19,788918872,68571889799992,753,16794105
Diginorm16,591768268781971002,617,09589
Raw21,784102,287972,941,524
BacteroidesBignorm33566810025,30010010095989970,206105112
Diginorm33566825,300100969962,88294
Raw493025,2999866,626
CaldiBignorm50,9738283143,3468991100100100573,8369468
Diginorm61,10898157,47998100100839,126138
Raw62,429160,851100609,604
CauloBignorm4515699520,25510010796989860,36286113
Diginorm47297218,907939810153,45676
Raw656220,2559770,161
ChloroflexiBignorm13,41810210979,60510210299100100666,5199593
Diginorm12,3059378,276100100100716,473102
Raw13,21878,27699703,171
CrenarchBignorm6538779131,4018166979999484,3548995
Diginorm71488447,80312498100510,25694
Raw850138,58298544,763
CyanobactBignorm5833959933,4629810099101100236,391113110
Diginorm59079633,5169899101214,574103
Raw613034,30098209,269
E. coliBignorm112,393100100268,30694949610010028,9666565
Diginorm112,393100285,3111009610044,465100
Raw112,393285,5289644,366
SAR324Bignorm135,669100114302,443100100991001004,259,47998100
Diginorm119,52988302,443100991004,264,23498
Raw136,176302,442994,342,602
Filter and assembly statistics for Bignorm with Q 0=20, Diginorm, and the raw datasets (Part I) Filter and assembly statistics for Bignorm with Q 0=20, Diginorm, and the raw datasets (Part II) In Table 6, we show the total length of the assemblies for Q 0=20 absolute and relative to the length of the reference. In most cases, all assemblies are clearly longer than the reference, with Diginorm by trend causing slightly larger and Bignorm causing slightly shorter assemblies compared to the unfiltered dataset (see Additional file 1: Figure S6 for a box plot).
Table 6

Reference length and total length of assemblies for Bignorm with Q 0=20, Diginorm, and the raw datasets

DatasetReferenceRawDiginormBignorm
Ref lengthTotal length% of refTotal length% of refTotal length% of ref
Aceto426,710750,316175.80769,090180.20731,850171.50
Alphaproteo463,456405,02087.40377,29381.40394,97985.20
Arco231,937408,571176.20419,403180.80380,191163.90
Arma1,364,2722,123,588155.702,131,958156.302,077,037152.20
ASZN23,669,1824,938,079134.604,930,677134.404,836,216131.80
Bacteroides560,676826,566147.40818,799146.00792,384141.30
Caldi1,961,1642,044,270104.202,041,841104.102,037,901103.90
Caulo423,390601,709142.10616,942145.70590,319139.40
Chloroflexi863,6771,317,768152.601,326,848153.601,186,531137.40
Crenarch716,0041,009,122140.901,016,485142.00946,606132.20
Cyanobact343,353635,368185.00636,876185.50591,367172.20
E. coli4,639,6754,896,992105.504,898,422105.604,948,739106.70
SAR3244,255,9834,676,938109.904,674,540109.804,669,774109.70
Reference length and total length of assemblies for Bignorm with Q 0=20, Diginorm, and the raw datasets Bignorm’s mean phred score is always slightly larger than that of the raw dataset, whereas Diginorm’s is always smaller. For some cases, the difference is substantial; the quartiles for the ratio of Diginorm’s mean phred score to that of the raw dataset are given in Table 7 in the first row.
Table 7

Quartiles for comparison of mean phred score, filter and assembler Wall time in %

Min \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$\mathcal {Q}1$\end{document}Q1 MedianMean \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$\mathcal {Q}3$\end{document}Q3 Max
Diginorm mean phred score 626674747989
raw mean phred score
Bignorm filter time 242831333846
Diginorm filter time
Bignorm SPAdes time 40818263588
Diginorm SPAdes time
Quartiles for comparison of mean phred score, filter and assembler Wall time in % Clearly, our biggest gain is in running time, for the filtering as well for the assembly. Quartiles of the corresponding improvements are given in rows two and three of Table 7.

IDBA_UD and Velvet-SC

For a detailed presentation of the results gained with IDBA_UD and Velvet-SC, please see “Comparison of different assemblers” section in the Additional file 1. We briefly summarize the results: IDBA_UD does not considerably benefit from read filtering, while Velvet-SC clearly does. Velvet-SC is clearly inferior to both SPAdes and IDBA_UD, though in some regards the combination of read filtering and Velvet-SC is as good as IDBA_UD. SPAdes nearly always produced better results than IDBA_UD, but in median (on unfiltered datasets) IDBA_UD is about 7 times faster than SPAdes. SPAdes running on a dataset filtered using Diginorm is approximately as fast as IDBA_UD on the unfiltered dataset while SPAdes on a dataset filtered using Bignorm is roughly 4 times faster.

Discussion

The quality parameter Q 0 that Bignorm introduces as an innovation to Diginorm has shown to have a strong impact on the number of reads kept, coverage, and quality of the assembly. A reasonable upper bound of Q 0≤25 was obtained by considering the 10th percentile of the coverage (Fig. 2 b). With this constraint in mind, in order to keep a small number of reads, Fig. 1 a suggests 18≤Q 0≤25. Given that N50 for E.coli starts to decline at Q 0=20 (Fig. 3), we decided for Q 0=20 as the recommended value. As presented in detail in Table 4, Q 0=20 gives good assemblies for all 13 cases. The gain in speed is considerable: in terms of the median, we only require 31% and 18% of Diginorm’s time for filtering and assembly, respectively. This speedup generally comes at the price of a smaller genomic fraction and shorter largest contig, although those differences are relatively slight. We believe that the increase of the N50 and largest contig for high values of Q 0, which we observe for some datasets just before the breakdown of the assembly (compare for example the results for the Alphaproteo dataset in Fig. 3), is due to the reduced number of branches in the assembly graph: SPAdes, as every assembler, ends a contig when it reaches an unresolvable branch in its assembly graph. As the number of reads in the input decreases more and more with increasing Q 0, the number of these branches also decreases and the resulting contigs get longer.

Conclusions

For 13 bacteria single cell datasets, we have shown that good and fast assemblies are possible based on only 5% of the reads in most of the cases (and on less than 10% of the reads in all of the cases). The filtering process, using our new algorithm Bignorm, also works fast and much faster than Diginorm. Like Diginorm, we use a count-min sketch for counting k-mers, so the memory requirements are relatively small and known in advance. Our algorithm Bignorm yields filtered datasets and subsequent assemblies of competative quality in much shorter time. In particular, the combination of Bignorm and SPAdes gives superior results to IDBA_UD while being faster. Furthermore, the mean phred score of our filtered dataset is much higher than that of Diginorm.
  15 in total

1.  IDBA-UD: a de novo assembler for single-cell and metagenomic sequencing data with highly uneven depth.

Authors:  Yu Peng; Henry C M Leung; S M Yiu; Francis Y L Chin
Journal:  Bioinformatics       Date:  2012-04-11       Impact factor: 6.937

2.  Assemblathon 1: a competitive assessment of de novo short read assembly methods.

Authors:  Dent Earl; Keith Bradnam; John St John; Aaron Darling; Dawei Lin; Joseph Fass; Hung On Ken Yu; Vince Buffalo; Daniel R Zerbino; Mark Diekhans; Ngan Nguyen; Pramila Nuwantha Ariyaratne; Wing-Kin Sung; Zemin Ning; Matthias Haimel; Jared T Simpson; Nuno A Fonseca; İnanç Birol; T Roderick Docking; Isaac Y Ho; Daniel S Rokhsar; Rayan Chikhi; Dominique Lavenier; Guillaume Chapuis; Delphine Naquin; Nicolas Maillet; Michael C Schatz; David R Kelley; Adam M Phillippy; Sergey Koren; Shiaw-Pyng Yang; Wei Wu; Wen-Chi Chou; Anuj Srivastava; Timothy I Shaw; J Graham Ruby; Peter Skewes-Cox; Miguel Betegon; Michelle T Dimon; Victor Solovyev; Igor Seledtsov; Petr Kosarev; Denis Vorobyev; Ricardo Ramirez-Gonzalez; Richard Leggett; Dan MacLean; Fangfang Xia; Ruibang Luo; Zhenyu Li; Yinlong Xie; Binghang Liu; Sante Gnerre; Iain MacCallum; Dariusz Przybylski; Filipe J Ribeiro; Shuangye Yin; Ted Sharpe; Giles Hall; Paul J Kersey; Richard Durbin; Shaun D Jackman; Jarrod A Chapman; Xiaoqiu Huang; Joseph L DeRisi; Mario Caccamo; Yingrui Li; David B Jaffe; Richard E Green; David Haussler; Ian Korf; Benedict Paten
Journal:  Genome Res       Date:  2011-09-16       Impact factor: 9.043

3.  QUAST: quality assessment tool for genome assemblies.

Authors:  Alexey Gurevich; Vladislav Saveliev; Nikolay Vyahhi; Glenn Tesler
Journal:  Bioinformatics       Date:  2013-02-19       Impact factor: 6.937

4.  Fast gapped-read alignment with Bowtie 2.

Authors:  Ben Langmead; Steven L Salzberg
Journal:  Nat Methods       Date:  2012-03-04       Impact factor: 28.547

5.  BEDTools: a flexible suite of utilities for comparing genomic features.

Authors:  Aaron R Quinlan; Ira M Hall
Journal:  Bioinformatics       Date:  2010-01-28       Impact factor: 6.937

6.  Single-cell genomics reveals complex carbohydrate degradation patterns in poribacterial symbionts of marine sponges.

Authors:  Janine Kamke; Alexander Sczyrba; Natalia Ivanova; Patrick Schwientek; Christian Rinke; Kostas Mavromatis; Tanja Woyke; Ute Hentschel
Journal:  ISME J       Date:  2013-07-11       Impact factor: 10.302

7.  Quality control and preprocessing of metagenomic datasets.

Authors:  Robert Schmieder; Robert Edwards
Journal:  Bioinformatics       Date:  2011-01-28       Impact factor: 6.937

8.  Quake: quality-aware detection and correction of sequencing errors.

Authors:  David R Kelley; Michael C Schatz; Steven L Salzberg
Journal:  Genome Biol       Date:  2010-11-29       Impact factor: 13.583

9.  An extensive evaluation of read trimming effects on Illumina NGS data analysis.

Authors:  Cristian Del Fabbro; Simone Scalabrin; Michele Morgante; Federico M Giorgi
Journal:  PLoS One       Date:  2013-12-23       Impact factor: 3.240

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

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

View more
  5 in total

Review 1.  A simple guide to de novo transcriptome assembly and annotation.

Authors:  Venket Raghavan; Louis Kraft; Fantin Mesny; Linda Rigerte
Journal:  Brief Bioinform       Date:  2022-03-10       Impact factor: 11.622

2.  SPRISS: Approximating Frequent K-mers by Sampling Reads, and Applications.

Authors:  Diego Santoro; Leonardo Pellegrina; Matteo Comin; Fabio Vandin
Journal:  Bioinformatics       Date:  2022-05-18       Impact factor: 6.931

3.  To Petabytes and beyond: recent advances in probabilistic and signal processing algorithms and their application to metagenomics.

Authors:  R A Leo Elworth; Qi Wang; Pavan K Kota; C J Barberan; Benjamin Coleman; Advait Balaji; Gaurav Gupta; Richard G Baraniuk; Anshumali Shrivastava; Todd J Treangen
Journal:  Nucleic Acids Res       Date:  2020-06-04       Impact factor: 16.971

4.  Improving in-silico normalization using read weights.

Authors:  Dilip A Durai; Marcel H Schulz
Journal:  Sci Rep       Date:  2019-03-26       Impact factor: 4.379

5.  In vitro and in silico parameters for precise cgMLST typing of Listeria monocytogenes.

Authors:  Federica Palma; Iolanda Mangone; Anna Janowicz; Alexandra Moura; Alexandra Chiaverini; Marina Torresi; Giuliano Garofolo; Alexis Criscuolo; Sylvain Brisse; Adriano Di Pasquale; Cesare Cammà; Nicolas Radomski
Journal:  BMC Genomics       Date:  2022-03-26       Impact factor: 3.969

  5 in total

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