diff --git a/Cargo.toml b/Cargo.toml index e9bab25..0026d5d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bio-streams" -version = "0.3.1" +version = "0.4.0" edition = "2021" authors = ["jeff-k "] description = "Streaming bioinformatics data types" @@ -12,12 +12,14 @@ readme = "README.md" [dependencies] futures = "0.3" futures-test = "0.3" -bio-seq = "0.12" +bio-seq = "0.13" +#bio-seq = { path = "../bio-seq/bio-seq" } [dev-dependencies] flate2 = "1" clap = { version="4", features=["derive"] } -bio-seq = "0.12" +bio-seq = "0.13" +#bio-seq = { path = "../bio-seq/bio-seq" } [[example]] name = "fqcheck" diff --git a/examples/aminokmers.rs b/examples/aminokmers.rs index 746625a..a09480c 100644 --- a/examples/aminokmers.rs +++ b/examples/aminokmers.rs @@ -1,6 +1,3 @@ -extern crate bio_seq; -extern crate bio_streams; - use std::fs::File; use std::io::BufReader; use std::path::PathBuf; @@ -30,7 +27,7 @@ fn main() { for contig in faa { for kmer in contig.unwrap().seq.kmers::() { - histo[usize::from(kmer)] += 1; + histo[usize::from(&kmer)] += 1; total += 1; } count += 1; diff --git a/examples/fqcheck.rs b/examples/fqcheck.rs index 0bea352..2b98111 100644 --- a/examples/fqcheck.rs +++ b/examples/fqcheck.rs @@ -1,6 +1,3 @@ -extern crate bio_streams; -extern crate flate2; - use std::fs::File; use std::io::BufReader; use std::path::PathBuf; diff --git a/src/lib.rs b/src/lib.rs index 973f5e0..41ea3f9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -75,8 +75,6 @@ //! } //! ``` //! -extern crate bio_seq; - pub mod fasta; pub mod fastq; pub mod record;