Approximate Common Substring
- Rust compiler version >= 1.36. See install instructions here.
- A modern, C++11 ready compiler such as
g++
>= v4.7 orclang
>= v3.2 or MSVC >= 14 to compile libdivsufsort. - The cmake build system (Version >= 2.8.11).
- A 64-bit operating system. Tested in Windows 10 and Linux.
The program can be compiled as follows:
cargo build
To create a release build
cargo build --release
In case of release build, the output executable will be available at target/release/adyar-rs
The release version of he program is run one of the following two ways :
cargo run --release -- <FASTA_FILE> -o <DIST_MATRIX> -k <K_VALUE>
or
target/release/adyar-rs <FASTA_FILE> -o <DIST_MATRIX> -k <K_VALUE>
Example:
target/release/adyar-rs data/input.fa -o input_dist.txt -k 2
Output: Runtime, value of symmetric acs distance