def __init__(self, family_handle, next_filter=None, name=None, genotyped_families=True, min_children=0): '''Initialize a filter that uses the filter processor to process SNP+trio combinations. Use single_family in debugging to process only the first encountered family.''' Filter.__init__(self, name=name, next_filter=next_filter) self.family_handle = family_handle self.genotyped_families = genotyped_families self.min_children = min_children
def __init__(self, next_filter=None, name=None, single_sample=None, max_samples=np.inf, debug=False): Filter.__init__(self, name=name, next_filter=next_filter) # Debugging options self.single_sample = single_sample self.debug = debug self.max_samples = max_samples
def __init__(self, delegate, next_filter=None): '''Initialize a decorator of the delegate Filter. fmt specifies the printout format string that accepts one string argument for the filter's name.''' Filter.__init__(self, next_filter=next_filter, name=delegate.name) self.delegate = delegate
def __init__(self, increment, next_filter=None): '''Initialize a filter.''' Filter.__init__(self, next_filter) self.increment = increment