Efficient "pythonic" access to FASTA files using pyfaidx
Open accessThe DOI matches its Crossref record.
Abstract
The pyfaidx Python module provides memory and time-efficient indexing, subsetting, and in-place modification of subsequences of FASTA files. pyfaidx provides Python classes that expose a dictionary interface where sequences from an indexed FASTA can be accessed by their header name and then sliced by position without reading the full file into memory. pyfaidx includes an extensive test suite to ensure correct and reproducible behavior. A command-line program (faidx) is also provided as an alternative interface, with significant enhancements to functionality, while maintaining full index file compatibility with samtools. The pyfaidx module is installable from PyPI (https://pypi.python.org/pypi/pyfaidx), and development versions can be found at Github (https://github.com/mdshw5/pyfaidx).
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cited by
SeqKit: A Cross-Platform and Ultrafast Toolkit for FASTA/Q File Manipulation
Shen, W., Le, S., Li, Y., & Hu, F. (2016) · PLOS ONE · doi:10.1371/journal.pone.0163962 · Cited by 3,380
“Many tools are available for the manipulation of FASTA/Q files, including fasta_utilities [3], fastx_toolkit [4], pyfaidx [5], seq-magick [6] and seqtk [7].”
MethodThe transcriptional landscape of polyploid wheat
Ramírez-González, R. H., Borrill, P., Lang, D., Harrington, S. A., Brinton, J., Venturini, L., Davey, M., Jacobs, J., van Ex, F., Pasha, A., et al. (2018) · Science · doi:10.1126/science.aar6089 · Cited by 1,018
Liftoff: accurate mapping of gene annotations
Shumate, A., & Salzberg, S. L. (2021) · Bioinformatics · doi:10.1093/bioinformatics/btaa1016 · Cited by 979
WhatsHap: fast and accurate read-based phasing
Martin, M., Patterson, M., Garg, S., O Fischer, S., Pisanti, N., Klau, G. W., Schöenhuth, A., & Marschall, T. (2016) · bioRxiv (Cold Spring Harbor Laboratory) · doi:10.1101/085050 · Cited by 449
Beliveau, B. J., Kishi, J. Y., Nir, G., Sasaki, H. M., Saka, S. K., Nguyen, S. C., Wu, C.-T., & Yin, P. (2018) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.1714530115 · Cited by 255
Quang, D., & Xie, X. (2019) · Methods · doi:10.1016/j.ymeth.2019.03.020 · Cited by 204
(2022) · doi:10.1002/tpg2.20249 · Cited by 17
Multi-conflict islands are a widespread trend within Serratia spp.
Cummins, T., Songra, S., Garrett, S. R., Blower, T. R., & Mariano, G. (2024) · Cell Reports · doi:10.1016/j.celrep.2024.115055 · Cited by 8
Analysis-ready VCF at Biobank scale using Zarr
(2025) · doi:10.1093/gigascience/giaf049 · Cited by 8
Multi-conflict islands are a widespread trend within Serratia spp
(2024) · doi:10.1101/2024.01.28.577318 · Cited by 8
Metadata
- Authors
- Shirley, M. D., Ma, Z., Pedersen, B. S., & Wheelan, S. J.
- Publisher
- PeerJ
- Published
- 2015-04-08
- OpenAlex
- W2241763745
- Cited by
- 59
- References
- 0
- Type
- posted content
- Language
- en
- Open access
- gold
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.