From 4ff2b760de69f67fc6237271652e17bd44808d0e Mon Sep 17 00:00:00 2001 From: chriswyatt1 Date: Wed, 5 Oct 2022 10:14:05 +0000 Subject: [PATCH] Remove_unused_folder --- nf-training/scripts/gzip.nf | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 nf-training/scripts/gzip.nf diff --git a/nf-training/scripts/gzip.nf b/nf-training/scripts/gzip.nf deleted file mode 100644 index 6a193052..00000000 --- a/nf-training/scripts/gzip.nf +++ /dev/null @@ -1,24 +0,0 @@ -params.compress = 'gzip' -params.file2compress = "$projectDir/data/ggal/transcriptome.fa" - -process foo { - - input: - path file - - script: - if( params.compress == 'gzip' ) - """ - gzip -c $file > ${file}.gz - """ - else if( params.compress == 'bzip2' ) - """ - bzip2 -c $file > ${file}.bz2 - """ - else - throw new IllegalArgumentException("Unknown aligner $params.compress") -} - -workflow{ - foo(params.file2compress) -}