CNVKIT_REFERENCE(1)
β¨ NAME β¨
cnvkit_reference β okay bestie, this is the little icon that compiles a coverage reference out of the files you hand it, and those files are your normal samples. That's the whole vibe. π
π DESCRIPTION π
so like, here's literally how you invoke her:
cnvkit.py reference [-h] [-f FASTA] [-o FILENAME] [-c] [--min-cluster-size NUM] [-x {m,y,male,Male,f,x,female,Female}] [-y] [-t TARGETS] [-a ANTITARGETS] [--no-gc] [--no-edge] [--no-rmask] [references ...]
πΈ positional arguments πΈ
referencesβ your normal-sample target or antitarget.cnnfiles, or the directory that's holding all of them. she'll find them, don't worry. π«Ά
π options π
-h,--helpβ shows this help message and then dips. classic. βοΈ-f FASTA,--fasta FASTAβ the reference genome, in FASTA format (thinkUCSC hg19.fa). π§¬-o FILENAME,--output FILENAMEβ what you wanna name the output file. name it something cute, she deserves it. πΎ-c,--clusterβ calculates and stores summary stats for clustered subsets of the normal samples that have similar coverage profiles. like she's grouping the girlies by vibe. π―--min-cluster-size NUMβ the minimum cluster size to keep in the reference profiles. [Default: 4] β no tiny friend groups allowed. π-x {m,y,male,Male,f,x,female,Female},--sample-sex {m,y,male,Male,f,x,female,Female},-g {m,y,male,Male,f,x,female,Female},--gender {m,y,male,Male,f,x,female,Female}β tells her the chromosomal sex of all the samples you're giving her, as male or female. (Default: guess each sample from coverage of X and Y chromosomes) β yeah she's guessing if you don't say, so maybe just say. π-y,--male-reference,--haploid-x-referenceβ creates a male reference: it shifts female samples' chrX log-coverage by-1, so the reference chrX average comes out to-1. Otherwise she shifts male samples' chrX by+1, so the reference chrX average is0. pick a lane, bestie. βοΈ
To construct a generic, flat" copy number reference with neutral expected coverage:"
ngl that line in the original is a whole mood, but the point is: this is the mode where you want a plain, flat reference with neutral expected coverage. π«§
-t TARGETS,--targets TARGETSβ the target intervals (.bedor.list). π―-a ANTITARGETS,--antitargets ANTITARGETSβ the antitarget intervals (.bedor.list). the little side quests. π
To disable specific automatic bias corrections:
iykyk β sometimes the auto-corrections are doing too much and you gotta turn them off yourself. π
--no-gcβ skips GC correction. βοΈ--no-edgeβ skips edge-effect correction. π«--no-rmaskβ skips RepeatMasker correction. π
and that's the whole page, bestie, no cap. this was version 0.9.10, dated July 2023, and yeah the manual name is literally CNVKIT_REFERENCE(1) so now you know it fr fr. go compile something iconic. ππβ¨
π¦ where this page comes from
- debian trixie: cnvkit 0.9.12-1 Β· Apache-2.0
- ubuntu noble: cnvkit 0.9.10-1 Β· Apache-2.0
- ubuntu questing: cnvkit 0.9.12-1
- ubuntu resolute: cnvkit 0.9.12-1build1 Β· Apache-2.0
- ubuntu stonking: cnvkit 0.9.13-2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms