-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
“suchapalaver”
committed
Sep 20, 2021
1 parent
5cedea8
commit 7deec0e
Showing
5 changed files
with
64 additions
and
4,452 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.