# HG changeset patch # User iuc # Date 1740830569 0 # Node ID 80dc747a394d38a820f5fdd9f876f3412be74ffb # Parent 71f99b30a7f1c50bcccd29ee31ecf1d430c5cd41 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb diff -r 71f99b30a7f1 -r 80dc747a394d batch.xml --- a/batch.xml Mon Jan 20 16:42:09 2025 +0000 +++ b/batch.xml Sat Mar 01 12:02:49 2025 +0000 @@ -13,8 +13,10 @@ ln -s '$CNV_reference.reference' ./reference.cnn && #end if #if str($CNV_reference.CNV_reference_availabel) == "no": - ln -s '$CNV_reference.normal' ./normal.bam && - ln -s '$CNV_reference.normal.metadata.bam_index' ./normal.bam.bai && + #if $CNV_reference.normal + ln -s '$CNV_reference.normal' ./normal.bam && + ln -s '$CNV_reference.normal.metadata.bam_index' ./normal.bam.bai && + #end if #if $CNV_reference.advanced_settings.antitargets ln -s '$CNV_reference.advanced_settings.antitargets' ./antitargets.bed && #end if @@ -37,7 +39,11 @@ cnvkit.py batch ./tumor.bam #if str($CNV_reference.CNV_reference_availabel) == "no": - --normal ./normal.bam + #if $CNV_reference.normal + --normal ./normal.bam + #else: + --normal + #end if --targets ./capture.bed --fasta ./genome.fa #if $CNV_reference.advanced_settings.antitargets @@ -111,28 +117,28 @@ - - - - - - + + + + + + (CNV_reference['CNV_reference_availabel']) == 'no' - + (CNV_reference['CNV_reference_availabel']) == 'no' - + (CNV_reference['CNV_reference_availabel']) == 'no' - + (CNV_reference['CNV_reference_availabel']) == 'no' (CNV_reference['CNV_reference_availabel']) == 'no' - + (CNV_reference['CNV_reference_availabel']) == 'yes' @@ -180,7 +186,55 @@ - + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + @@ -227,7 +281,7 @@ - + @@ -294,7 +348,77 @@ Segmented log2 ratios (.cns) chromosome, Start, end, gene, log2, depth, weight and number of bins covered by the segment (probes) - +----- + +**Bin-level log2 ratios (.cnr)** + +Tabular file containing normalized log2 ratios for small genomic bins (divided regions of the genome). Used to detect raw copy number variations (CNVs) before segmentation. + +.. csv-table:: + :header-rows: 0 + + "chromosome","Genomic chromosome (e.g., chr1, chrX)" + "start","Start position of the bin." + "end","End position of the bin." + "gene","Gene name(s) overlapping the bin (if applicable)." + "log2","Normalized log2 ratio (sample coverage / reference coverage)." + "depth","Average read depth in the bin." + "weight","Reliability weight of the bin (higher = more reliable)." + +----- + +**Segmented log2 ratios (.cns)** + +Tabular file with smoothed, merged segments of stable copy number, derived from the .cnr file. Represents final CNV calls. + +.. csv-table:: + :header-rows: 0 + + "chromosome","start, end: Genomic coordinates of the segment" + "gene","Gene(s) overlapping the segment." + "log2","Mean log2 ratio of the segment." + "probes","Mean log2 ratio of the segment." + "depth","Average read depth." + "weight","Reliability weight." + "p_value","Statistical confidence (lower = more significant)." + +----- + +**Copy Number Reference Profile (.cnn)** + +Tabular file defining the reference baseline built from control samples (e.g., normal samples). Used to normalize test samples. + +.. csv-table:: + :header-rows: 0 + + "chromosome","Genomic chromosome (e.g., chr1, chrX)." + "start","Start position of the bin." + "end","End position of the bin." + "gene","Gene name(s) (if applicable)." + "log2","Reference log2 ratio (typically 0 for diploid regions)." + "depth","Average read depth across control samples." + "spread","Variability (standard deviation) of coverage in controls." + +----- + + +**Target and Antitarget Bin-level Coverages (.cnn)** + +Two intermediate tabular files containing raw coverage counts for target regions (captured regions) and antitarget regions (background). + +**Target Coverage File (e.g., sample.targetcoverage.cnn):** + +- **Columns:** chromosome, start, end, gene, reads (raw read count), depth (reads normalized by bin size). + +- **Purpose:** Captures on-target sequencing depth. + +----- + +**Antitarget Coverage File (e.g., sample.antitargetcoverage.cnn):** + +- **Columns:** Same as target coverage. + +- **Purpose:** Estimates off-target background noise (corrects for whole-genome effects like tumor ploidy). ]]> diff -r 71f99b30a7f1 -r 80dc747a394d macros.xml --- a/macros.xml Mon Jan 20 16:42:09 2025 +0000 +++ b/macros.xml Sat Mar 01 12:02:49 2025 +0000 @@ -1,10 +1,10 @@ - 1 - 0.9.11 + 0 + 0.9.12 cnvkit - scikit-learn + samtools @@ -56,13 +56,13 @@ - - - - - - - + + + + + + + @@ -70,7 +70,7 @@ - + @@ -85,7 +85,7 @@ - +
@@ -137,7 +137,7 @@ - + @@ -145,32 +145,32 @@ - - + + - + - + - + - + - + @@ -187,32 +187,32 @@ - - - + + + - + - - + + - + - - - - - - - + + + + + + + diff -r 71f99b30a7f1 -r 80dc747a394d test-data/sample.cnv.vcf --- a/test-data/sample.cnv.vcf Mon Jan 20 16:42:09 2025 +0000 +++ b/test-data/sample.cnv.vcf Sat Mar 01 12:02:49 2025 +0000 @@ -1,6 +1,6 @@ ##fileformat=VCFv4.2 -##fileDate=20250120 -##source=CNVkit v0.9.11 +##fileDate=20250203 +##source=CNVkit v0.9.12 ##INFO= ##INFO= ##INFO=