Efficient "pythonic" access to FASTA files using pyfaidx
Preprint
- 8 April 2015
- preprint
- Published by PeerJ in PeerJ Preprints
- Vol. 3
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).Keywords
All Related Versions
This publication has 5 references indexed in Scilit:
- Toward better understanding of artifacts in variant calling from high-coverage samplesBioinformatics, 2014
- BEDTools: a flexible suite of utilities for comparing genomic featuresBioinformatics, 2010
- The Sequence Alignment/Map format and SAMtoolsBioinformatics, 2009
- NCBI Reference Sequence (RefSeq): a curated non-redundant sequence database of genomes, transcripts and proteinsNucleic Acids Research, 2004
- Improved tools for biological sequence comparison.Proceedings of the National Academy of Sciences of the United States of America, 1988