Module Import alias ImportFrom alias alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias Import alias identifier Import alias identifier ImportFrom alias ClassDef bases NameLoad body Assign NameStore TupleLoad Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr BinOpAdd Str Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore BinOpAdd BinOpAdd Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str orelse Assign NameStore BinOpAdd Str BinOpMod Str Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str If AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore BinOpAdd Str AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad AttributeLoad NameLoad attr Str body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr ListLoad body Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Str Str Assign NameStore BinOpMod Str Call AttributeLoad Str attr GeneratorExp BinOpMod Str NameLoad comprehension NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIn Str NameLoad body AugAssignAdd NameStore BinOpAdd Str NameLoad orelse AugAssignAdd NameStore BinOpAdd Str NameLoad If BoolOpOr CompareIn AttributeLoad NameLoad attr TupleLoad Str Str Str BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If CompareIn Str NameLoad body AugAssignAdd NameStore Str orelse AugAssignAdd NameStore Str If BoolOpOr CompareEq AttributeLoad NameLoad attr Str UnaryOpNot BoolOpAnd CompareIn AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad Num BoolOpOr CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad UnaryOpNot CompareIn Str AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad TryExcept body For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If Call NameLoad NameLoad NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict orelse If CompareEq NameLoad Str body Continue Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Return Call NameLoad Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad orelse If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad orelse Raise NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad body Expr Yield TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad For NameStore NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword Str body Expr Yield TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign NameStore Dict Str Str UnaryOpNot Call NameLoad AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Dict Str AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd CompareNotEq AttributeLoad NameLoad attr Str CompareNotEq AttributeLoad NameLoad attr Str body If Call NameLoad AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareEq AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str Str body Expr Call AttributeLoad NameLoad attr Str Assign NameStore IfExp UnaryOpNot AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str For NameStore NameLoad body If BoolOpOr CompareIs NameLoad NameLoad CompareIn AttributeLoad NameLoad attr NameLoad body Assign NameStore Call Call NameLoad NameLoad AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str If BoolOpAnd AttributeLoad NameLoad attr CompareGt AttributeLoad AttributeLoad NameLoad attr attr Num body Expr Call AttributeLoad NameLoad attr Str If BoolOpOr Call NameLoad NameLoad Str NameLoad CompareEq AttributeLoad NameLoad attr Str body For NameStore ListLoad Str Str Str body If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareNotEq AttributeLoad NameLoad attr Num CompareIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Assign NameStore NameLoad If Call NameLoad GeneratorExp Call NameLoad NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr body Assert CompareEq AttributeLoad NameLoad attr Str Assign NameStore NameLoad Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Continue Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad IfExp BoolOpOr CompareIs NameLoad NameLoad CompareEq Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Str Str NameLoad If CompareNotEq SubscriptLoad NameLoad Index NameLoad Str body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore ListComp IfExp BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad CompareIn Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str TupleLoad Str Str Str NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore ListComp IfExp CompareNotEq NameLoad Str Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str comprehension NameStore NameLoad Assign NameStore IfExp UnaryOpNot AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Assign NameStore ListLoad Assign NameStore Call NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str For NameStore AttributeLoad NameLoad attr body TryExcept body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Pass Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad Assign NameStore IfExp CompareIs NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr ListComp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad CompareIn AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore TupleLoad ListLoad ListLoad If NameLoad body For TupleStore NameStore NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd CompareNotEq SubscriptLoad NameLoad Index NameLoad Str Call NameLoad NameLoad NameLoad body If CompareIn NameLoad NameLoad body AugAssignAdd SubscriptStore NameLoad Index Num BinOpAdd Str NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore NameLoad BoolOpAnd CompareNotEq SubscriptLoad NameLoad Index NameLoad Str Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr GeneratorExp BinOpMod Str NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr GeneratorExp Call NameLoad Call NameLoad NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr GeneratorExp BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr NameLoad Assign SubscriptStore NameLoad Index Str IfExp AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad If Call NameLoad GeneratorExp CompareIn NameLoad AttributeLoad NameLoad attr comprehension NameStore TupleLoad Str Str Str body Assign SubscriptStore NameLoad Index Str Str For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore Call NameLoad BinOpAdd BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Num SubscriptLoad NameLoad Slice Num keyword NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr GeneratorExp BinOpMod Str NameLoad comprehension NameStore NameLoad CompareIsNot NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr GeneratorExp BoolOpOr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr comprehension NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad If CompareIn NameLoad NameLoad body Continue Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareLtGtE Num Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr body If CompareIn Str SubscriptLoad NameLoad Index Num body Assign NameStore Call NameLoad GeneratorExp TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareGt SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Num If CompareLt Call NameLoad Call NameLoad GeneratorExp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Continue For NameStore NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad ImportFrom alias For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr body If CompareEq NameLoad Num body Assign NameStore BoolOpOr ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad CompareIn SubscriptLoad NameLoad Index Num NameLoad NameLoad Print Call AttributeLoad Str attr Call AttributeLoad NameLoad attr If NameLoad body For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad attr Str Str Print Call AttributeLoad Str attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str body Expr Yield TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str body Expr Yield TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr IfExp CompareIsNot NameLoad NameLoad Str NameLoad body Expr Yield TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Yield TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str Str orelse Assign NameStore BinOpAdd BinOpAdd BinOpAdd Str Str Str Str If AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpAdd Str AttributeLoad NameLoad attr Return BinOpAdd NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str If CompareIn Str NameLoad body Return Call AttributeLoad Str attr NameLoad Assign AttributeStore NameLoad attr ListLoad For NameStore TupleLoad Str Str Str Str Str Str body If UnaryOpNot CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareNotEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults ListLoad Num body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore IfExp CompareIs AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str For TupleStore NameStore NameStore Call NameLoad NameLoad body AugAssignAdd SubscriptStore NameLoad Index Num Num For NameStore SubscriptLoad NameLoad Index NameLoad body If CompareGt SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Continue For NameStore IfExp AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str BinOpAdd SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot NameLoad NameLoad UnaryOpNot CompareIn NameLoad NameLoad body Continue Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore BinOpMod Str TupleLoad NameLoad SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Index Str SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Index Str For NameStore TupleLoad Num Num body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr attr attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign AttributeStore AttributeLoad SubscriptLoad NameLoad Index NameLoad attr attr NameLoad Expr Yield AttributeLoad SubscriptLoad NameLoad Index NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Assign NameStore DictComp NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareIn NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign TupleStore NameStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Slice Num keyword Num body For NameStore SubscriptLoad NameLoad Slice NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr If UnaryOpNot SubscriptLoad NameLoad Index Str body Continue Expr Call AttributeLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad attr NameLoad Expr Yield TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore TupleLoad Str Str Str Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BoolOpAnd CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr ListLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpAdd Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list decorator_list
N/A N/A sys collections Counter defaultdict N/A GeminiQuery N/A sql_utils N/A compiler gemini_constants * gemini_bcolz filter NoGTIndexException mendelianerror mendelian_error N/A itertools it N/A operator op inheritance Family GeminiInheritanceModel N/A object N/A N/A required_columns N/A gene family_id family_members family_genotypes samples family_count __init__ N/A N/A self args N/A N/A N/A N/A self args args N/A N/A self gq N/A N/A GeminiQuery GeminiQuery N/A args db include_gt_cols True N/A N/A self added N/A N/A N/A self gt_cols N/A N/A self gq gt_cols N/A N/A N/A args columns N/A N/A N/A args columns N/A *, N/A N/A ,  join N/A self gt_cols N/A N/A N/A self set_family_info N/A query N/A N/A self N/A N/A N/A N/A N/A N/A self args columns None N/A N/A query N/A N/A SELECT  N/A str N/A N/A self args columns  FROM variants  N/A N/A query N/A SELECT chrom, start, end, * %s  N/A FROM variants N/A N/A ,  join N/A self gt_cols N/A query N/A N/A sql_utils ensure_columns query N/A variant_id gene N/A N/A N/A self args filter N/A N/A query N/A  WHERE  N/A N/A self args filter N/A N/A hasattr N/A self args X N/A N/A N/A N/A N/A self args X N/A N/A N/A N/A N/A self args X N/A chrX X N/A part N/A chrom IN (%s) N/A N/A ,  join N/A N/A '%s' x N/A x N/A N/A self args X N/A N/A  WHERE  query N/A N/A query N/A  AND  part N/A N/A query N/A  WHERE  part N/A N/A N/A N/A self model N/A auto_rec auto_dom comp_het N/A N/A N/A self model de_novo N/A N/A N/A self args min_kindreds None N/A N/A N/A  WHERE  query N/A N/A query  AND gene is not NULL N/A N/A query  WHERE gene is not NULL N/A N/A N/A N/A self model comp_het N/A N/A N/A N/A N/A self args min_kindreds N/A None 1 N/A N/A N/A N/A self args families None N/A N/A , N/A N/A self args families N/A N/A query  ORDER by chrom, gene N/A query N/A property bcolz_candidates N/A N/A self N/A N/A N/A 
        Get all the variant ids that meet the genotype filter for any fam.
         N/A variant_ids N/A set N/A N/A N/A N/A i family_id N/A enumerate N/A self family_ids N/A N/A gt_filter N/A N/A self family_masks N/A i N/A N/A isinstance gt_filter dict N/A N/A N/A k flt N/A N/A gt_filter items N/A N/A N/A N/A variant_ids update N/A filter N/A N/A self args db flt N/A N/A N/A N/A gt_filter False N/A N/A N/A N/A N/A variant_ids update N/A filter N/A N/A self args db gt_filter N/A N/A N/A sorted N/A set variant_ids N/A N/A N/A NoGTIndexException N/A N/A None N/A gen_candidates N/A N/A self group_key N/A N/A N/A N/A isinstance group_key basestring N/A N/A group_key N/A N/A op itemgetter group_key N/A q N/A self query N/A vids N/A N/A self bcolz_candidates N/A N/A vids None N/A N/A N/A N/A N/A self gq run q needs_genotypes True N/A N/A N/A N/A len vids 0 N/A N/A q N/A N/A GeminiQuery add_variant_ids_to_query q vids N/A N/A N/A N/A self gq run q needs_genotypes True N/A N/A StopIteration N/A N/A grp_key grp N/A N/A it groupby N/A self gq group_key N/A N/A N/A N/A grp_key grp N/A all_candidates N/A N/A self N/A N/A N/A N/A _ candidates N/A N/A self gen_candidates group_key None N/A candidate candidates N/A N/A N/A candidate N/A gene_candidates N/A N/A self N/A N/A N/A N/A gene candidates N/A N/A self gen_candidates group_key gene N/A N/A N/A N/A gene candidates N/A set_family_info N/A N/A self N/A N/A N/A 
        Extract the relevant genotype filters, as well all labels
        for each family in the database.
         N/A N/A self families families N/A N/A N/A N/A Family from_cursor N/A N/A self gq conn values N/A args N/A self args N/A N/A self family_ids N/A N/A N/A self family_masks N/A N/A kwargs N/A only_affected min_gq N/A N/A getattr N/A self args allow_unaffected False N/A args min_gq N/A N/A N/A self model mendel_violations N/A N/A kwargs N/A only_affected N/A N/A self args only_affected N/A N/A N/A N/A self model comp_het N/A N/A self model mendel_violations N/A N/A N/A hasattr N/A self args lenient N/A N/A N/A kwargs N/A strict N/A N/A N/A self args lenient N/A N/A N/A N/A self model comp_het N/A N/A N/A kwargs N/A pattern_only N/A N/A self args pattern_only N/A N/A hasattr N/A self args gt_phred_ll N/A N/A N/A kwargs N/A gt_ll N/A N/A self args gt_phred_ll N/A N/A N/A self model N/A x_rec x_dom x_denovo N/A N/A N/A N/A kwargs pop only_affected N/A requested_fams N/A N/A N/A args families None N/A set N/A N/A N/A args families split , N/A family families N/A N/A N/A N/A requested_fams None N/A N/A family family_id requested_fams N/A N/A family_filter N/A N/A getattr family N/A self model min_depth N/A N/A self args min_sample_depth kwargs N/A N/A family_filter False N/A N/A N/A N/A self family_masks append family_filter N/A N/A N/A N/A self family_ids append N/A family family_id N/A report_candidates N/A N/A self N/A N/A N/A args N/A self args N/A req_cols N/A gt_types gts N/A N/A N/A args min_sample_depth N/A N/A N/A self args min_sample_depth 0 N/A N/A N/A N/A req_cols append gt_depths N/A N/A N/A getattr args gt_phred_ll False N/A N/A self model mendel_violations N/A N/A col N/A gt_phred_ll_homref gt_phred_ll_het gt_phred_ll_homalt N/A N/A N/A col N/A self gt_cols N/A N/A N/A N/A req_cols append col N/A N/A N/A N/A args min_gq 0 N/A gt_quals N/A self gt_cols N/A N/A N/A N/A req_cols append gt_quals N/A is_mendel False N/A N/A any N/A N/A isinstance m dict N/A m N/A self family_masks N/A N/A N/A N/A self model mendel_violations N/A is_mendel True N/A masks N/A N/A mdict N/A self family_masks N/A N/A N/A isinstance mdict basestring N/A N/A N/A N/A masks append mdict N/A N/A m N/A N/A N/A k mask N/A N/A mdict items N/A N/A N/A m N/A k N/A N/A N/A mask None N/A N/A N/A N/A N/A mask strip ( strip ) False False mask N/A N/A N/A m N/A k False N/A N/A N/A m N/A k N/A N/A compiler compile N/A m N/A k N/A m N/A k eval N/A N/A N/A masks append m N/A N/A masks N/A N/A N/A N/A m None N/A m False N/A N/A N/A N/A N/A m strip ( strip ) N/A empty False False m N/A m N/A self family_masks N/A masks N/A N/A N/A m False N/A N/A compiler compile m m eval False N/A m masks N/A requested_fams N/A N/A N/A args families None N/A set N/A N/A N/A args families split , N/A N/A gene li N/A N/A self candidates N/A N/A kindreds N/A set N/A to_yield N/A N/A seen N/A set N/A row li N/A N/A cur_fam N/A N/A N/A row print_fields get family_id N/A col N/A self added N/A N/A N/A N/A N/A N/A row print_fields N/A col N/A N/A N/A ValueError N/A N/A N/A cols N/A dict N/A N/A col N/A row N/A col N/A col req_cols N/A fams_to_test N/A N/A cur_fam None N/A enumerate N/A self families N/A N/A i f N/A N/A i f N/A enumerate N/A self families N/A N/A f family_id cur_fam N/A N/A requested_fams None N/A N/A fams_to_test N/A N/A i f N/A N/A i f fams_to_test N/A N/A f family_id requested_fams N/A N/A fams models N/A N/A N/A N/A is_mendel N/A N/A N/A i f fams_to_test N/A N/A mask_dict N/A masks N/A i N/A N/A inh_model mask N/A N/A mask_dict items N/A N/A N/A N/A N/A masks N/A i False N/A eval mask cols N/A N/A N/A f fams N/A N/A N/A models N/A -1 N/A ; inh_model N/A N/A N/A N/A fams append f N/A N/A N/A models append inh_model N/A N/A fams N/A f N/A N/A i f fams_to_test N/A N/A N/A masks N/A i False N/A eval N/A masks N/A i cols N/A N/A N/A kindreds update N/A N/A f family_id N/A f fams N/A fam fams N/A N/A pdict N/A N/A N/A row print_fields copy N/A N/A N/A kindreds add N/A fam family_id N/A N/A pdict N/A family_id N/A fam family_id N/A N/A pdict N/A family_members N/A N/A , join N/A N/A %s m N/A m N/A fam subjects N/A N/A pdict N/A family_genotypes N/A N/A , join N/A N/A eval N/A str s cols N/A s N/A fam gts N/A N/A pdict N/A samples N/A N/A , join N/A N/A N/A x name N/A x sample_id N/A x N/A fam subjects N/A x affected N/A N/A pdict N/A family_count N/A len fams N/A is_mendel N/A N/A N/A pdict N/A violation N/A N/A ; join models N/A N/A pdict N/A samples N/A N/A args only_affected N/A fam affecteds_with_parent N/A fam samples_with_parent N/A vs N/A N/A N/A all N/A N/A c N/A self gt_cols N/A c N/A gt_phred_ll_homref gt_phred_ll_het gt_phred_ll_homalt N/A N/A N/A pdict N/A violation_prob N/A s N/A pdict N/A samples N/A N/A mdk N/A str N/A N/A N/A N/A s mom genotype_lls N/A N/A s dad genotype_lls N/A s genotype_lls N/A vals N/A eval mdk cols N/A N/A N/A vs append N/A mendelian_error N/A vals N/A 3 N/A vals N/A 3 6 N/A vals N/A 6 pls True N/A N/A pdict N/A violation_prob N/A N/A , join N/A N/A %.5f v N/A v vs N/A v None N/A N/A pdict N/A samples N/A N/A , join N/A N/A N/A s name N/A str N/A s sample_id N/A s N/A pdict N/A samples N/A s N/A str pdict N/A N/A s seen N/A N/A N/A N/A N/A seen add s N/A N/A N/A to_yield append pdict N/A N/A 0 N/A len kindreds N/A N/A self args min_kindreds N/A N/A N/A comp_het_id N/A to_yield N/A 0 N/A N/A counts N/A Counter N/A N/A N/A item N/A comp_het_id N/A item N/A family_id N/A item to_yield N/A to_yield N/A item N/A item to_yield N/A N/A counts N/A N/A N/A item N/A comp_het_id N/A item N/A family_id 1 N/A N/A N/A len N/A set N/A N/A item N/A family_id N/A item to_yield N/A N/A self args min_kindreds N/A N/A N/A item to_yield N/A N/A N/A item N/A family_count N/A len kindreds N/A N/A item N/A run N/A N/A self N/A N/A N/A has_gts False gemini_bcolz gt_cols_types N/A N/A i s N/A enumerate N/A N/A self report_candidates N/A N/A N/A i 0 N/A N/A has_gts N/A N/A N/A x N/A 0 N/A x gt_cols_types N/A N/A x N/A 0 s False N/A N/A N/A join N/A N/A s keys N/A has_gts N/A N/A col has_gts N/A N/A N/A s N/A col N/A N/A N/A str N/A s N/A col replace N/A N/A N/A join N/A map str N/A N/A s values N/A N/A XRec N/A GeminiInheritanceModel N/A N/A model x_rec candidates N/A N/A self N/A N/A N/A N/A g li N/A N/A self gen_candidates gene N/A N/A N/A N/A g li N/A N/A XDenovo N/A XRec N/A N/A model x_denovo N/A XDom N/A XRec N/A N/A model x_dom N/A AutoDom N/A GeminiInheritanceModel N/A N/A model auto_dom candidates N/A N/A self N/A N/A N/A N/A g li N/A N/A self gen_candidates gene N/A N/A N/A N/A g li N/A N/A AutoRec N/A AutoDom N/A N/A model auto_rec N/A DeNovo N/A GeminiInheritanceModel N/A N/A model de_novo candidates N/A N/A self N/A N/A N/A kins N/A N/A self args min_kindreds N/A N/A g li N/A N/A self gen_candidates N/A N/A kins None gene None N/A N/A N/A N/A g li N/A N/A MendelViolations N/A GeminiInheritanceModel N/A N/A model mendel_violations candidates N/A N/A self N/A N/A N/A N/A g li N/A N/A self gen_candidates None N/A N/A N/A N/A g li N/A N/A CompoundHet N/A GeminiInheritanceModel N/A N/A model comp_het query N/A N/A self N/A N/A N/A args N/A self args N/A N/A N/A args columns None N/A N/A custom_columns N/A N/A self _add_necessary_columns N/A str N/A args columns N/A query N/A N/A N/A SELECT  custom_columns  FROM variants   WHERE (is_exonic = 1 or impact_severity != 'LOW')  N/A N/A query N/A N/A N/A SELECT * , gts, gt_types, gt_phases, gt_depths,                     gt_ref_depths, gt_alt_depths, gt_quals  FROM variants   WHERE (is_exonic = 1 or impact_severity != 'LOW')  N/A N/A args filter N/A N/A query N/A  AND  N/A args filter N/A N/A query  ORDER BY chrom, gene N/A property _add_necessary_columns N/A N/A self custom_columns N/A N/A N/A 
        Convenience function to tack on columns that are necessary for
        the functionality of the tool but yet have not been specifically
        requested by the user.
         N/A custom_columns N/A N/A N/A x strip N/A x N/A N/A custom_columns split , N/A N/A * custom_columns N/A N/A N/A N/A , join custom_columns N/A N/A self added N/A N/A col N/A gene chrom start ref alt variant_id N/A N/A N/A N/A col custom_columns N/A N/A N/A N/A custom_columns append col N/A N/A col variant_id N/A N/A N/A N/A N/A self added append col N/A N/A N/A , join custom_columns N/A filter_candidates N/A N/A self candidates comp_het_counter N/A N/A 0 N/A N/A 
        Refine candidate heterozygote pairs based on user's filters.
         N/A args N/A self args N/A requested_fams N/A N/A N/A args families None None N/A set N/A N/A N/A args families split , N/A N/A idx comp_het N/A enumerate candidates N/A N/A N/A comp_het_counter N/A 0 1 N/A fam_ch N/A candidates N/A comp_het N/A N/A N/A N/A fam_ch N/A priority N/A args max_priority N/A N/A N/A subject N/A N/A args pattern_only N/A fam_ch N/A candidates N/A N/A fam_ch N/A affected_phased N/A fam_ch N/A affected_unphased N/A N/A family_id N/A subject family_id N/A N/A N/A requested_fams None N/A N/A family_id requested_fams N/A N/A N/A ch_id N/A str N/A comp_het_counter N/A 0 N/A cid N/A %s_%d_%d N/A ch_id N/A N/A N/A comp_het N/A 0 row N/A variant_id N/A N/A N/A comp_het N/A 1 row N/A variant_id N/A i N/A 0 1 N/A N/A pdict N/A N/A N/A N/A N/A comp_het N/A i row print_fields copy N/A N/A pdict N/A family_id family_id N/A N/A pdict N/A family_members None N/A N/A pdict N/A family_genotypes None N/A N/A pdict N/A samples None N/A N/A pdict N/A family_count None N/A N/A pdict N/A comp_het_id cid N/A N/A pdict N/A priority N/A fam_ch N/A priority N/A N/A N/A N/A comp_het N/A i row print_fields pdict N/A N/A N/A N/A comp_het N/A i row N/A candidates N/A N/A self N/A N/A N/A args N/A self args N/A N/A N/A N/A self gq _connect_to_database N/A fams N/A self fams N/A N/A Family from_cursor N/A N/A self gq conn N/A N/A args families N/A N/A fams N/A f fam N/A N/A f fam N/A N/A fams items N/A f N/A set N/A N/A N/A args families split , N/A N/A grp li N/A N/A self gen_candidates gene N/A N/A samples_w_hetpair N/A defaultdict list N/A sites N/A N/A row li N/A N/A N/A gt_types gt_bases gt_phases N/A N/A row N/A gt_types N/A row N/A gts N/A row N/A gt_phases N/A site N/A Site row N/A N/A N/A site gt_phases N/A site gt_bases N/A site gt_types N/A gt_phases gt_bases gt_types N/A N/A N/A sites append site N/A N/A i site1 N/A enumerate N/A sites N/A -1 start 1 N/A N/A site2 N/A sites N/A i N/A N/A N/A family_id fam N/A N/A fams items N/A N/A ch N/A N/A fam comp_het_pair N/A site1 gt_types N/A site1 gt_bases N/A site2 gt_types N/A site2 gt_bases N/A site1 gt_phases N/A site2 gt_phases ref1 N/A N/A site1 row N/A ref alt1 N/A N/A site1 row N/A alt ref2 N/A N/A site2 row N/A ref alt2 N/A N/A site2 row N/A alt allow_unaffected N/A args allow_unaffected fast_mode True pattern_only N/A args pattern_only N/A N/A N/A ch N/A candidate N/A N/A N/A N/A N/A N/A samples_w_hetpair N/A N/A site1 site2 append ch N/A N/A N/A grp N/A N/A self filter_candidates samples_w_hetpair N/A N/A Site N/A object N/A N/A __slots__ N/A row gt_phases gt_bases gt_types __init__ N/A N/A self row N/A N/A N/A N/A self row row N/A N/A self gt_phases None N/A N/A self gt_bases None N/A N/A self gt_types None N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A N/A N/A self row N/A chrom N/A N/A other row N/A chrom N/A N/A N/A self row N/A start N/A N/A other row N/A start N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A , join N/A N/A N/A self row N/A chrom N/A str N/A N/A self row N/A start N/A str N/A N/A self row N/A end N/A __hash__ N/A N/A self N/A N/A N/A hash the site based on chrom+start N/A N/A N/A sum N/A N/A ord c N/A c N/A N/A self row N/A chrom N/A int N/A N/A self row N/A start N/A N/A