Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f389b37f2 | ||
|
|
66ab1d0947 | ||
|
|
5e2bb393e0 | ||
|
|
fceb523f1a | ||
|
|
700eaeaed2 | ||
|
|
f1f7940277 |
Generated
+1
-1
@@ -1793,7 +1793,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "obikmer"
|
name = "obikmer"
|
||||||
version = "1.2.0"
|
version = "1.2.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
"csv",
|
"csv",
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ name = "compare_sparse"
|
|||||||
path = "src/main.rs"
|
path = "src/main.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
obikindex = { path = "../obikindex" }
|
obikindex = { path = "../obikindex", default-features = false }
|
||||||
obicompactvec = { path = "../obicompactvec" }
|
obicompactvec = { path = "../obicompactvec" }
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
fastrand = "2"
|
fastrand = "2"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "obikmer"
|
name = "obikmer"
|
||||||
version = "1.2.0"
|
version = "1.2.2"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
obikindex = { path = "../obikindex" }
|
obikindex = { path = "../obikindex", default-features = false }
|
||||||
obikseq = { path = "../obikseq" }
|
obikseq = { path = "../obikseq" }
|
||||||
obikpartitionner = { path = "../obikpartitionner" }
|
obikpartitionner = { path = "../obikpartitionner" }
|
||||||
obiskio = { path = "../obiskio" }
|
obiskio = { path = "../obiskio" }
|
||||||
|
|||||||
@@ -1108,9 +1108,8 @@ fn diag_real_index_verify_kmer_resolution() {
|
|||||||
|
|
||||||
// The k-mer with A+other (mask 0b0011 = A+C)
|
// The k-mer with A+other (mask 0b0011 = A+C)
|
||||||
let kmer_str = "AGCTAGCTATTGAGCCTGGTCCGTATGAAAC";
|
let kmer_str = "AGCTAGCTATTGAGCCTGGTCCGTATGAAAC";
|
||||||
let kmer = CanonicalKmer::from_str(kmer_str, k).unwrap();
|
let kmer = canonical(kmer_str.as_bytes());
|
||||||
let rc = kmer.revcomp();
|
let rc_str = kmer_revcomp_to_string(&kmer, k);
|
||||||
let rc_str = kmer_to_string(&rc, k);
|
|
||||||
|
|
||||||
println!("kmer_forward={} kmer_revcomp={}", kmer_str, rc_str);
|
println!("kmer_forward={} kmer_revcomp={}", kmer_str, rc_str);
|
||||||
println!("kmer partition={}", kmer.partition(n_parts));
|
println!("kmer partition={}", kmer.partition(n_parts));
|
||||||
|
|||||||
Reference in New Issue
Block a user