Search bioRxiv⌕ Search

Biology subjects

von Wachsmann, J. H.

Publications and source records attributed to von Wachsmann, J. H..

2 recordsLinked to original sources

Sparrowhawk: harnessing WebAssembly for private microbial genomics, and beyond

Computational methods are a growing component of every scientific discipline, but the pace of training and expertise for using these methods has not kept up with their widening usage. Researchers expect state-of-the-art methods to be able to independently explore their results, and do so dynamically and interactively. Producing such an application which implements a new algorithm, even though it would access a much wider audience, is typically beyond the expertise and time constraints of computational method developers. Here, we show our Sparrowhawk framework can rapidly create an interactive web application to run interactive analysis on a user's machine, across a wide range of algorithms. Focusing first on genomic epidemiology, a domain with a specific need for such methods, we created novel lightweight methods for genome assembly, antimicrobial resistance gene annotation, and taxonomic identification. Our results exceed performance of previous lightweight methods, and produce results that reproduce or closely match previous analysis pipelines. By using WebAssembly, our framework benefits from not requiring installation, command line knowledge, or transferring sensitive data over an internet connection. We show how algorithms from other researchers, and spanning fields from machine learning to physics, can rapidly be ported to web tools using our framework. We demonstrate an immediate impact on microbial bioinformatics, but expect that uptake of Sparrowhawk by developers of other tools broadly will help other researchers, and create new tools for teaching and public engagement. Thanks to the broad availability and familiarity with web browser tools across society, Sparrowhawk has the potential to significantly lower the barrier to entry to advanced computational methods.

bioinformatics↗

Rapid and Consistent Genome Clustering for Navigating Bacterial Diversity with Millions of MAGs and Isolates

Bacterial genome and metagenome databases collectively contain over 5 million high-quality assemblies. However, the redundancy of these databases and the limited scalability of existing tools create bottlenecks for fully comprehensive, tree-of-life-scale genomic analyses. A fundamental task is to first break this data into smaller chunks, guided by their genome similarity. However, alignment-based comparative methods struggle to handle more than a few tens of thousands of genomes at a time, making the global organisation computationally complex and expensive. Here, we present gemsparcl (https://github.com/johannahelene/gemsparcl), a tool that clusters bacterial genomes into genomic cohesive units (GCUs), at approximately species-level resolution, over 500 times faster than existing methods. As part of developing gemsparcl, we developed sketchlib.rust, a one-permutation MinHash approach that implements an auxiliary inverted index to further accelerate all-versus-all comparisons. We added a statistical correction for incomplete metagenome-assembled genomes (MAGs) to enable accurate distance estimation and network-based edge quality filtering. After genome completeness quality control, we clustered 5.6 million high-quality bacterial genomes (2.88 million isolates and 2.77 million MAGs) into 92,954 GCUs in [~]14 hours using 48 CPU threads and less than 16.5 GB of memory. Using taxonomic validation of the GCUs, the method achieves very high (99.76%) cluster purity (meaning only one species label occurs per GCU). We demonstrate that the clustering also highlights cases where taxonomic naming can be potentially harmonised or improved. Furthermore, we identify the most frequently reconstructed MAGs that lack a corresponding isolate genome and are thus priorities for culturing. The enhanced speed of gemsparcl enables routine database updates to incorporate the latest genomes. It also makes reference-free microbiome analysis across millions of genomes computationally tractable for the first time.

bioinformatics↗