CNVKIT_IMPORT-RNA(1)
π NAME π
cnvkit_import-rna β bestie, this is the glow-up machine that takes a whole cohort of per-gene log2 ratios and converts them into CNVkit .cnr format. No cap. β¨
π¦ DESCRIPTION π¦
okay so first things first, here's how you actually call it:
cnvkit.py import-rna [-h] [-f NAME] -g FILE [-c FILE] [--max-log2 FLOAT] [-n NORMAL [NORMAL ...]] [-d PATH] [-o FILE] [--no-gc] [--no-txlen] FILES [FILES ...]
that's the whole vibe. now let's break it down piece by piece π«Ά
πΈ positional arguments πΈ
FILESβ these are your tabular files, the ones with Ensembl gene ID and the number of reads mapped to each gene. you can get them from RSEM or literally any other transcript quantifier, we're not picky π
π options π
-h,--helpβ shows this help message and then dips. iconic behaviour honestly.-f NAME,--format NAMEβ tells the tool what the input format name is. two choices, pick your fighter:'rsem'for RSEM gene-level read counts, aka the*_rsem.genes.resultsfiles'counts'for generic 2-column gene IDs and their read counts (like, say, TCGA level 2 RNA expression)
-g FILE,--gene-resource FILEβ where the gene info table from Ensembl BioMart is hiding. yes it's required, yes you need it, no you cannot skip it π-c FILE,--correlations FILEβ the correlation of each gene's copy number with expression. this is the output ofcnv_expression_correlate.py. it's giving very much "bring your own homework".--max-log2 FLOATβ the maximum log2 ratio allowed in the output. if any observed values go above this limit they get replaced with this value instead. sneakily firm. [Default:3.0]-n NORMAL [NORMAL ...],--normal NORMAL [NORMAL ...]β normal samples (same format asgene_counts) used as a control when normalizing and re-centering gene read depth ratios. heads up: every single filename following this option gets used, so don't just keep typing filenames after it unless you mean it π-d PATH,--output-dir PATHβ the directory where a CNVkit.cnrfile gets written for each input sample. [Default:.]-o FILE,--output FILEβ the output file name for the summary table.
β¨ to disable specific automatic bias corrections β¨
(yes, this is its own little section, because sometimes you just want to turn the autopilot off)
--no-gcβ skips GC correction. bye girl π--no-txlenβ skips transcript length correction. also bye π
π quick vibe check:-gis not optional. do not forget the gene resource. do not show up to the group chat complaining that it didn't work when you forgot-g. i love you but i will not be doing that.
and that's the whole page, bestie!! π this was cnvkit.py import-rna version 0.9.10, dated July 2023, and yeah that's genuinely it β go convert some ratios, you're gonna slay πβ¨ππ¦πΈπ
π«Ά
π¦ 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