phe.variant_filters.DP4Filter module

Filter VCFs on AD ratio.

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

Bases: phe.variant_filters.PHEFilterBase

Filter sites by DP4 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 = 'DP4'
parameter = 'dp4_ratio'
short_desc()[source]

Short description of the filter (included in VCF).