BMC BioinformaticsBioinformaticsPeer-reviewed journal article
SamQL: A Structured Query Language and filtering tool for the SAM/BAM file format
Abstract
The Sequence Alignment/Map Format Specification (SAM) is one of the most widely used file formats in computational biology today and several tools have been developed to process it and use it. It is a flexible file format, used by many bioinformaticians on a daily basis. Despite its flexibility, SAM encoded files can often be difficult to query and understand. As genomic data are rapidly growing, structured and efficient queries on data encoded in SAM/BAM files is becoming critical. Importantly, any new tools should be able to support existing large datasets without requiring any data transformations. Here we introduce SamQL, an SQL-like query language for the SAM format with intuitive syntax that supports complex and efficient queries on top of SAM/BAM files and that can replace commonly used Bash one-liners employed by many bioinformaticians. SamQL is a complete query language that we envision as a step to a structured database engine for genomics. SamQL is written in Go, taking advantage of modern multicore compute systems and is freely available as standalone program and as an open-source library released under an MIT license, https://github.com/maragkakislab/samql/.
- assay: whole-genome sequencing
- research focus: database / resource
- research focus: software / tool
- approach: statistical model
- Citations
- 4
- FWCI
- 0.24
- Field percentile
- 44th percentile
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
- SAM/BAM format v1.5 extensions for de novo assemblies
Peter J. A. Cock, James Bonfield, … Heng Li·bioRxiv·May 29, 2015
- quickBAM: a parallelized BAM file access API for high throughput sequence analysis informatics
T. Anders Pitman, Xiaomeng Huang, … Yi Qiao·bioRxiv·Oct 5, 2021
- ArrowSAM: In-Memory Genomics Data Processing Using Apache Arrow
Tanveer Ahmad, Nauman Ahmed, … Zaid Al-Ars·bioRxiv·Apr 6, 2020
- HTSlib - C library for reading/writing high-throughput sequencing data
James Bonfield, John Marshall, … Robert M. Davies·GigaSciencePeer-reviewed·Jan 29, 2021
- A RESTful API to serve BAM file with OAuth2 compatible authorization
Julien Delafontaine, Sylvain Pradervand·bioRxiv·Jun 19, 2017
- Bazam: A rapid method for read extraction and realignment of high throughput sequencing data
Simon Sadedin, Alicia Oshlack·Genome biologyPeer-reviewed·Apr 18, 2019