VCFFIXUP(1)
π VCFFIXUP π
okay bestie, so you know that manual page vcffixup(1) from the vcflib crew? yeah. we're doing that one. it's a VCF transformation tool and it's lowkey iconic, let's get into it π¦
β¨ NAME β¨
vcffixup β that's the whole name, short and sweet, main character energy fr fr π
πΈ SYNOPSIS πΈ
vcffixup
that's it. that's the whole vibe. no flags, no drama. she just runs. π
π DESCRIPTION π
okay so here's the tea: vcffixup generates a VCF stream where AC and NS have been generated for each record, using the sample genotypes. no cap. it literally looks at the genotypes in your records and produces those fields for you.
like, it's giving "let me fix your annotation for you bestie" π«Ά
π OPTIONS π
okay so there's exactly one blob of option text here and it's doing a lot, so let's break it down:
- the allele-frequency behavior β count the allele frequencies across alleles present in each record in the VCF file. (Similar to
vcftools --freq.) π - the genotype-correction behavior β uses genotypes from the VCF file to correct
AC(alternate allele count),AF(alternate allele frequency),NS(number of called), in the VCF records. literally fixing them up. hence the name, iykyk π
for example:
% vcfkeepsamples file.vcf NA12878 | **vcffixup** - | vcffilter -f "AC > 0"
would downsample file.vcf to only NA12878, removing sites for which the sample was not called as polymorphic. periodt. π
- Type β
transformationβ¨
π¦ EXIT VALUES π¦
0β Success π (she ate, no crumbs)- not
0β Failure π (it's giving tragedy, check your inputs)
π SEE ALSO π
vcflib(1)β go read the parent page bestie, it's the whole fam π§
πΈ OTHER πΈ
π LICENSE
Copyright 2011-2024 (C) Erik Garrison and vcflib contributors. MIT licensed. Copyright 2020-2024 (C) Pjotr Prins.
π AUTHORS
Erik Garrison and vcflib contributors.
just a heads up bestie β this one is a transformation type, so it's meant to sit in a pipe and do its little glow-up on the stream as it goes by. π
and that's the whole page, no notes. this was vcffixup from the vcflib collection β mwah, go forth and annotate responsibly, ily πβ¨π
π¦ 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