BIO-VCF(1)

BIO-VCF(1) β€” the vibe-coded manual πŸ’…

okay bestie, sit down, hydrate, because we're about to talk about bio-vcf β€” that's the manual name, it lives in the User Commands section, and it is lowkey the most iconic way to touch a VCF file. 🧬✨


🌸 NAME 🌸

bio-vcf β€” a domain specific language (DSL) for processing the VCF format. no cap, it's a whole DSL, it's giving compiler energy but for genomics. 🫢


✨ SYNOPSIS ✨

bio-vcf [options] filename

that's it. that's the whole summoning ritual. filename is the star of the show, <options> are her little entourage. πŸ‘‘


πŸ’– DESCRIPTION πŸ’–

so first things first, the receipts: bio-vcf 0.9.5 (biogem Ruby 2.7.2 with pcows) by Pjotr Prins 2015-2020. icons only. 🌟

and here's a lil demo of her in her natural habitat, feeding on a VCF like the main character she is:

bio-vcf < test/data/input/somaticsniper.vcf

now the options. there are a LOT of them. do not scroll past, they're all important, periodt. πŸŽ€

  • -i, --ignore-missing β€” missing data? don't care, didn't ask. ignore it. πŸ’…
  • --filter cmd β€” evaluate a filter on every single record. every one. no skipping. πŸ‘€
  • --sfilter cmd β€” same energy but per sample, so evaluate that filter on each sample.
  • --sfilter-samples list β€” filter on selected samples only (like, e.g., 0,1 β€” yes the original literally leaves that paren hanging open, we love an unclosed parenthesis, iconic honestly 😭)
  • --ifilter, --if cmd β€” the include filter. letting things IN. 🫢
  • --ifilter-samples list β€” the include set β€” and bestie, this implicitely defines the exclude set too. that's canon, that's what it says, keep the spelling. πŸ’€
  • --efilter, --ef cmd β€” the exclude filter. respectfully, get out. πŸ™ˆ
  • --efilter-samples list β€” the exclude set β€” and this one overrides the exclude set. yes, overriding. it said what it said. πŸ”₯
  • --add-filter name β€” set/add the filter field to name.
  • --bed bedfile β€” filter on BED elements, using bedfile. πŸ›οΈ
  • -e, --eval cmd β€” evaluate that command on each record. the classic.
  • --eval-once cmd β€” evaluate the command exactly once (usually for header info, because headers deserve their moment too). ⭐
  • --seval cmd β€” evaluate the command on each sample. sample-by-sample, one at a time, very thorough.
  • --rewrite eval β€” rewrite INFO. glow-up but for your INFO field. ✨
  • --samples list β€” output the selected samples only.
  • --rdf β€” generate Turtle RDF 🐒 (and also check out --template! β€” the original says it with the bang, so the bang stays, iykyk)
  • --num-threads [num] β€” multi-core version (default ALL). all the threads, all at once, she's got range. πŸ”₯
  • --thread-lines num β€” fork a thread on num lines (default 40000).
  • --skip-header β€” do not output the VCF header info. gone. bye. πŸ«₯
  • --set-header list β€” set a special tab delimited output header (and #samples expands to the sample names, cute right?)
  • -t, --template erb β€” use an ERB template for output. πŸŽ€
  • --add-header-tag β€” add the bio-vcf status tag to the header output. branding. πŸ’…
  • --timeout [num] β€” timeout waiting for a thread to complete (default 180). patience is a virtue but it does expire. ⏰
  • --names β€” output the sample names.
  • --statistics β€” output statistics. numbers girlies rise. πŸ“Š
  • -q, --quiet β€” run quietly 🀫
  • -v, --verbose β€” run verbosely πŸ—£οΈ
  • --debug β€” show debug messages and keep intermediate output. messy but honest.
  • --id name β€” identifier.
  • --tags list β€” add tags. 🏷️
  • -h, --help β€” display this help and exit. the escape hatch. πŸšͺ

πŸ¦‹ Vcf parser πŸ¦‹

(yes that's the whole line. she's a section header. she's mysterious. we respect her.)


πŸ‘‘ AUTHOR πŸ‘‘

this manpage was written by Nilesh Patra for the Debian distribution and can be used for any other usage of the program. ty for your service, legend. 🫑


and that's the whole page bestie!! no notes, ate and left no crumbs. πŸ’–

bio-vcf 0.9.5 β€” September 2021 🌸 (that's the version and the date, folded into a cute lil sign-off instead of a boring footer line, you're welcome πŸŽ€)
πŸ“¦ where this page comes from