Module Import alias Import alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias alias ImportFrom alias alias alias alias ImportFrom alias Assign NameStore Str Assign NameStore ListLoad ListLoad Str Str NameLoad NameLoad Str ListLoad Str Str NameLoad Num Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad If UnaryOpNot CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad NameLoad NameLoad Str Assign TupleStore NameStore NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num NameLoad If UnaryOpNot CompareGtE Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad NameLoad NameLoad Str FunctionDef arguments args NameParam defaults body Return BinOpMod Str NameLoad decorator_list Assign TupleStore NameStore NameStore Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Call NameLoad Num NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad Call NameLoad Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad Assign NameStore Call NameLoad Str Str Assign NameStore IfExp SubscriptLoad NameLoad Index Str NameLoad NameLoad For NameStore NameLoad body If CompareLt Call NameLoad NameLoad SubscriptLoad NameLoad Index Str body Continue If CompareEq BinOpMod NameLoad NameLoad Num body If CompareEq BinOpMod NameLoad BinOpMult NameLoad NameLoad Num body AugAssignAdd NameStore Num Assign NameStore Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AugAssignAdd NameStore Num If NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore SubscriptLoad Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Index Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr
N/A N/A sys N/A os itertools starmap chain imap operator itemgetter seqio iteratorFromExtension recordToString fastaRecordToString seqlen nucio fileIterator openerFromExtension args parseArgs getHelpStr argflag CLArgument misc defdef N/A description Usage: partition.py [-options] <reads_per_file (int)> <files_per_dir (int)> <input.{fa,fq}> [input2.{fa,fq} ...] N/A argument_list N/A N/A sameformat samefmt argflag False Output files will be in the same format as the input files. By default they are converted to fasta. N/A minlen minlen int 1 Only output reads that are greater than or equal to 'minlen' Default: 1 N/A arguments N/A map N/A CLArgument _make argument_list N/A N/A N/A N/A len N/A sys argv 1 N/A N/A N/A N/A sys exit N/A N/A getHelpStr description arguments N/A N/A p_arg_map args_remaining N/A parseArgs N/A N/A sys argv N/A 1 arguments N/A N/A N/A N/A len args_remaining 3 N/A N/A N/A N/A sys exit N/A N/A getHelpStr description arguments pstr N/A N/A num N/A N/A N/A N/A %04d num N/A N/A N/A rpf fpd N/A map int N/A args_remaining N/A 2 N/A in_files N/A args_remaining N/A 2 N/A openers N/A map openerFromExtension in_files N/A iterators N/A map iteratorFromExtension N/A imap N/A itemgetter 1 openers N/A openfuncs N/A map N/A defdef open N/A imap N/A itemgetter 0 openers N/A input_data N/A N/A chain from_iterable N/A starmap fileIterator N/A zip in_files iterators openfuncs N/A total_reads 0 N/A dnum 0 N/A fnum 0 N/A fh None N/A readidx_fh N/A open ReadIndex.txt w N/A recordString N/A N/A p_arg_map N/A samefmt recordToString fastaRecordToString N/A record input_data N/A N/A N/A N/A seqlen record N/A p_arg_map N/A minlen N/A N/A N/A N/A N/A total_reads rpf 0 N/A N/A N/A N/A total_reads N/A rpf fpd 0 N/A N/A dnum 1 N/A fnum 0 N/A N/A N/A os mkdir N/A pstr dnum N/A fnum 1 N/A fh N/A N/A N/A N/A fh close N/A current_file N/A %s/p%s N/A N/A pstr dnum N/A pstr fnum N/A fh N/A open current_file w N/A clean_name N/A N/A N/A N/A str N/A record name split N/A 0 N/A clean_record N/A N/A record _replace name clean_name N/A N/A N/A readidx_fh write N/A N/A N/A clean_name current_file N/A N/A N/A fh write N/A recordString clean_record N/A N/A N/A fh write N/A total_reads 1 N/A N/A N/A readidx_fh close N/A N/A N/A fh close