CNVKIT_SEGMETRICS(1)

πŸ“¦
version 0.9.13 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– CNVKIT_SEGMETRICS(1) πŸ’–

okay bestie, sit down, hydrate, and let me tell you about cnvkit_segmetrics β€” the section of the cnvkit.py manual (User Commands, no less πŸ‘‘) that computes segment-level metrics from bin-level log2 ratios. yes. we're doing math. slay.


✨ NAME ✨

cnvkit_segmetrics β€” compute segment-level metrics from bin-level log2 ratios. it's giving "let me judge your segments, statistically." πŸŽ€


🌸 DESCRIPTION 🌸

the way this command wants to be called:

usage: cnvkit.py segmetrics [-h] -s SEGMENTS [--drop-low-coverage]
       [-o FILENAME] [--mean] [--median] [--mode]
              [--t-test] [--stdev] [--sem] [--mad] [--mse] [--iqr] [--bivar]
              [--ci] [--pi] [-a ALPHA] [-b BOOTSTRAP] [--smooth-bootstrap]
              cnarray

yes, that's a lot of flags. no, you don't need all of them. but we're covering all of them anyway because every single detail matters and i'm not about to gatekeep. πŸ’…


πŸ¦‹ positional arguments: πŸ¦‹

  • cnarray β€” the bin-level copy ratio data file (*.cnn, *.cnr). this is your input, your little data baby, your main character. feed it in.

πŸ’œ options: πŸ’œ

  • -h, --help β€” shows this help message and exits. the classic. the icon. press it when you're lost (you won't be, because i got you 🫢).
  • -s SEGMENTS, --segments SEGMENTS β€” the segmentation data file (*.cns, which is what the segment command spits out). yes this one is required, no you cannot skip it.
  • --drop-low-coverage β€” yeets the very-low-coverage bins out of the picture before the calculations happen, so poor-quality tumor samples don't get a sad negative bias dragging their numbers down. protecting the vibe, fr fr. πŸ™ˆ
  • -o FILENAME, --output FILENAME β€” the name of the output table file. name it something cute.

⭐ Statistics available: ⭐

like, the whole menu of stats you can ask for. pick your fighter(s):

  • --mean β€” mean log2 ratio, unweighted. the plain one. the reliable bestie.
  • --median β€” median. the middle child (affectionate). πŸ’–
  • --mode β€” mode, a.k.a. the peak density of the bin log2 ratios. the most popular kid in school.
  • --t-test β€” one-sample t-test of the bin log2 ratios versus 0.0. is it different from zero? we're asking. dramatically. 😭
  • --stdev β€” standard deviation. how spread out is everybody.
  • --sem β€” standard error of the mean. not the same as stdev, don't @ me.
  • --mad β€” median absolute deviation, standardized. yes, standardized. it's got range. ✨
  • --mse β€” mean squared error.
  • --iqr β€” inter-quartile range. the middle 50%'s whole deal.
  • --bivar β€” Tukey's biweight midvariance. say it with your chest. πŸ—£οΈ
  • --ci β€” confidence interval, computed by bootstrap. team effort energy.
  • --pi β€” prediction interval.
  • -a ALPHA, --alpha ALPHA β€” the level used to estimate the confidence and prediction intervals; use it alongside --ci and --pi. default is 0.05. ⭐
  • -b BOOTSTRAP, --bootstrap BOOTSTRAP β€” how many bootstrap iterations to run when estimating the confidence interval; use it alongside --ci. default is 100. πŸ”₯
  • --smooth-bootstrap β€” applies Gaussian noise to the bootstrap samples (a.k.a. smoothed bootstrap) to estimate the confidence interval; use it alongside --ci. sprinkle a lil chaos on it, as a treat. 🌈
heads up bestie: -a/--alpha is a --ci/--pi thing, -b/--bootstrap is a --ci thing, and --smooth-bootstrap is also a --ci thing. pair them up correctly or they just sit there doing nothing. periodt. πŸ’…

and that's the whole page, no notes, nothing skipped, nothing invented. every flag, every default, every file extension, exactly as written. i would never do you dirty like that. 🧚

this has been cnvkit.py segmetrics, version 0.9.10, from July 2023, straight out of User Commands. mwah. go compute some segment metrics, you gorgeous genius. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from