PLoS ONEBioinformaticsPeer-reviewed journal article
SeqRepo: A system for managing local collections biological sequences
Abstract
MotivationAccess to biological sequence data, such as genome, transcript, or protein sequence, is at the core of many bioinformatics analysis workflows. The National Center for Biotechnology Information (NCBI), Ensembl, and other sequence database maintainers provide methods to access sequences through network connections. For many users, the convenience and currency of remotely managed data are compelling, and the network latency is non-consequential. However, for high-throughput and clinical applications, local sequence collections are essential for performance, stability, privacy, and reproducibility. ResultsHere we describe SeqRepo, a novel system for building a local, high-performance, non-redundant collection of biological sequences. SeqRepo enables clients to use primary database identifiers and several digests to identify sequences and sequence alises. SeqRepo provides a native Python interface and a REST interface, which can run locally and enables access from other programming languages. SeqRepo also provides an alternative REST interface based on the GA4GH refget protocol. SeqRepo provides fast random access to sequence slices. We provide results that demonstrate that a local SeqRepo sequence collection yields significant performance benefits of up to 1300-fold over remote sequence collections. In our use case for a variant validation and normalization pipeline, SeqRepo improved throughput 50-fold relative to use with remote sequences. SeqRepo may be used with any species or sequence type. Regular snapshots of Human sequence collections are available. It is often convenient or necessary to use a computed digest as a sequence identifier. For example, a digest-based identifier may be used to refer to proprietary reference genomes or segments of a graph genome, for which conventional identifiers will not be available. Here we also introduce a convention for the application of the SHA-512 hashing algorithm with Base64 encoding to generate URL-safe identifiers. This convention, sha512t24u, combines a fast digest mechanism with a space-efficient representation that can be used for any object. Our report includes an analysis of timing and collision probabilities for sha512t24u. SeqRepo enables clients to use sha512t24u as identifiers, thereby seamlessly integrating public and private sequence sets. AvailabilitySeqRepo is released under the Apache License 2.0 and is available on github and PyPi. Docker images and database snapshots are also available. See https://github.com/biocommons/biocommons.seqrepo.
- assay: DNA methylation
- assay: whole-genome sequencing
- assay: whole-exome sequencing
- assay: proteomics
- research focus: database / resource
- research focus: benchmarking
- research focus: software / tool
- research focus: imputation
- approach: experimental assay
- Citations
- 14
- FWCI
- 0.49
- Field percentile
- top 43%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- iSeq: An integrated tool to fetch public sequencing data
Haoyu Chao, Z Li, … Ming Chen·BioinformaticsPeer-reviewed·Oct 23, 2024
- Refget: standardised access to reference sequences
Andrew D. Yates, Jeremy B. Adams, … Thomas Keane·bioRxiv·Mar 11, 2021
- Improved Representation of Sequence Bloom Trees
Robert S Harris, Paul Medvedev·BioinformaticsPeer-reviewed·Aug 20, 2019
- LOCALE: Local-Alignment Embeddings for Noise-Robust DNA Search at Scale
Ryan Synk, Prashant Pandey, … Ramani Duraiswami B·bioRxiv·Oct 13, 2026
- Sequenceserver: a modern graphical user interface for custom BLAST databases
Anurag Priyam, Ben J Woodcroft, … Yannick Wurm·Molecular Biology and EvolutionPeer-reviewed·Aug 14, 2019
- Indexing All Life's Known Biological Sequences
Mikhail Karasikov, Harun Mustafa, … André Kahles·NaturePeer-reviewed·Oct 8, 2025