PFP-FM: An Accelerated FM-index.
FM-index
pangenomics
random access
word-based indexing
Journal
Research square
Titre abrégé: Res Sq
Pays: United States
ID NLM: 101768035
Informations de publication
Date de publication:
30 Oct 2023
30 Oct 2023
Historique:
pubmed:
14
11
2023
medline:
14
11
2023
entrez:
14
11
2023
Statut:
epublish
Résumé
FM-indexes are a crucial data structure in DNA alignment, but searching with them usually takes at least one random access per character in the query pattern. Ferragina and Fischer [1] observed in 2007 that word-based indexes often use fewer random accesses than character-based indexes, and thus support faster searches. Since DNA lacks natural word-boundaries, however, it is necessary to parse it somehow before applying word-based FM-indexing. Last year, Deng et al. [2] proposed parsing genomic data by induced suffix sorting, and showed the resulting word-based FM-indexes support faster counting queries than standard FM-indexes when patterns are a few thousand characters or longer. In this paper we show that using prefix-free parsing-which takes parameters that let us tune the average length of the phrases-instead of induced suffix sorting, gives a significant speedup for patterns of only a few hundred characters. We implement our method and demonstrate it is between 3 and 18 times faster than competing methods on queries to GRCh38, and is consistently faster on queries made to 25,000, 50,000 and 100,000 SARS-CoV-2 genomes. Hence, it seems our method accelerates the performance of count over all state-of-the-art methods with a minor increase in the memory. The source code for PFP-FM is available at https://github.com/marco-oliva/afm.
Identifiants
pubmed: 37961504
doi: 10.21203/rs.3.rs-3487536/v1
pmc: PMC10635359
pii:
doi:
Types de publication
Preprint
Langues
eng
Subventions
Organisme : NHGRI NIH HHS
ID : R01 HG011392
Pays : United States
Références
Genome Biol. 2009;10(3):R25
pubmed: 19261174
Algorithms Mol Biol. 2019 May 24;14:13
pubmed: 31149025
J Comput Biol. 2020 Apr;27(4):514-518
pubmed: 32181686
F1000Res. 2021 Jan 18;10:33
pubmed: 34035898