VCF2TSV(1)

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

✨ VCF2TSV β€” the vcflib glow-up ✨

okay bestie, gather round, because vcf2tsv is one of those little vcflib icons that just does the thing and we're gonna talk about it πŸ’…


πŸ’– NAME πŸ’–

vcf2tsv β€” it takes your VCF and turns it into a tab-delimited table. that's it. that's the vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

vcf2tsv [-n null_string] [-g] [vcf file]

literally just that. so clean, so demure πŸŽ€


✨ DESCRIPTION ✨

so here's the tea β˜• β€” vcf2tsv converts a VCF into a per-allele or per-genotype tab-delimited format, and it uses a null string to fill in the empty values in the table so nothing looks all sad and blank 🫢

and if you pass -g? that's when it gets per-genotype, meaning you get one line per sample with its genotype info. main character energy for every single sample, no cap πŸ‘‘

now, the part you need to internalize: when there's more than one alt allele, you're gonna get multiple rows β€” one for each allele β€” and the info will match the A index. fr fr, that's just how it works πŸ’―


πŸ‘‘ OPTIONS πŸ‘‘

  • -n null_string β€” the string that stands in for empty values in your table, so your table never has awkward gaps πŸ’–
  • -g β€” output one line per sample, with genotype information. the per-genotype serve 🌈
  • [vcf file] β€” the VCF you're feeding in. yes it's optional in the synopsis, don't come for me πŸ™ˆ

Type: transformation β€” that's what it is, that's its whole job ✨


πŸ’€ EXIT VALUES πŸ’€

  • 0 β€” success!! we ate, we left no crumbs πŸ“
  • not 0 β€” failure 😭 something went wrong bestie, go check your input

πŸ”₯ SEE ALSO πŸ”₯

  • vcflib(1) β€” the whole family, go say hi 🫢

🌟 OTHER 🌟

πŸ“œ LICENSE πŸ“œ

Copyright 2011-2024 (C) Erik Garrison and vcflib contributors. MIT licensed. Copyright 2020-2024 (C) Pjotr Prins.

(yes, MIT licensed β€” open source royalty, we love to see it πŸ‘‘)

πŸŽ€ AUTHORS πŸŽ€

Erik Garrison and vcflib contributors.


and that's the whole page, bestie πŸ’œ this one's from vcflib (the vcf2tsv (vcflib) situation), so go forth, transform those VCFs, and be the tab-delimited icon you were always meant to be πŸŒˆβœ¨πŸ’…

πŸ“¦ where this page comes from