VCFNULLDOTSLASHDOT(1)

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

πŸ’… NAME πŸ’…

okay so bestie, meet vcfnulldotslashdot β€” she takes those lonely little single dots (.) and glows them up into ./. πŸ’–

and like… why would you even want that? because some downstream analysis tools are picky little divas and only understand ./., that's why. it's giving ✨compatibility era✨.


✨ SYNOPSIS ✨

vcf2tsv < file
yes babes, that's what it says, we don't ask questions, we copy the synopsis exactly 🫢

🌸 DESCRIPTION 🌸

vcfnulldotslashdot converts single dots to ./..

and again for the people in the back: this is useful for some downstream analysis tools that simply will not function otherwise. periodt. πŸ’…


πŸŽ€ EXIT VALUES πŸŽ€

  • 0 β€” success!! she ate, no crumbs, we love to see it πŸ‘‘
  • not 0 β€” failure 😭 something went sideways, vibe check failed

πŸ¦‹ EXAMPLES πŸ¦‹

vcf2tsv converts a VCF to VCF (yes bestie, that's literally what the page says, we're not editorializing πŸ’€)

so like, here's her serving:

>>> cat("../scripts/vcfnulldotslashdot data/issue_307_vcfnulldotslashdot.vcf")
##fileformat=VCFv4.1
##fileDate=20210209
##source=freeBayes v0.9.21
##reference=ahy.fa
##phasing=none
##filter="TYPE = snp & QUAL > 30 & AF > 0.05 & AF < 0.95 genotypes filtered with: GQ > 20"
##INFO=<ID=AC,Number=A,Type=Integer,Description="Total number of alternate alleles in called genotypes">
##INFO=<ID=AF,Number=A,Type=Float,Description="Estimated allele frequency in the range (0,1]">
##INFO=<ID=TYPE,Number=A,Type=String,Description="The type of allele, either snp, mnp, ins, del, or complex.">
##INFO=<ID=LEN,Number=A,Type=Integer,Description="allele length">
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype">
#CHROM  POS ID  REF ALT QUAL    FILTER  INFO    FORMAT  rab-field.AH13
contig71493_103113  50  .   G   A   79.0603 .   AC=5;AF=0.078125;LEN=1;TYPE=snp GT  ./.:0,0,0

see that ./.:0,0,0 at the end? yeah. that's the whole point of her existence. iconic. 🌈


🧚 LICENSE 🧚

Copyright 2021 (C) Erik Garrison and vcflib contributors. MIT licensed.

(open source royalty fr fr, MIT stays undefeated πŸ’œ)


🌟 AUTHORS 🌟

Erik Garrison and other vcflib contributors. absolute legends, no cap 🫢


vcfnulldotslashdot β€” VCFNULLDOTSLASHDOT(1) β€” ok that's the whole page bestie, go forth and dot-slash responsibly πŸŽ€βœ¨ bye!! πŸ’–

πŸ“¦ where this page comes from