phe.variant_filters.ADFilter module

Filter VCFs on AD ratio.

Date:24 Sep, 2015
Author:Alex Jironkin
class ADFilter(args)[source]

Bases: phe.variant_filters.PHEFilterBase

Filter sites by AD ratio.

Methods

__call__(record) Filter a vcf.model._Record.
decode(filter_id) Decode name of filter.
filter_name() Create filter names by their parameter separated by magic.
get_config() This is used for reconstructing filter.
is_uncallable(record) Filter a vcf.model._Record.
call_concensus  
customize_parser  
is_gap  
is_n  
short_desc  
classmethod customize_parser(parser)[source]

hook to extend argparse parser with custom arguments

name = 'ADRatio'
parameter = 'ad_ratio'
short_desc()[source]

Short description of the filter (included in VCF).