Clustering huge protein sequence sets in linear time

Nat Commun. 2018 Jun 29;9(1):2542. doi: 10.1038/s41467-018-04964-5.

Abstract

Metagenomic datasets contain billions of protein sequences that could greatly enhance large-scale functional annotation and structure prediction. Utilizing this enormous resource would require reducing its redundancy by similarity clustering. However, clustering hundreds of millions of sequences is impractical using current algorithms because their runtimes scale as the input set size N times the number of clusters K, which is typically of similar order as N, resulting in runtimes that increase almost quadratically with N. We developed Linclust, the first clustering algorithm whose runtime scales as N, independent of K. It can also cluster datasets several times larger than the available main memory. We cluster 1.6 billion metagenomic sequence fragments in 10 h on a single server to 50% sequence identity, >1000 times faster than has been possible before. Linclust will help to unlock the great wealth contained in metagenomic and genomic sequence databases.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Algorithms*
  • Animals
  • Cluster Analysis
  • Computational Biology / methods*
  • DNA / analysis*
  • Databases, Nucleic Acid
  • Databases, Protein
  • Datasets as Topic
  • Genome*
  • Humans
  • Metagenomics / methods*
  • Prokaryotic Cells / chemistry
  • Proteins / analysis*
  • Sequence Analysis, DNA

Substances

  • Proteins
  • DNA