Hello, there was a type in your docs that I corrected. Thank you for your code!

gzip -dc my_sample.genome.vcf.gz |\
extract_variants |\
awk '/^#/ || $7 == "PASS"' >\
all_passed_variants.vcf