Skip to content

Commit

Permalink
moved kraken db location
Browse files Browse the repository at this point in the history
  • Loading branch information
simonleandergrimm committed Dec 11, 2024
1 parent 11f2145 commit 55f75f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions workflows/run_dev_se.nf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ workflow RUN_DEV_SE {
// Start time
start_time = new Date()
start_time_str = start_time.format("YYYY-MM-dd HH:mm:ss z (Z)")
kraken_db_path = "${params.ref_dir}/results/kraken_db"

// Check if grouping column exists in samplesheet
check_grouping = new File(params.sample_sheet).text.readLines()[0].contains('group') ? true : false
Expand All @@ -34,8 +35,6 @@ workflow RUN_DEV_SE {
} else if (!params.grouping && check_grouping) {
throw new Exception("Grouping is not enabled in config file, but group column is present in the samplesheet.")
}
// Prepare Kraken DB
kraken_db_path = "${params.ref_dir}/results/kraken_db"
}

// Load samplesheet
Expand Down

0 comments on commit 55f75f8

Please sign in to comment.