CNVKIT_IMPORT-SEG(1)
β¨ CNVKIT_IMPORT-SEG β¨
okay so bestie, welcome to cnvkit_import-seg π β the little tool that takes your SEG file and turns it into CNVkit .cns files. it's giving glow-up for your data. no cap.
πΈ SYNOPSIS πΈ
cnvkit.py import-seg [-h] [-c CHROMOSOMES] [-p PREFIX]
[--from-log10]
[-d DIRECTORY]
segfile
π DESCRIPTION π
so here's the whole vibe: you got a SEG file, you want a .cns file, and this is literally the converter for that. that's it. that's the function. periodt.
π positional arguments π
segfileβ your input file, in SEG format. heads up: it may contain multiple samples, so it's not just a one-sample kinda situation. she's versatile. πβοΈ
π¦ options π¦
-h,--helpβ shows this help message and then dips. exit stage left. π-c CHROMOSOMES,--chromosomes CHROMOSOMESβ this one maps chromosome indexes to names, like a little name tag situation. the syntax is literally:
"from1:to1,from2:to2"
orrrr you can just use "human" for the preset, which is:
"23:X,24:Y,25:M"
iconic preset, honestly. π§¬
-p PREFIX,--prefix PREFIXβ adds a prefix to your chromosome names. the example given is'chr', which renames'8'in the SEG file to'chr8'in the output. it's giving β¨accessorizingβ¨.--from-log10β converts base-10 logarithm values in the input into base-2 logs. math but make it fashion. π-d DIRECTORY,--output-dir DIRECTORYβ the output directory name. that's where your stuff lands. put it somewhere cute. π
π real talk: that's the entire option list. no hidden flags, no secret menu. we keep it simple here.
sign-off bestie π β this whole thing is cnvkit.py import-seg version 0.9.10, dated July 2023. go forth and convert your SEG files, queen. π«Άπ
π¦ 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