VCFFILTER(1)
β¨ VCFFILTER β¨
okay bestie, welcome to the vcffilter(1) era π
this is the manual page for vcffilter, and she is that girl when it comes to slicing and dicing VCF files. let's get into it π§
πΈ NAME πΈ
vcffilter β the VCF filter of your dreams π
π SYNOPSIS π
vcffilter options
π¦ DESCRIPTION π¦
VCF filter the specified vcf file using the set of filters. that's it, that's the whole vibe. you bring the filters, she brings the filtering. periodt β¨
π OPTIONS π
okay so here's the full menu, no cap, every single one:
-f,--info-filterβ specifies a filter to apply to the info fields of records, removes alleles which do not pass the filter π₯-g,--genotype-filterβ specifies a filter to apply to the genotype fields of records-k,--keep-infoβ used in conjunction with-g, keeps variant info, but removes genotype π-s,--filter-sitesβ filter entire records, not just alleles-t,--tag-passβ tag vcf records as positively filtered with this tag, print all records β-F,--tag-failβ tag vcf records as negatively filtered with this tag, print all records π-A,--append-filterβ append the existing filter tag, don't just replace it-a,--allele-tagβ apply-ton a per-allele basis. adds or sets the corresponding INFO field tag-v,--invertβ inverts the filter, e.g.grep -vπ-o,--orβ use logical OR instead of AND to combine filters-r,--regionβ specify a region on which to target the filtering, requires a BGZF compressed file which has been indexed with tabix. any number of regions may be specified. π
β¨ how the filters actually work β¨
Filter the specified vcf file using the set of filters.
Filters are specified in the form "<ID> <operator> <value>:
-f "DP > 10" # for info fields
-g "GT = 1|1" # for genotype fields
-f "CpG" # for 'flag' fields
Operators can be any of: =, !, <, >, |, &
Any number of filters may be specified. They are combined via logical AND unless --or is specified on the command line. Obtain logical negation through the use of parentheses, e.g. "! ( DP = 10 )" π«Ά
For convenience, you can specify "QUAL" to refer to the quality of the site, even though it does not appear in the INFO fields. iconic honestly β
type: filter
π EXIT VALUES π
0β Success π- not
0β Failure π
π SEE ALSO π
π 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.
and that's the whole page, bestie π«Ά this was vcffilter from the vcflib family, page 1, brought to you by Erik Garrison, Pjotr Prins and the vcflib contributors. go filter something gorgeous πβ¨πΈ
π¦ 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