From 6639f0fd53a0d98ead367ada9c9db16db2b08ded Mon Sep 17 00:00:00 2001 From: mapo9 Date: Mon, 25 Mar 2024 09:26:42 +0100 Subject: [PATCH] input change --- subworkflows/local/fastq_input_check.nf | 2 -- subworkflows/local/rnaseq_input.nf | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/subworkflows/local/fastq_input_check.nf b/subworkflows/local/fastq_input_check.nf index bd46bae0..459a64e4 100644 --- a/subworkflows/local/fastq_input_check.nf +++ b/subworkflows/local/fastq_input_check.nf @@ -99,8 +99,6 @@ def create_fastq_channels(LinkedHashMap col) { } else if (params.umi_position == "") { meta.umi_position = null - } else { - error "ERROR: UMI read must be specified as either R1 or R2!" } array = [ meta, [ file(col.filename_R1), file(col.filename_R2) ] ] } else { diff --git a/subworkflows/local/rnaseq_input.nf b/subworkflows/local/rnaseq_input.nf index 64ff529a..67663626 100644 --- a/subworkflows/local/rnaseq_input.nf +++ b/subworkflows/local/rnaseq_input.nf @@ -23,7 +23,7 @@ workflow RNASEQ_INPUT { ch_reads = FASTQ_INPUT_CHECK.out.reads - // validate library generation method parameter + // validate library generation method parameteƧ if (params.vprimers) { error "The TRUST4 library generation method does not require V-region primers, please provide a reference file instead or select another library method option." } else if (params.race_linker) { @@ -42,9 +42,6 @@ workflow RNASEQ_INPUT { if (!params.coord_fasta) { error "Please provide a reference file for the TRUST4 library generation method." } - if (!params.read_format) { - error "Please provide a a read-format as seen in the TRUST4 docs for the TRUST4 library generation method." - } ch_reads.map{ meta, input_file ->