PeerJBioinformaticsPeer-reviewed journal article
2FAST2Q: A general-purpose sequence search and counting program for FASTQ files
Afonso Martins BravoiD, Athanasios TypasiD, Jan‐Willem VeeningiD
Abstract
The increasingly widespread use of next generation sequencing protocols has brought the need for the development of user-friendly raw data processing tools. Here, we present 2FAST2Q, a versatile and intuitive standalone program capable of extracting and counting feature occurrences in FASTQ files. 2FAST2Q can be used in any experimental setup that requires feature extraction from raw reads, being able to quickly handle mismatch alignments, nucleotide wise Phred score filtering, custom read trimming, and sequence searching within a single program. Using published CRISPRi datasets in which Escherichia coli and Mycobacterium tuberculosis gene essentiality, as well as host-cell sensitivity towards SARS-CoV2 infectivity were tested, we demonstrate that 2FAST2Q efficiently recapitulates the output in read counts per provided feature as with traditional pipelines. Moreover, we show how different FASTQ read filtering parameters impact downstream analysis, and suggest a default usage protocol. 2FAST2Q has a familiar user interface and uses a custom sequence mismatch search algorithm, taking advantage of Pythons numba module JIT runtime speeds. It is thus easier to use and faster than currently available tools, efficiently processing large CRISPRi-Seq or random-barcode sequencing datasets on any up-to-date laptop. 2FAST2Q is available as an executable file for all current operating systems without installation and as a Python3 module on the PyPI repository (available at https://veeninglab.com/2fast2q). We expect that 2FAST2Q will not only be useful for people working in microbiology but also for other fields in which amplicon sequencing data is generated.
- organism: E. coli
- organism: human
- organism: mouse
- assay: whole-genome sequencing
- research focus: variant calling
- approach: experimental assay
- Citations
- 29
- FWCI
- 2.12
- Field percentile
- top 11%
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
- fastQpick: scalable bootstrap and subsampling of FASTQ reads
Joseph Matthew Rich, Lior S. Pachter·bioRxiv·Jun 24, 2026
- FastqPuri: high-performance preprocessing of RNA-seq data
Paula Pérez-Rubio, Claudio Lottaz, Julia C. Engelmann·BMC BioinformaticsPeer-reviewed·May 3, 2019
- fastp: an ultra-fast all-in-one FASTQ preprocessor
Shifu Chen, Yanqing Zhou, … Jia Gu·BioinformaticsPeer-reviewed·Jul 7, 2018
- FastqCleaner: an interactive Bioconductor application for quality-control, filtering and trimming of FASTQ files
Leandro Gabriel Roser, Fernán Agüero, Daniel Oscar Sánchez·BMC BioinformaticsPeer-reviewed·Jun 28, 2019
- grepq: A Rust application that quickly filters FASTQ files by matching sequences to a set of regular expressions
Nicholas D. Crosbie·The Journal of Open Source SoftwarePeer-reviewed·Jun 30, 2025
- SequelTools: A Suite of Tools for Working with PacBio Sequel Raw Sequence Data
David E. Hufnagel, Matthew B. Hufford, Arun Somwarpet Seetharam·BMC BioinformaticsPeer-reviewed·Oct 1, 2020