diff --git a/Cargo.lock b/Cargo.lock index d501e9e..639ff3e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -194,9 +194,9 @@ dependencies = [ [[package]] name = "bio-types" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d45749b87f21808051025e9bf714d14ff4627f9d8ca967eade6946ea769aa4a" +checksum = "3dd588ae658a299e435a6e3bdc289b9ab3b39711c32653acebe62e729eb3c89f" dependencies = [ "derive-new", "lazy_static", @@ -353,7 +353,7 @@ version = "4.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2bac35c6dafb060fd4d275d9a4ffae97917c13a6327903a8be2153cd964f7085" dependencies = [ - "heck 0.5.0", + "heck", "proc-macro2", "quote", "syn 2.0.70", @@ -620,12 +620,6 @@ version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - [[package]] name = "heck" version = "0.5.0" @@ -1615,11 +1609,11 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "strum_macros" -version = "0.25.3" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" +checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" dependencies = [ - "heck 0.4.1", + "heck", "proc-macro2", "quote", "rustversion", diff --git a/Cargo.toml b/Cargo.toml index 694b7ae..0b187d0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,9 +63,9 @@ csv = "1.3.0" mimalloc = { version = "0.1.43", default-features = false } num-format = "0.4.4" num_cpus = "1.16.0" -bio-types = { version = "1.0.1", default-features = true, features = ["serde"] } +bio-types = { version = "1.0.2", default-features = true, features = ["serde"] } itertools = "0.13.0" -thiserror = "1.0.61" +thiserror = "1.0.62" statrs = "0.17.1" sce = { git = "https://github.com/parazodiac/SingleCellExperiment", branch = "dev", version = "0.2.0" } diff --git a/src/quant.rs b/src/quant.rs index 126f431..f423a90 100644 --- a/src/quant.rs +++ b/src/quant.rs @@ -319,7 +319,7 @@ pub fn quantify(quant_opts: QuantOpts) -> anyhow::Result<()> { if compressed_input { let i_file = File::open(parent.join("map.collated.rad.sz")).context("run collate before quant")?; - let br = BufReader::new(snap::read::FrameDecoder::new(BufReader::new(&i_file))); + let br = BufReader::new(snap::read::FrameDecoder::new(&i_file)); info!( log, @@ -544,11 +544,6 @@ pub fn do_quantify(mut br: T, quant_opts: QuantOpts) -> anyhow::Resu // the number of reference sequences let ref_count = hdr.ref_count as u32; - // TODO -- maybe delete March 5, 2024 - // the types for the barcodes and umis - // let bc_type = rad_types::decode_int_type_tag(bct).expect("unsupported barcode type id."); - // let umi_type = rad_types::decode_int_type_tag(umit).expect("unsupported umi type id."); - // the number of genes (different than the number of reference sequences, which are transcripts) let num_genes = gene_name_to_id.len();