VCFRANDOMSAMPLE(1)
π VCFRANDOMSAMPLE(1) π
okay bestie, so this is vcfrandomsample from the vcfrandomsample (VCF statistics) manual β yes the manual name is literally the same as the command, iconic of it tbh. grab a strawberry π and let's go.
β¨ NAME β¨
vcfrandomsample β the lil tool that picks random sites out of your VCF like it's pulling names out of a hat, but make it science π
πΈ SYNOPSIS πΈ
vcfrandomsample options []
that's it. that's the whole vibe. no cap.
π¦ DESCRIPTION π¦
So the tea is: this thing randomly samples sites from an input VCF file, and the VCF can totally just be handed to it through stdin β no drama, no extra file, she'll take it however you give it to you.
Here's the main character part tho: you can scale the sampling probability by whatever field you name in KEY. and like, why would you even want that? because it lets you get uniform sampling across allele frequencies, for instance. so instead of your rare variants getting absolutely ignored, they get their moment. we love an equitable queen. π
π OPTIONS π
the whole menu, no skipping, every single one:
-r,--rate RATEβ the base sampling probability per locus. your starting odds, your baseline, your default energy β¨-s,--scale-by KEYβ scale the sampling likelihood by this Float info field. hand her aKEYand she'll weight accordingly π-p,--random-seed Nβ use this random seed, like,N. (by default she reads from/dev/randomβ chaotic but valid)-q,--pseudorandom-seedβ use a pseudorandom seed instead. (again, by default it's read from/dev/random)
bestie reminder:-pand-qboth say the default is reading from/dev/random, so if you don't pass either, that's the vibe you're getting. π«Ά
π₯ EXIT VALUES π₯
0β Success! she ate. π- not
0β Failure. not me crying π something went wrong.
π SEE ALSO π
vcflib(1)β go say hi to the family, iykyk
π OTHER π
π LICENSE π
Copyright 2011-2024 (C) Erik Garrison and vcflib contributors. MIT licensed. Copyright 2020-2024 (C) Pjotr Prins.
periodt. legally iconic, protect the open source girlies π
π§ AUTHORS π§
Erik Garrison and vcflib contributors.
and that's the whole page, bestie!! this was vcfrandomsample (vcflib) β footer says source/version vcflib, and shoutout to the manual itself for being the moment. mwah π go sample something cute π¦πΈ
π¦ where this page comes from
- debian trixie: libvcflib-tools 1.0.12+dfsg-1 Β· MIT
- ubuntu questing: libvcflib-tools 1.0.12+dfsg-1
- ubuntu resolute: libvcflib-tools 1.0.12+dfsg-2 Β· MIT
- ubuntu stonking: libvcflib-tools 1.0.12+dfsg-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms