FASTAFS: file system virtualisation of random access compressed FASTA files

Youri Hoogstrate*, Guido W. Jenster, Harmen J.G.van de Werken

*Corresponding author for this work

Research output: Contribution to journalArticleAcademicpeer-review

3 Citations (Scopus)
47 Downloads (Pure)

Abstract

Background: The FASTA file format, used to store polymeric sequence data, has become a bioinformatics file standard used for decades. The relatively large files require additional files, beyond the scope of the original format, to identify sequences and to provide random access. Multiple compressors have been developed to archive FASTA files back and forth, but these lack direct access to targeted content or metadata of the archive. Moreover, these solutions are not directly backwards compatible to FASTA files, resulting in limited software integration. Results: We designed a linux based toolkit that virtualises the content of DNA, RNA and protein FASTA archives into the filesystem by using filesystem in userspace. This guarantees in-sync virtualised metadata files and offers fast random-access decompression using bit encodings plus Zstandard (zstd). The toolkit, FASTAFS, can track all its system-wide running instances, allows file integrity verification and can provide, instantly, scriptable access to sequence files and is easy to use and deploy. The file compression ratios were comparable but not superior to other state of the art archival tools, despite the innovative random access feature implemented in FASTAFS. Conclusions: FASTAFS is a user-friendly and easy to deploy backwards compatible generic purpose solution to store and access compressed FASTA files, since it offers file system access to FASTA files as well as in-sync metadata files through file virtualisation. Using virtual filesystems as in-between layer offers format conversion without the need to rewrite code into different programming languages while preserving compatibility.

Original languageEnglish
Article number535
JournalBMC Bioinformatics
Volume22
Issue number1
DOIs
Publication statusPublished - 1 Nov 2021

Bibliographical note

Funding Information:
We would like to thank Job van Riet for valuable scientific discussions regarding this work.

Publisher Copyright:
© 2021, The Author(s).

Fingerprint

Dive into the research topics of 'FASTAFS: file system virtualisation of random access compressed FASTA files'. Together they form a unique fingerprint.

Cite this