Skip to content

Commit

Permalink
Quick now--big reworking
Browse files Browse the repository at this point in the history
  • Loading branch information
“suchapalaver” committed Sep 20, 2021
1 parent 5cedea8 commit 7deec0e
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 4,452 deletions.
8 changes: 0 additions & 8 deletions Cargo.toml~

This file was deleted.

17 changes: 2 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
To make use of krust's multithreaded cocurrency test fasta data with multiple records.

Run krust on the test data, searching for kmers of length 5, like this:

$ cargo run 5 cerevisae.pan_S288C_chrI.fa
$ cargo run 5 cerevisae.pan.fa > output.tsv

or, searching for kmers of length 21 across multiple records:

$ cargo run 21 cerevisae.pan.fa



Branches are variations in implementation:

-- main uses rayon's parallel iterator by collecting the rust-bio fasta Reader into a vector

-- ParallelBridge uses rayon's ParallelBridge (https://docs.rs/rayon/1.5.1/rayon/iter/trait.ParallelBridge.html) (This seems to be slightly slower than collecting and using par_iter)

-- std_threads uses Rust's standard library thread to process in parallel
$ cargo run 21 cerevisae.pan.fa > output.tsv

-- single_thread has no parallel processing
Loading

0 comments on commit 7deec0e

Please sign in to comment.