Module Import alias alias Import alias identifier FunctionDef arguments args NameParam defaults NameLoad body Expr Str If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword SubscriptLoad Call NameLoad Index Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Str Assign NameStore ListLoad Assign NameStore NameLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr Str body Continue If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpSub Call NameLoad Call AttributeLoad NameLoad attr Str Num Assign NameStore BinOpMult ListLoad Num NameLoad Continue Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str If CompareLt Call NameLoad NameLoad Num body Continue Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam NameParam defaults BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad NameLoad SubscriptLoad NameLoad Slice Num NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults BinOpDiv Call NameLoad NameLoad Num NameLoad Print NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Slice Num Num Assign NameStore Call NameLoad Lambda arguments args NameParam NameParam defaults BinOpDiv BinOpDiv Call NameLoad NameLoad Call NameLoad NameLoad BinOpDiv Call NameLoad SubscriptLoad NameLoad Index Num Num SubscriptLoad NameLoad Slice Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Print Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr
N/A N/A sys optparse N/A Experiment E main N/A N/A argv N/A None N/A N/A script main.

    parses command line options in sys.argv, unless *argv* is given.
     N/A N/A argv N/A N/A argv N/A sys argv N/A parser N/A N/A optparse OptionParser version %prog version: $Id: script_template.py 2871 2010-03-03 10:20:44Z andreas $ usage N/A N/A globals N/A __doc__ N/A N/A options args N/A N/A E Start parser argv argv N/A infile N/A open N/A args N/A 0 r N/A genes_list N/A N/A header None N/A line infile N/A N/A N/A N/A line startswith # N/A N/A N/A N/A N/A line startswith gene_id N/A N/A header N/A N/A line rstrip N/A num_fields N/A N/A len N/A N/A header split 2 N/A total_reads N/A N/A 0 num_fields N/A N/A la N/A N/A N/A N/A line rstrip split N/A N/A N/A len la 3 N/A N/A N/A N/A N/A genes_list append la N/A total_reads N/A map N/A N/A N/A x y N/A N/A N/A float x N/A float y total_reads N/A la N/A 2 None N/A total_reads N/A map N/A N/A N/A x N/A N/A N/A float x 1000000 total_reads N/A header N/A gene genes_list N/A N/A my_str_list N/A gene N/A 0 2 N/A vals N/A map N/A N/A N/A x y N/A N/A N/A N/A float x N/A float y N/A N/A float N/A gene N/A 1 1000.0 N/A gene N/A 2 None total_reads N/A N/A N/A my_str_list extend N/A map str vals N/A N/A N/A join my_str_list N/A N/A N/A E Stop N/A N/A N/A __name__ __main__ N/A N/A N/A N/A sys exit N/A main N/A sys argv