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
Copy file name to clipboardExpand all lines: main.nf
+20-20Lines changed: 20 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -250,7 +250,7 @@ if ( params.fasta.isEmpty () ){
250
250
exit 1, "[nf-core/eager] error: please specify --fasta with the path to your reference"
251
251
} elseif("${params.fasta}".endsWith(".gz")){
252
252
//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
253
-
zipped_fasta =path("${params.fasta}")
253
+
zipped_fasta =file("${params.fasta}")
254
254
255
255
rm_gz = params.fasta -'.gz'
256
256
lastPath = rm_gz.lastIndexOf(File.separator)
@@ -536,12 +536,12 @@ if (workflow.profile.contains('awsbatch')) {
if (!path(it).exists()) exit 1, "[nf-core/eager] error: Cannot find supplied FASTQ or BAM input file. If using input method TSV set to NA if no file required. See --help or documentation under 'running the pipeline' for more information. Check file: ${it}"
3068
-
returnpath(it)
3067
+
if (!file(it).exists()) exit 1, "[nf-core/eager] error: Cannot find supplied FASTQ or BAM input file. If using input method TSV set to NA if no file required. See --help or documentation under 'running the pipeline' for more information. Check file: ${it}"
0 commit comments