nf-core/canvas/germline @ 0.0.0-6c4ed3a
Summary
Calls germline copy number variants (CNVs) from whole genome sequencing data using Illumina Canvas in SmallPedigree-WGS mode. Although named SmallPedigree-WGS, this mode is recommended for single germline samples as well as small pedigrees. The module accepts aligned reads (BAM), germline SNV calls, and sex-specific ploidy information, and outputs a VCF with copy number status across the genome together with a coverage-and-variant-frequency file used for downstream segmentation.
Get started
Add the following snippet to your workflow script to include this module.
include { CANVAS_GERMLINE } from 'nf-core/canvas/germline'
License
MIT License
Name
|
CANVAS_GERMLINE |
|---|
meta
map
|
Groovy Map containing sample information. e.g. |
|---|---|
bam
file
|
Sorted BAM file of aligned WGS reads. *.bam
|
bai
file
|
BAM index file. *.bai
|
germline_snv_vcf
file
|
VCF (or gzipped VCF) containing germline SNV b-allele sites (PASS filter only). Typically produced by a variant caller such as DNAscope or DeepVariant. *.{vcf,vcf.gz}
|
|---|
sex
string
|
Sample sex. Must be either "male" or "female". Used to select the appropriate ploidy VCF for sex chromosomes. |
|---|---|
male_ploidy_vcf
file
|
VCF defining expected ploidy for sex chromosomes in male samples. Both ploidy VCFs (male and female) must always be provided. The module automatically selects the correct one based on the sex value. The sample name in the VCF header is automatically updated to match the SM tag in the BAM header. Expected format (hg38 example):
*.vcf
|
female_ploidy_vcf
file
|
VCF defining expected ploidy for sex chromosomes in female samples. Both ploidy VCFs (male and female) must always be provided. The module automatically selects the correct one based on the sex value. The sample name in the VCF header is automatically updated to match the SM tag in the BAM header. Expected format (hg38 example):
*.vcf
|
genomedir
directory
|
Canvas genome reference directory containing genome.fa and GenomeSize.xml. Available for GRCh37/hg19/GRCh38 from s3://canvas-cnv-public. |
|---|
reference
file
|
Canvas-ready kmer reference file (kmer.fa). Available from s3://canvas-cnv-public. *.fa
|
|---|
filter13
file
|
BED file of regions to exclude from CNV calling (e.g. centromeres, telomeres). Named filter13 following Canvas reference package conventions. Available from s3://canvas-cnv-public. *.bed
|
|---|
vcf
tuple
meta
map
|
Groovy Map containing sample information. e.g. |
|---|---|
${prefix}.vcf.gz
file
|
Bgzipped VCF file containing germline CNV calls. Canvas:REF entries (non-variant regions) are excluded. Requires further annotation for standard SV ALT notation. *.vcf.gz
|
covandvarfreq
tuple
meta
map
|
Groovy Map containing sample information. e.g. |
|---|---|
${prefix}.CoverageAndVariantFrequency.txt
file
|
Tab-separated file with per-bin coverage and variant allele frequency values. Used as input for CANVAS_CREATESEG to generate segmentation files. *.CoverageAndVariantFrequency.txt
|
versions_canvas
tuple
${task.process}
string
|
The name of the process |
|---|---|
canvas
string
|
The name of the tool |
1.40.0
string
|
The version of the tool (hardcoded as Canvas is an archived tool) |
| Tool | Description | Homepage |
|---|---|---|
| canvas | Canvas is a tool for calling copy number variants (CNVs) from human DNA sequencing data. | https://github.com/Illumina/canvas |
| Version | 0.0.0-6c4ed3a |
|---|---|
| Commit ID | 6c4ed3a220310b905a1fc9d04f05be2e0837142b |
| Release Date | 23 Apr 2026 15:08:28 (UTC) |
| Download URL | https://registry.nextflow.io/api/v1/modules/nf-core%2Fcanvas%2Fgermline/0.0.0-6c4ed3a/download |