CNVKIT(1)
๐ CNVKIT(1) โ the girlies' guide to the copy number toolkit โจ
okay so. bestie. this is cnvkit, and it lives in the User Commands section of the manual. she's a command-line toolkit for copy number analysis. that's the whole vibe. let's get into it ๐
๐ธ NAME ๐ธ
cnvkit โ a command-line toolkit for copy number analysis.
๐ DESCRIPTION ๐
okay so the usage is literally this, no cap, here's the exact shape of her:
usage: cnvkit [-h]
{batch,target,access,antitarget,autobin,coverage,reference,fix,segment,call,diagram,scatter,heatmap,breaks,genemetrics,gainloss,sex,gender,metrics,segmetrics,bintest,import-picard,import-seg,import-theta,import-rna,export,version}
...
CNVkit, a command-line toolkit for copy number analysis. she contains multitudes ๐ฆ
โจ positional arguments โจ
like, here's the whole squad. every single one of them, in order, periodt:
{batch,target,access,antitarget,autobin,coverage,reference,fix,segment,call,diagram,scatter,heatmap,breaks,genemetrics,gainloss,sex,gender,metrics,segmetrics,bintest,import-picard,import-seg,import-theta,import-rna,export,version}โ these are the Sub-commands. throw-hat any of them for more info, iykyk ๐
and here's the whole cast list with their little blurbs, because nobody gets left out:
batchโ Run the complete CNVkit pipeline on one or more BAM files. the whole glow-up, start to finish ๐targetโ Transform bait intervals into targets more suitable for CNVkit. glow-up for your intervals ๐ซaccessโ List the locations of accessible sequence regions in a FASTA file. where can we actually go ๐บ๏ธantitargetโ Derive off-target ("antitarget") bins from target regions. the off-screen characters, but make them bins ๐ญautobinโ Quickly calculate reasonable bin sizes from BAM read counts. she does the math so you don't have to ๐งฎcoverageโ Calculate coverage in the given regions from BAM read depths. how deep does it go ๐งreferenceโ Compile a coverage reference from the given files (normal samples). building the baseline, the control group, the normal friend ๐งfixโ Combine target and antitarget coverages and correct for biases. Adjust raw coverage data according to the given reference, correct potential biases and recenter. she's the therapist of the pipeline, correcting all the biases ๐segmentโ Infer copy number segments from the given coverage table. connecting the dots, literally ๐callโ Call copy number variants from segmented log2 ratios. saying it out loud ๐ขdiagramโ Draw copy number (log2 coverages, segments) on chromosomes as a diagram. If both the raw probes and segments are given, show them side-by-side on each chromosome (segments on the left side, probes on the right side). art ๐จ left side segments, right side probes, no notes.scatterโ Plot probe log2 coverages and segmentation calls together. the two besties, side by side ๐ซถheatmapโ Plot copy number for multiple samples as a heatmap. everyone on one vibe board ๐ฅbreaksโ List the targeted genes in which a copy number breakpoint occurs. where it all went down ๐genemetricsโ Identify targeted genes with copy number gain or loss. who's up, who's down ๐๐sexโ Guess samples' sex from the relative coverage of chromosomes X and Y. ๐งฌmetricsโ Compute coverage deviations and other metrics for self-evaluation. the self-check, the mirror moment ๐ชsegmetricsโ Compute segment-level metrics from bin-level log2 ratios. zooming out, still counting ๐ญbintestโ Test for single-bin copy number alterations. one bin, one test, one diva ๐import-picardโ Convert Picard CalculateHsMetrics tabular output to CNVkit.cnnfiles. The input file is generated by thePER_TARGET_COVERAGEoption in theCalculateHsMetricsscript in Picard tools. If'antitarget'is in the input filename, the generated output filename will have the suffix'.antitargetcoverage.cnn', otherwise'.targetcoverage.cnn'. filename detective work, she reads the name and picks the suffix ๐import-segโ Convert a SEG file to CNVkit.cnsfiles. translation era ๐import-thetaโ Convert THetA output to a BED-like, CNVkit-like tabular format. Equivalently, use the THetA results file to convert CNVkit.cnssegments to integer copy number calls. two-for-one, she ate ๐ฝ๏ธimport-rnaโ Convert a cohort of per-gene log2 ratios to CNVkit.cnrformat. rna girlies, this one's for you ๐exportโ Convert CNVkit output files to another format. leaving the group chat, going mainstream ๐คversionโ Display this program's version. her birth chart ๐ช
heads up bestie:gainlossandgenderare both chilling in the sub-command roster above โ๏ธ but this page gives them no blurb of their own. so don't come for me, I'm not making anything up ๐
๐ optional arguments ๐
-h,--helpโ show this help message and exit. the emergency bestie, always there ๐ซ
See the online manual for details: https://cnvkit.readthedocs.io โ like, actually go read it, it's giving documentation โจ
and that's the page, bestie!! this version is cnvkit 0.9.9, dated October 2021, and the whole thing is filed under CNVKIT(1). stay slaying, run your pipelines, love u bye ๐๐ฆ๐ธ
๐ฆ where this page comes from
- ubuntu jammy: cnvkit 0.9.9-2 ยท Apache-2.0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms