@@ -35,15 +35,15 @@ workflow SQANTI_PREPARE_REFERENCE {
3535 CURL_CAGE ( ' refTSS_CAGE' , ' bed.gz' , ' https://figshare.com/ndownloader/files/52801133' )
3636 sqanti_cage_bed_gzip = CURL_CAGE . out. curl
3737 ch_versions = ch_versions. mix(CURL_CAGE . out. versions)
38- ch_sqanti_cage_bed = GUNZIP_CAGE ( [ [:], sqanti_cage_bed_gzip ] ). gunzip. map { it[1 ] }
38+ ch_sqanti_qc_cage_bed = GUNZIP_CAGE ( [ [:], sqanti_cage_bed_gzip ] ). gunzip. map { it[1 ] }
3939 ch_versions = ch_versions. mix(GUNZIP_CAGE . out. versions)
4040 // ch_sqanti_cage_bed = GUNZIP_CAGE.out.
4141 } else {
4242 if (sqanti_qc_cage_path. endsWith(' .gz' )) {
43- ch_sqanti_cage_bed = GUNZIP_CAGE ( [ [:], sqanti_qc_cage_path ] ). gunzip. map { it[1 ] }
43+ ch_sqanti_qc_cage_bed = GUNZIP_CAGE ( [ [:], sqanti_qc_cage_path ] ). gunzip. map { it[1 ] }
4444 ch_versions = ch_versions. mix(GUNZIP_CAGE . out. versions)
4545 } else {
46- ch_sqanti_cage_bed = Channe . value(file(sqanti_qc_cage_path), checkIfExists :true )
46+ ch_sqanti_qc_cage_bed = Channel . value(file(sqanti_qc_cage_path), checkIfExists :true )
4747 }
4848 }
4949 }
@@ -53,7 +53,7 @@ workflow SQANTI_PREPARE_REFERENCE {
5353 CURL_POLYA_SITES ( ' polyA_sites' , ' bed.gz' , ' https://figshare.com/ndownloader/files/52801130' )
5454 sqanti_polyA_sites_bed_gzip = CURL_POLYA_SITES . out. curl
5555 ch_versions = ch_versions. mix(CURL_POLYA_SITES . out. versions)
56- ch_sqanti_polyA_sites_bed = GUNZIP_POLYA_SITES ( [ [:], sqanti_polyA_sites_bed_gzip ] ). gunzip. map { it[1 ] }
56+ ch_sqanti_qc_polyA_sites_bed = GUNZIP_POLYA_SITES ( [ [:], sqanti_polyA_sites_bed_gzip ] ). gunzip. map { it[1 ] }
5757 ch_versions = ch_versions. mix(GUNZIP_POLYA_SITES . out. versions)
5858 } else {
5959 if (sqanti_polyA_sites_path. endsWith(' .gz' )) {
@@ -70,9 +70,9 @@ workflow SQANTI_PREPARE_REFERENCE {
7070 if (sqanti_qc_polyA_motif_path == null ) { // user doesn't provide path to predownload polyA sites data
7171 CURL_POLYA_MOTIF ( ' polyA_motif' , ' txt' , ' https://figshare.com/ndownloader/files/52801139' )
7272 ch_versions = ch_versions. mix(CURL_POLYA_MOTIF . out. versions)
73- ch_sqanti_polyA_motif = CURL_POLYA_MOTIF . out. curl
73+ ch_sqanti_qc_polyA_motif = CURL_POLYA_MOTIF . out. curl
7474 } else {
75- ch_sqanti_polyA_motif = Channel . value(file(sqanti_qc_polyA_motif_path), checkIfExists :true )
75+ ch_sqanti_qc_polyA_motif = Channel . value(file(sqanti_qc_polyA_motif_path), checkIfExists :true )
7676 }
7777 }
7878
@@ -82,22 +82,22 @@ workflow SQANTI_PREPARE_REFERENCE {
8282 CURL_INTROPOLIS ( ' intropolis' , ' bed.gz' , ' https://figshare.com/ndownloader/files/52801127' )
8383 sqanti_intron_junctions_bed_gzip = CURL_INTROPOLIS . out. curl
8484 ch_versions = ch_versions. mix(CURL_INTROPOLIS . out. versions)
85- ch_sqanti_intron_junctions_bed = GUNZIP_INTROPOLIS ( [ [:], sqanti_intron_junctions_bed_gzip ] ). gunzip. map { it[1 ] }
85+ ch_sqanti_qc_intron_junctions_bed = GUNZIP_INTROPOLIS ( [ [:], sqanti_intron_junctions_bed_gzip ] ). gunzip. map { it[1 ] }
8686 } else {
8787 if (sqanti_qc_intron_path. endsWith(' .gz' )) {
8888 ch_sqanti_qc_intron_junctions_bed = GUNZIP_INTROPOLIS ( [ [:], sqanti_qc_intron_path ] ). gunzip. map { it[1 ] }
8989 ch_versions = ch_versions. mix(GUNZIP_INTROPOLIS . out. versions)
9090 } else {
91- ch_sqanti_qc_intron_bed = Channel . value(file(sqanti_qc_intron_path), checkIfExists :true )
91+ ch_sqanti_qc_intron_junctions_bed = Channel . value(file(sqanti_qc_intron_path), checkIfExists :true )
9292 }
9393 }
9494 }
9595 }
9696
9797
9898 emit :
99- sqanti_qc_cage_bed = ch_sqanti_cage_bed
100- sqanti_qc_polyA_sites_bed = ch_sqanti_polyA_sites_bed
99+ sqanti_qc_cage_bed = ch_sqanti_qc_cage_bed
100+ sqanti_qc_polyA_sites_bed = ch_sqanti_qc_polyA_sites_bed
101101 sqanti_qc_polyA_motif = ch_sqanti_qc_polyA_motif
102102 sqanti_qc_intron_junctions_bed = ch_sqanti_qc_intron_junctions_bed
103103 versions = ch_versions // channel: [ versions.yml ]
0 commit comments