Gist 39d6a8d17d83eb8f17c0926e30809957
✓ Published0🌍 Public
NNpfn
Last edited Feb 8, 2019
Created on Feb 8, 2019
This example shows a variant-filtering pipeline for genomic data, using bcftools to process VCF files from two different callers (samtools mpileup and freebayes). The script applies quality and proximity filters, including minimum QUAL scores, distance to indels, and indel cluster thresholds, via the bcftools filter command with options like `-i'%QUAL>10'`, `-g3`, and `-G10`. The output writes filtered VCF files with a LOWQUAL annotation for variants that fail the criteria. The code relies on the bcftools command-line API rather than a visualization library, and the data source is the initial VCF files in the variants directory.
AI-generated description