IMIgor Martayan

Igor Martayan

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Igor Martayan has a total of 19 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    spearfish: ultrafast Δ-mapping of long reads to redundant transcriptomes

    by Hesham Abdelgawad, Igor Martayan, Camille Marchet, Rob Patro

    In a transcriptome, isoforms share most of their sequence, and gene families add further near-copies. Yet most long-read mappers treat each isoform as a separate target and repeat seeding, chaining and alignment for each. We introduce spearfish, a long-read mapper built for this redundancy. Its delta mapping (Δ-mapping) computes each target's alignment-score difference from the best candidate. It skips sequence that all candidates share, which cannot change the difference, and aligns where they differ once per distinct sequence rather than once per target. Seeds come from locally consistent parsing (LCP), so every isoform that contains an exon receives the same seeds in its interior. Collapsing them gives a core graph, a de Bruijn-like graph whose size is bounded by the distinct exonic sequence plus a small term per splice junction, independent of the number of isoforms. Over this graph, spearfish computes the exact colinear chaining score of every candidate transcript, sharing dynamic-programming state among transcripts via a procedure which we prove is equivalent to chaining on each transcript separately. Across RNA-seq experiments, using 32 threads, spearfish maps reads 24–102× faster than minimap2 in under a quarter of the memory, and 2.5–11.5× faster than lr-kallisto's pseudoalignment. On simulated reads it ranks the true transcript first more often than minimap2 on HiFi reads and at least as often on ONT reads. When using spearfish's Δ-mapping with oarfish for abundance estimation, the abundance estimates match or improve on those that make use of minimap2's alignments on both simulated reads (with or without primers and poly(A) tails) and on seven SG-NEx runs with spike-ins, and quantification is 4.1–8.8× faster than lr-kallisto in going from reads to abundances.

  • Open Access

    Accelerating k-mer-based sequence filtering

    by Igor Martayan, Léa Vandamme, Bede Constantinides, Bastien Cazaux, Charles Paperman, Antoine Limasset

    Motivation . The exponential growth of global sequencing data repositories presents both analytical challenges and opportunities. While k -mer-based indexing has improved scalability over traditional alignment for identifying relevant documents, pinpointing the exact sequences matching numerous queries remains a hurdle. In particular, searching for numerous k -mers with a single large query or multiple distinct queries strains existing exact matching tools, whose performance scales poorly with an increasing number of patterns. At the same time, indexing entire vast datasets for infrequent or ad-hoc searches is often resource-prohibitive. Designing fast methods for matching a large number of k -mers without exhaustive pre-indexing is therefore critical. Contributions . We propose an efficient solution to the problem of k-mer-based sequence filtering : given a set of k -mers of interests and a threshold, quickly evaluate whether an arbitrary sequence has a number of k -mer matches above or below the threshold. Our approach demonstrates how minimizer-based based sketching, alongside SIMD acceleration, can enhance the performance of streaming searches, and is implemented as a Rust tool named K2Rmini . On a consumer laptop, K2Rmini is able to filter long reads at 2 Gbp/s. Availability . https://github.com/Malfoy/K2Rmini .


  • Open Access

    Helicase: Vectorized parsing and bitpacking of genomic sequences

    by Igor Martayan, Loup Lobet, Camille Marchet, Charles Paperman

    Modern sequencing pipelines routinely produce billions of reads, yet the dominant storage formats (FASTQ and FASTA) are text-based and sequential, making high-throughput parsing a persistent bottleneck in bioinformatics. Their regular, line-oriented structure makes them well-suited to SIMD vectorization, but existing libraries do not fully exploit it. We present vectorized algorithms for high-throughput FASTA/Q parsing, with on-the-fly handling of non-ACTG characters and built-in bitpacking of DNA sequences into multiple compact representations. The parsing logic is expressed as a finite state machine, compiled into efficient SIMD programs targeting both x86 and ARM CPUs. These algorithms are implemented in Helicase , a Rust library exposing a tunable interface that retrieves only caller-requested fields, minimizing unnecessary work. Exhaustive benchmarks across a wide range of CPUs show that Helicase meets or exceeds the throughput of all evaluated state-of-the-art libraries, making it the fastest general-purpose FASTA/Q parser to our knowledge. Availability: https://github.com/imartayan/helicase .


  • Open Access

    Minimizer Density revisited: Models and Multiminimizers

    by Florian Ingels, Lucas Robidou, Igor Martayan, Camille Marchet, Antoine Limasset

    High-throughput sequence analysis commonly relies on k -mers (words of fixed length k ) to remain tractable at modern scales. These k -mer-based pipelines can employ a sampling step, which in turn allows grouping consecutive k -mers into larger strings to improve data locality. Although other sampling strategies exist, local schemes have become standard: such schemes map each k -mer to the position of one of its characters. A key performance measure of these schemes is their density, defined as the expected fraction of selected positions. The most widely used local scheme is the minimizer scheme: given an integer m ≤ k , a minimizer scheme associates each k -mer to the starting position of one of its m -mers, called its minimizer . Being a local scheme, the minimizer scheme guarantees covering all k -mers of a sequence, with a maximal distance between selected positions of w = k − m + 1. Recent works have established near-tight lower bounds on achievable density under standard assumptions for local schemes, and state-of-the-art schemes now operate close to these limits, suggesting that further improvements under the classical notion of density will face diminishing returns. Hence, in this work, we aim to revisit the notion of density and broaden its scope. As a first contribution, we draw a link between density and the distance between consecutive selected positions. We propose a probabilistic model allowing us to establish that the density of a local scheme is exactly the inverse of the expected distance between the positions it selects, under the minimal and only assumption that said distances are somehow equally distributed. We emphasize here that our model makes no assumptions about how positions are selected, unlike the classical models in the literature. Our result introduces a novel method for computing the density of a local scheme, extending beyond classical settings. Based on this analysis, we introduce a novel technique, named multiminimizers, by associating each k -mer with a bounded set of candidate minimizers rather than a single one. The candidate furthest away (in a precise sense defined in the article) is selected. Since the decision is made by taking advantage of a context beyond a single k -mer, this technique is not a local scheme — and belong to a novel category of meta schemes. Using the multiminimizer trick on a local scheme reduces its density at the expense of a controlled increase in computation time. We show that this method, when applied to random (hash-based) minimizers and to open-closed mod-minimizers, approaches a density of , representing, to our knowledge, the first construction converging to this limit. Our third contribution is the introduction of the deduplicated density , which measures the fraction of distinct minimizers used to cover all k -mers of a set of sequences. While this problem has gained traction in applications such as assembly, filtering, and pattern matching, standard minimizer schemes are often used as a proxy, blurring the distinction between the two objectives (minimizing the number of selected positions or the number of selected minimizers). Although related to the classical notion of density, deduplicated density differs in both definition and suitable constructions, and must be analyzed in its own right, together with its precise connections to standard density. We show that multiminimizers can also improve this metric, but that globally minimizing deduplicated density in this setting is NP-complete, and we instead propose a local heuristic with strong empirical behavior. Finally, we show that multiminimizers can be computed efficiently, and provide a SIMD-accelerated Rust implementation together with proofs of concept demonstrating reduced memory footprints on core sequence-analysis tasks. We conclude with open theoretical and practical questions that remain to be addressed in the area of density.

  • Open Access

    Accelerating k -mer-based sequence filtering

    by Igor Martayan, Léa Vandamme, Bede Constantinides, Bastien Cazaux, Charles Paperman, Antoine Limasset

    Motivation: The exponential growth of global sequencing data repositories presents both analytical challenges and opportunities. While k -mer-based indexing has improved scalability over traditional alignment for identifying relevant documents, pinpointing the exact sequences matching numerous queries remains a hurdle. In particular, searching for numerous k -mers with a single large query or multiple distinct queries strains existing exact matching tools, whose performance scales poorly with an increasing number of patterns. At the same time, indexing entire vast datasets for infrequent or ad-hoc searches is often resource-prohibitive. Designing fast methods for matching a large number of k -mers without exhaustive pre-indexing is therefore critical. Contributions: We propose an efficient solution to the problem of k-mer-based sequence filtering : given a set of k -mers of interests and a threshold, quickly evaluate whether an arbitrary sequence has a number of k -mer matches above or below the threshold. Our approach demonstrates how minimizer-based based sketching, alongside SIMD acceleration, can enhance the performance of streaming searches, and is implemented as a Rust tool named K2Rmini . On a consumer laptop, K2Rmini is able to filter long reads at 2 Gbp/s. Availability: https://github.com/Malfoy/K2Rmini .

  • Hyper-k-mers: Efficient Streaming k-mers Representation

    by Igor Martayan, Lucas Robidou, Yoshihiro Shibuya, Antoine Limasset


  • Open Access

    SimdMinimizers: Computing random minimizers, fast

    by Ragnar Groot Koerkamp, Igor Martayan

    Motivation: Because of the rapidly-growing amount of sequencing data, computing sketches of large textual datasets has become an essential preprocessing task. These sketches are typically much smaller than the input sequences, but preserve sufficient information for downstream analysis. Minimizers are an especially popular sketching technique and used in a wide variety of applications. They sample at least one out of every w consecutive k -mers. As DNA sequencers are getting more accurate, some applications can afford to use a larger w and hence sparser and smaller sketches. And as sketches get smaller, their analysis becomes faster, so the time spent sketching the full-sized input becomes more of a bottleneck. Methods: Our library simd-minimizers implements a random minimizer algorithm using SIMD instructions. It supports both AVX2 and NEON architectures. Its main novelty is two-fold. First, it splits the input into 8 chunks that are streamed over in parallel through all steps of the algorithm. This is enabled by using the completely deterministic two-stacks sliding window minimum algorithm, which seems not to have been used before for finding minimizers. Results: Our library is up to 6.8× faster than a scalar implementation of the rescan method when w = 5 is small, and 3.4× faster for larger w = 19. Computing canonical minimizers is less than 50% slower than computing forward minimizers, and over 15× faster than the existing implementation in the minimizer-iter crate. Our library finds all (canonical) minimizers of a 3.2 Gbp human genome in 5.2 (resp. 6.7) seconds.


  • Open Access

    Brisk: Exact resource-efficient dictionary for k -mers

    by Caleb Smith, Igor Martayan, Antoine Limasset, Yoann Dufresne

    The rapid advancements in DNA sequencing technology have led to an unprecedented increase in the generation of genomic datasets, with modern sequencers now capable of producing up to ten terabases per run. However, the effective indexing and analysis of this vast amount of data pose significant challenges to the scientific community. K-mer indexing has proven crucial in managing extensive datasets across a wide range of applications, including alignment, compression, dataset comparison, error correction, assembly, and quantification. As a result, developing efficient and scalable k -mer indexing methods has become an increasingly important area of research. Despite the progress made, current state-of-the-art indexing structures are predominantly static, necessitating resource-intensive index reconstruction when integrating new data. Recently, the need for dynamic indexing structures has been recognized. However, many proposed solutions are only pseudo-dynamic, requiring substantial updates to justify the costs of adding new datasets. In practice, applications often rely on standard hash tables to associate data with their k -mers, leading to high k -mer encoding rates exceeding 64 bits per k -mer. In this work, we introduce Brisk, a drop-in replacement for most k -mer dictionary applications. This novel hashmap-like data structure provides high throughput while significantly reducing memory usage compared to existing dynamic associative indexes, particularly for large k -mer sizes. Brisk achieves this by leveraging hierarchical minimizer indexing and memory-efficient super- k -mer representation. We also introduce novel techniques for efficiently probing k -mers within a set of super- k -mers and managing duplicated minimizers. We believe that the methodologies developed in this work represent a significant advancement in the creation of efficient and scalable k -mer dictionaries, greatly facilitating their routine use in genomic data analysis.


  • Open Access

    Hyper- k -mers: efficient streaming k -mers representation

    by Igor Martayan, Lucas Robidou, Yoshihiro Shibuya, Antoine Limasset

    K -mers have become ubiquitous in modern bioinformatics pipelines. A key factor in their success is the ability to filter out erroneous k -mers by removing those with low abundances. However, large numbers of distinct k -mers make counting a memory-intensive step. Early tools addressed this issue by storing k -mers on disk. More recent solutions mitigate the excessive redundancy of overlapping k -mers by partially reassembling them into super- k -mers. Nevertheless, consecutive super- k -mers still overlap by k − 1 bases, leading to some degree of inefficiency. Here we present hyper-k-mers as an alternative, less redundant, representation of super- k -mers. Our contributions are three-fold. First, we propose hyper- k -mers, a new k -mer representation that asymptotically decreases duplication compared to super- k -mers. Second, we present a theoretical analysis comparing the space efficiency of super- k -mers, syncmers, and hyper- k -mers. Our approach offers significant advantages compared to super- k -mers, by reducing the asymptotic lower bound from 6 to 4 bits per nucleotide. Third, we present KFC , a k -mer counting algorithm leveraging hyper- k -mers. KFC offers significant practical advantages, including an order of magnitude improvement in memory usage compared to state-of-the-art tools. Notably, our experiments show that KFC is the only tool whose memory usage scales sub-linearly with k -mer size k , and is the fastest option when k is large. Availability: KFC is available at https://github.com/lrobidou/KFC with tests available at https://github.com/imartayan/KFC_experiments .


  • Open Access

    Conway–Bromage–Lyndon (CBL): an exact, dynamic representation of k-mer sets

    by Igor Martayan, Bastien Cazaux, Antoine Limasset, Camille Marchet

    In this article, we introduce the Conway–Bromage–Lyndon (CBL) structure, a compressed, dynamic and exact method for representing k-mer sets. Originating from Conway and Bromage’s concept, CBL innovatively employs the smallest cyclic rotations of k-mers, akin to Lyndon words, to leverage lexicographic redundancies. In order to support dynamic operations and set operations, we propose a dynamic bit vector structure that draws a parallel with Elias-Fano’s scheme. This structure is encapsulated in a Rust library, demonstrating a balanced blend of construction efficiency, cache locality, and compression. Our findings suggest that CBL outperforms existing dynamic k-mer set methods. Unique to this work, CBL stands out as the only known exact k-mer structure offering in-place set operations. Its different combined abilities position it as a flexible Swiss knife structure for k-mer set management. https://github.com/imartayan/CBL.