From 4565960330114deb837128374fb08b30f433433f Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Thu, 8 Apr 2021 08:37:18 -0600 Subject: [PATCH] Allow two digit numbers --- illumina/rename-fastqs.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/illumina/rename-fastqs.jl b/illumina/rename-fastqs.jl index fc706cb..770388e 100644 --- a/illumina/rename-fastqs.jl +++ b/illumina/rename-fastqs.jl @@ -47,7 +47,7 @@ for fastq in fastqs end # Swap the column and row - well_num = string(last(id_row.WellNum[1],1), first(id_row.WellNum[1],1)) + well_num = string(last(id_row.WellNum[1],2), first(id_row.WellNum[1],1)) # Construct the new filename fastq_newname = string(well_num, "_", fastq)