gemini icon indicating copy to clipboard operation
gemini copied to clipboard

Add aaf() option to --gt-filter

Open arq5x opened this issue 10 years ago • 2 comments

It would be nice to have the ability to filter variants based on the alternate allele frequency in specific subsets of individuals. Currently, we can filter based on the counts of specific genotypes, but aaf would be more generalizable.

For example:

(phenotype==2).(aaf < 0.01)

arq5x avatar Jan 09 '16 21:01 arq5x

#584 would enable this.

brentp avatar Jan 10 '16 01:01 brentp

Isn't that for the allele frequency in a single sample? What I meant to articulate was filtering based on the genotyped AF across all individuals meeting a specific phenotype.

arq5x avatar Jan 10 '16 01:01 arq5x