Skip to content

Commit

Permalink
Add min / max length for itm scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
BioWilko committed Aug 22, 2024
1 parent 899a589 commit 40d3b01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -372,21 +372,21 @@ workflow {

if (!params.min_len) {
params.remove('min_len')
if (params.scheme_version.startsWith("yale-mpox")) {
if (params.scheme_version.startsWith("yale-mpox") || params.scheme_version.startsWith("itm-mpox")) {
params._min_len = 1500
} else {
params._min_len = 400
params._min_len = 1500
}
} else {
params._min_len = params.min_len
params.remove('min_len')
}
if (!params.max_len) {
params.remove('max_len')
if (params.scheme_version.startsWith("yale-mpox")){
if (params.scheme_version.startsWith("yale-mpox") || params.scheme_version.startsWith("itm-mpox")) {
params._max_len = 3000
} else {
params._max_len = 700
params._max_len = 2500
}
} else {
params._max_len = params.max_len
Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ manifest {
description = 'Run the ARTIC SARS-CoV-2 methodology on multiplexed MinION, GridION, and PromethION data.'
mainScript = 'main.nf'
nextflowVersion = '>=23.04.2'
version = 'v1.0.5'
version = 'v1.0.6'
}

epi2melabs {
Expand Down

0 comments on commit 40d3b01

Please sign in to comment.