@@ -559,7 +559,6 @@ if (params.input && (has_extension(params.input, "tsv"))) tsv_path = params.inpu
559559ch_input_sample = Channel . empty()
560560if (tsv_path) {
561561
562- // TODO add check file exists here first
563562 tsv_file = file(tsv_path)
564563 ch_input_sample = extract_data(tsv_file)
565564
@@ -883,10 +882,10 @@ process convertBam {
883882 params. run_convertinputbam
884883
885884 input:
886- tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, file (bam) from ch_input_for_convertbam
885+ tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, path (bam) from ch_input_for_convertbam
887886
888887 output:
889- tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, file (" *fastq.gz" ), val(' NA' ) into ch_output_from_convertbam
888+ tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, path (" *fastq.gz" ), val(' NA' ) into ch_output_from_convertbam
890889
891890 script:
892891 base = " ${ bam.baseName} "
@@ -904,10 +903,10 @@ process indexinputbam {
904903 bam != ' NA' && ! params. run_convertinputbam
905904
906905 input:
907- tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, file (bam) from ch_input_for_indexbam
906+ tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, path (bam) from ch_input_for_indexbam
908907
909908 output:
910- tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, file (bam), file (" *.{bai,csi}" ) into ch_indexbam_for_filtering
909+ tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, path (bam), path (" *.{bai,csi}" ) into ch_indexbam_for_filtering
911910
912911 script:
913912 size = " ${ params.large_ref} " ? ' -c' : ' '
@@ -936,7 +935,7 @@ process fastqc {
936935 ! params. skip_fastqc
937936
938937 input:
939- tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, file (r1), file (r2) from ch_convertbam_for_fastqc
938+ tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, path (r1), path (r2) from ch_convertbam_for_fastqc
940939
941940 output:
942941 file " *_fastqc.{zip,html}" into ch_prefastqc_for_multiqc
@@ -982,11 +981,11 @@ process fastp {
982981 params. complexity_filter_poly_g
983982
984983 input:
985- tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, file (r1), file (r2) from ch_input_for_fastp. twocol
984+ tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, path (r1), path (r2) from ch_input_for_fastp. twocol
986985
987986 output:
988- tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, file (" *.pG.fq.gz" ) into ch_output_from_fastp
989- file (" *.json" ) into ch_fastp_for_multiqc
987+ tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, path (" *.pG.fq.gz" ) into ch_output_from_fastp
988+ path (" *.json" ) into ch_fastp_for_multiqc
990989
991990 script:
992991 if ( seqtype == ' SE' ){
@@ -1046,12 +1045,12 @@ process adapter_removal {
10461045 publishDir " ${ params.outdir} /AdapterRemoval" , mode: ' copy'
10471046
10481047 input:
1049- tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, file (r1), file (r2) from ch_fastp_for_adapterremoval
1048+ tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, path (r1), path (r2) from ch_fastp_for_adapterremoval
10501049
10511050 output:
1052- tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, file (" output/*{combined.fq,.se.truncated,pair1.truncated}.gz" ) into ch_output_from_adapterremoval_r1
1053- tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, file (" output/*pair2.truncated.gz" ) optional true into ch_output_from_adapterremoval_r2
1054- tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, file (" output/*.settings" ) into ch_adapterremoval_logs
1051+ tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, path (" output/*{combined.fq,.se.truncated,pair1.truncated}.gz" ) into ch_output_from_adapterremoval_r1
1052+ tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, path (" output/*pair2.truncated.gz" ) optional true into ch_output_from_adapterremoval_r2
1053+ tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, path (" output/*.settings" ) into ch_adapterremoval_logs
10551054
10561055 when:
10571056 ! params. skip_adapterremoval
@@ -1181,7 +1180,7 @@ process lanemerge {
11811180 publishDir " ${ params.outdir} /lanemerging" , mode: ' copy'
11821181
11831182 input:
1184- tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, file (r1), file(r2) from ch_branched_for_lanemerge. merge_me
1183+ tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, path (r1), file(r2) from ch_branched_for_lanemerge. merge_me
11851184
11861185 output:
11871186 tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, file(" *.fq.gz" ) into ch_lanemerge_for_mapping
0 commit comments