-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finished writing the code today and had no access to internet and now pushing it ahead. Final and binary release.
- Loading branch information
1 parent
6001d41
commit 7316a4f
Showing
8 changed files
with
162 additions
and
66 deletions.
There are no files selected for viewing
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,16 +1,33 @@ | ||
# rust-suffix-arrays | ||
|
||
- This rust emphasis on the following part for the implementation. | ||
- This rust emphasis on the following part for the implementation. | ||
- rust suffix array building from two points: 1. LCP and 2. Kasai path generation. | ||
- please see the other trait for the Kasai and Ukonnen implemented using this crate to build the graph. | ||
- general note: Incase of Golang and RUST, please see the last commit message and if it says compiled binary then it is completed or else still in development version. | ||
|
||
- rust suffix array | ||
- rust wavelet structure | ||
- rust lcp from suffix arrays for suffix tries. | ||
|
||
|
||
``` | ||
cargo build | ||
``` | ||
|
||
``` | ||
➜ gauravsablok rust-suffix-arrays-tries git:(main) ✗ ./target/debug/rust-suffix-arrays -h | ||
Usage: rust-suffix-arrays <SUFFIXARRAY_ARG> | ||
Arguments: | ||
<SUFFIXARRAY_ARG> please provide the path to the fastq file | ||
Options: | ||
-h, --help Print help | ||
-V, --version Print version | ||
``` | ||
- to run the binary | ||
``` | ||
./target/debug/rust-suffix-arrays ./sample-files/sample.fasta | ||
``` | ||
|
||
Gaurav Sablok |
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@samplefasta | ||
ATATAGCATGATCATAGACTGATCA |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ATATAGCATGATCATAGACTGATCA [(24, "A"), (17, "ACTGATCA"), (15, "AGACTGATCA"), (4, "AGCATGATCATAGACTGATCA"), (13, "ATAGACTGATCA"), (2, "ATAGCATGATCATAGACTGATCA"), (0, "ATATAGCATGATCATAGACTGATCA"), (21, "ATCA"), (10, "ATCATAGACTGATCA"), (7, "ATGATCATAGACTGATCA"), (23, "CA"), (12, "CATAGACTGATCA"), (6, "CATGATCATAGACTGATCA"), (18, "CTGATCA"), (16, "GACTGATCA"), (20, "GATCA"), (9, "GATCATAGACTGATCA"), (5, "GCATGATCATAGACTGATCA"), (14, "TAGACTGATCA"), (3, "TAGCATGATCATAGACTGATCA"), (1, "TATAGCATGATCATAGACTGATCA"), (22, "TCA"), (11, "TCATAGACTGATCA"), (19, "TGATCA"), (8, "TGATCATAGACTGATCA")] | ||
|
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
24 A | ||
|
||
17 ACTGATCA | ||
|
||
15 AGACTGATCA | ||
|
||
4 AGCATGATCATAGACTGATCA | ||
|
||
13 ATAGACTGATCA | ||
|
||
2 ATAGCATGATCATAGACTGATCA | ||
|
||
0 ATATAGCATGATCATAGACTGATCA | ||
|
||
21 ATCA | ||
|
||
10 ATCATAGACTGATCA | ||
|
||
7 ATGATCATAGACTGATCA | ||
|
||
23 CA | ||
|
||
12 CATAGACTGATCA | ||
|
||
6 CATGATCATAGACTGATCA | ||
|
||
18 CTGATCA | ||
|
||
16 GACTGATCA | ||
|
||
20 GATCA | ||
|
||
9 GATCATAGACTGATCA | ||
|
||
5 GCATGATCATAGACTGATCA | ||
|
||
14 TAGACTGATCA | ||
|
||
3 TAGCATGATCATAGACTGATCA | ||
|
||
1 TATAGCATGATCATAGACTGATCA | ||
|
||
22 TCA | ||
|
||
11 TCATAGACTGATCA | ||
|
||
19 TGATCA | ||
|
||
8 TGATCATAGACTGATCA | ||
|
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
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