Skip to content

Commit ee80b15

Browse files
committed
Update deps
1 parent 2a58c36 commit ee80b15

3 files changed

Lines changed: 15 additions & 16 deletions

File tree

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[package]
22
name = "windchime"
3-
version = "0.0.2"
3+
version = "0.0.3"
44
edition = "2021"
55

66
[dependencies]
77
# Command-line argument parsing
88
clap = { version = "4.3", features = ["derive"] }
99

1010
# For color-coded terminal output
11-
colored = "2.0"
11+
colored = "3.0"
1212

1313
# For interactive wizard prompts
14-
dialoguer = "0.10"
14+
dialoguer = "0.11"
1515

1616
# For progress bars and spinners
1717
indicatif = "0.17.11"
@@ -36,7 +36,3 @@ chrono = "0.4"
3636
csv = "1.1"
3737
serde = { version = "1.0.217", features = ["derive"] }
3838
once_cell = "1.20.2"
39-
40-
[profile.release]
41-
# Optional: If you want faster performance on large data
42-
opt-level = 3

src/pipeline.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -555,9 +555,12 @@ pub fn run_pipeline(
555555
let pr2_extracts_qza = out_path("db/pr2/pr2_extracts.qza");
556556
if !skip_existing || !Path::new(&pr2_extracts_qza).exists() {
557557
run_step("Extracting pr2 reads", || {
558-
// For illustration, we'll pick some generic primer F/R here:
559-
let primer_f = "GTGYCAGCMGCCGCGGTAA";
560-
let primer_r = "CCGYCAATTYMTTTRAGTTT";
558+
// Use specific primers based on target
559+
let (primer_f, primer_r) = match target.to_lowercase().as_str() {
560+
"18s" => ("TTGTACACACCGCCC", "CCTTCYGCAGGTTCACCTAC"),
561+
"16s" => ("GTGYCAGCMGCCGCGGTAA", "CCGYCAATTYMTTTRAGTTT"),
562+
_ => return Err("Invalid target region".into()),
563+
};
561564
run_conda_qiime_command(env_name, &format!(
562565
"feature-classifier extract-reads \
563566
--i-sequences {} \

0 commit comments

Comments
 (0)