Module Expr Str Import alias Import alias ImportFrom alias alias FunctionDef arguments args defaults body Print NameLoad Print Str Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body For NameStore NameLoad body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr If CompareGt AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list If CompareEq NameLoad Str body Assign NameStore NameLoad For NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num body If CompareEq NameLoad Str body Expr Call NameLoad If BoolOpAnd UnaryOpNot NameLoad BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad CompareEq NameLoad Str body Assign NameStore NameLoad orelse Print BinOpMod Str NameLoad Expr Call NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad Expr Call NameLoad Call NameLoad NameLoad
N/A N/A 
Cleanup a BED file, rounds scores to integers
 N/A os N/A sys ngsutils.bed BedFile BedRegion usage N/A N/A N/A N/A N/A __doc__ N/A Usage: bedutils clean bedfile

Converts the "score" field to be an integer

 N/A N/A N/A sys exit 1 N/A bed_clean N/A N/A bed out N/A N/A sys stdout N/A N/A region bed N/A N/A N/A region score N/A int N/A region score N/A N/A N/A region score 1000 N/A N/A N/A region score 1000 N/A N/A N/A out write N/A %s
 region N/A N/A N/A __name__ __main__ N/A N/A fname None N/A arg N/A N/A sys argv N/A 1 N/A N/A N/A arg -h N/A N/A N/A usage N/A N/A N/A fname N/A N/A N/A N/A os path exists arg N/A arg - N/A N/A fname arg N/A N/A N/A Unknown option: %s arg N/A N/A usage N/A N/A fname N/A N/A N/A usage N/A N/A bed_clean N/A BedFile fname