Skip to content

Commit 650b226

Browse files
committed
How to run
1 parent a438c20 commit 650b226

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

fakeminimap2/README.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,34 @@
11
# Multithreaded example of mapping
22

3-
Using crossbeam and standard library threading, we can multi thread alignments sharing the same references to the index.
4-
Small example files are provided,
3+
Using crossbeam and standard library threading, we can multi thread alignments sharing the same references to the index. Small example files are provided.
4+
5+
## Running
6+
Make sure you have [Rustup](https://rustup.rs/) installed.
7+
8+
Git clone the whole repo and go to the fakeminimap2 directory.
9+
```
10+
cargo run --release <TARGET-FASTA> <QUERY-FASTA> <NUM THREADS>
11+
```
12+
13+
Such as
14+
```
15+
cargo run --release Arabidopsis.fna reads.fasta 64
16+
```
17+
18+
You can also
19+
```
20+
cargo install --path .
21+
```
22+
To install it, then run it as
23+
24+
```
25+
fakeminimap2 the-best-bird.fasta new-reads.fasta 32
26+
```
527

628
## Logging
729
Logging is done using the log crate, and the log level can be set using the RUST_LOG environment variable.
830

931
```
1032
RUST_LOG=info cargo run
11-
```
33+
```
34+

0 commit comments

Comments
 (0)