VCFFILTER(1)

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

✨ 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 -t on 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