File tree Expand file tree Collapse file tree
subworkflows/local/prepare_genome Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ workflow PREPARE_GENOME {
5050 //
5151 ch_fasta = channel. empty()
5252 if (fasta. endsWith(' .gz' )) {
53- ch_fasta = GUNZIP_FASTA ([[:], fasta]). gunzip. map { it[1 ] }
53+ ch_fasta = GUNZIP_FASTA ([[:], fasta]). gunzip. map { it[1 ] }
5454 }
5555 else {
5656 ch_fasta = channel. value(file(fasta, checkIfExists : true ))
@@ -62,18 +62,18 @@ workflow PREPARE_GENOME {
6262 ch_gtf = channel. empty()
6363 if (gtf) {
6464 if (gtf. endsWith(' .gz' )) {
65- ch_gtf = GUNZIP_GTF ([[:], gtf]). gunzip. map { it[1 ] }
65+ ch_gtf = GUNZIP_GTF ([[:], gtf]). gunzip. map { it[1 ] }
6666 } else {
6767 ch_gtf = channel. value(file(gtf, checkIfExists : true ))
6868 }
6969 } else if (gff) {
7070 if (gff. endsWith(' .gz' )) {
71- ch_gff = GUNZIP_GFF ([[:], file(gff, checkIfExists : true )]). gunzip. map { it[1 ] }
71+ ch_gff = GUNZIP_GFF ([[:], file(gff, checkIfExists : true )]). gunzip. map { it[1 ] }
7272 } else {
7373 ch_gff = channel. value(file(gff, checkIfExists : true )). map { [ [:], it ] }
7474 }
7575
76- ch_gtf = GFFREAD (ch_gff, []). gtf. map { it[1 ] }
76+ ch_gtf = GFFREAD (ch_gff, []). gtf. map { it[1 ] }
7777 }
7878
7979 //
You can’t perform that action at this time.
0 commit comments