Description

Generate a panel of normals (PoN) for copy number variation analysis using CCNV

Input

name
description
pattern

ch_bam_bai

Channel containing indexed BAM/CRAM alignment files for normal control samples.
Optional meta.sex (‘M’ or ‘F’) and meta.ff (0.0 to 1.0) entries are forwarded to the cohort samplesheet.
Structure: [ val(meta), path(reads), path(reads_index) ]

*.{bam,cram}

ch_fasta_fai

Channel containing the reference genome FASTA file and its FAI index (required for CRAM inputs; optional for BAM inputs).
Structure: [ val(meta2), path(fasta), path(fai) ]

*.{fasta,fa,fna}

ch_mappability

Optional channel containing a mappability BigWig track for covariate normalisation.
Structure: [ val(meta3), path(mappability) ]

*.{bw,bigWig}

ch_gc

Optional channel containing a GC content track (BigWig, BED, or FASTA) and its index for covariate normalisation.
Structure: [ val(meta4), path(gc), path(gc_index) ]

*.{bw,bigWig,bed,bed.gz,fasta,fa,fna}

Output

name
description
pattern

ccnv_sample

Channel containing per-sample extracted CCNV files.
Structure: [ val(meta), path(ccnv) ]

*.ccnv

ccnv_reference

Channel containing the generated panel of normals CCNV reference model.
Structure: [ val(meta), path(ccnv) ]

*.ccnv

ccnv_reference_qc

Channel containing the reference quality control report in JSON format.
Structure: [ val(meta), path(json) ]

*_qc.json