seanome/kmerseek

Parallelize `sourmash sig kmers`!

Open

#9 opened on Feb 14, 2025

View on GitHub
 (7 comments) (0 reactions) (0 assignees)Rust (3 forks)auto 404
Rusthelp wanted

Repository metrics

Stars
 (9 stars)
PR merge metrics
 (PR metrics pending)

Description

sourmash sig kmers (wrapped in kmerseek.sketch.get_kmers called by kmerseek.entity.KmerseekEntity) is a single-threaded process that merges the provided signatures and iterates over the fasta file, which can be really slow.

For example, I've had this process running for 17 hours on the UniProt/SwissProt human data (only ~20k genes, while all of UniProt/SwissProt is ~500k!):

Image

I'd love for this process to get parallelized somehow. Ideally we'd contribute upstream to sourmash or sourmash_plugin_branchwater itself.

Contributor guide