From 40d3b01960b71399098fec73204a4e17b8cb70c3 Mon Sep 17 00:00:00 2001 From: Biowilko Date: Thu, 22 Aug 2024 14:47:23 +0100 Subject: [PATCH] Add min / max length for itm scheme --- main.nf | 8 ++++---- nextflow.config | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/main.nf b/main.nf index 8fa034d..c612ff6 100644 --- a/main.nf +++ b/main.nf @@ -372,10 +372,10 @@ 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 @@ -383,10 +383,10 @@ workflow { } 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 diff --git a/nextflow.config b/nextflow.config index 9cd880f..d5430fa 100644 --- a/nextflow.config +++ b/nextflow.config @@ -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 {