Skip to content

Commit c823cd1

Browse files
committed
Remove left overattempts from file>path
1 parent 33143b0 commit c823cd1

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

main.nf

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -882,10 +882,10 @@ process convertBam {
882882
params.run_convertinputbam
883883

884884
input:
885-
tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, path(bam) from ch_input_for_convertbam
885+
tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, file(bam) from ch_input_for_convertbam
886886

887887
output:
888-
tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, path("*fastq.gz"), val('NA') into ch_output_from_convertbam
888+
tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, file("*fastq.gz"), val('NA') into ch_output_from_convertbam
889889

890890
script:
891891
base = "${bam.baseName}"
@@ -903,10 +903,10 @@ process indexinputbam {
903903
bam != 'NA' && !params.run_convertinputbam
904904

905905
input:
906-
tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, path(bam) from ch_input_for_indexbam
906+
tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, file(bam) from ch_input_for_indexbam
907907

908908
output:
909-
tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, path(bam), path("*.{bai,csi}") into ch_indexbam_for_filtering
909+
tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, file(bam), file("*.{bai,csi}") into ch_indexbam_for_filtering
910910

911911
script:
912912
size = "${params.large_ref}" ? '-c' : ''
@@ -935,7 +935,7 @@ process fastqc {
935935
!params.skip_fastqc
936936

937937
input:
938-
tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, path(r1), path(r2) from ch_convertbam_for_fastqc
938+
tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, file(r1), file(r2) from ch_convertbam_for_fastqc
939939

940940
output:
941941
file "*_fastqc.{zip,html}" into ch_prefastqc_for_multiqc
@@ -981,11 +981,11 @@ process fastp {
981981
params.complexity_filter_poly_g
982982

983983
input:
984-
tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, path(r1), path(r2) from ch_input_for_fastp.twocol
984+
tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, file(r1), file(r2) from ch_input_for_fastp.twocol
985985

986986
output:
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
987+
tuple samplename, libraryid, lane, colour, seqtype, organism, strandedness, udg, file("*.pG.fq.gz") into ch_output_from_fastp
988+
file("*.json") into ch_fastp_for_multiqc
989989

990990
script:
991991
if( seqtype == 'SE' ){
@@ -1045,12 +1045,12 @@ process adapter_removal {
10451045
publishDir "${params.outdir}/AdapterRemoval", mode: 'copy'
10461046

10471047
input:
1048-
tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, path(r1), path(r2) from ch_fastp_for_adapterremoval
1048+
tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, file(r1), file(r2) from ch_fastp_for_adapterremoval
10491049

10501050
output:
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
1051+
tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, file("output/*{combined.fq,.se.truncated,pair1.truncated}.gz") into ch_output_from_adapterremoval_r1
1052+
tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, file("output/*pair2.truncated.gz") optional true into ch_output_from_adapterremoval_r2
1053+
tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, file("output/*.settings") into ch_adapterremoval_logs
10541054

10551055
when:
10561056
!params.skip_adapterremoval
@@ -1180,7 +1180,7 @@ process lanemerge {
11801180
publishDir "${params.outdir}/lanemerging", mode: 'copy'
11811181

11821182
input:
1183-
tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, path(r1), file(r2) from ch_branched_for_lanemerge.merge_me
1183+
tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, file(r1), file(r2) from ch_branched_for_lanemerge.merge_me
11841184

11851185
output:
11861186
tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, file("*.fq.gz") into ch_lanemerge_for_mapping

0 commit comments

Comments
 (0)