You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//Put the zip into a channel, then unzip it and forward to downstream processes. DONT unzip in all steps, this is inefficient as NXF links the files anyways from work to work dir
225
-
Channel.fromPath("${params.fasta}")
226
-
.ifEmpty { exit 1, "No genome specified! Please specify one with --fasta"}
227
-
.set {ch_unzip_fasta}
219
+
if("${params.fasta}".endsWith(".gz")){
220
+
//Put the zip into a channel, then unzip it and forward to downstream processes. DONT unzip in all steps, this is inefficient as NXF links the files anyways from work to work dir
221
+
Channel.fromPath("${params.fasta}")
222
+
.ifEmpty { exit 1, "No genome specified! Please specify one with --fasta"}
0 commit comments