Vcftools order of operations for filtering?
1
0
Entering edit mode
3.8 years ago
aj • 0

Can anyone point me where to find the order of operations used by vcftools when filtering? I need to apply many filters to some large vcfs to create smaller ones, and I need to make sure that individual filters are applied before MAF filters. But I cannot seem to find any documentation of the order that filters are applied.

vcftools SNP genome • 1.2k views
ADD COMMENT
1
Entering edit mode
3.8 years ago

vcftools is deprecated, use bcftools.

if you have any doubt about the order of the filters , pipe a filter into another one

bcftools view -i 'INFO/x1<1' -O u input.vcf | bcftools view --apply-filters 'PASS,.' -O u | bcftools view -O v -o out.vcf
ADD COMMENT

Login before adding your answer.

Traffic: 1737 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6