#NEWLINE# def __init__( self , sline ) : #NEWLINE# #INDENT# args = sline . strip ( ) . split ( ) #NEWLINE# self . nargs = len ( args ) #NEWLINE# self . matches = int ( args [ 0 ] ) #NEWLINE# self . misMatches = int ( args [ 1 ] ) #NEWLINE# self . repMatches = int ( args [ 2 ] ) #NEWLINE# self . nCount = int ( args [ 3 ] ) #NEWLINE# self . qNumInsert = int ( args [ 4 ] ) #NEWLINE# self . qBaseInsert = int ( args [ 5 ] ) #NEWLINE# self . tNumInsert = int ( self [ 6 ] ) #NEWLINE# self . tBaseInsert = int ( args [ 7 ] ) #NEWLINE# ( self . qstrand , self . strand ) = ( args [ 8 ] , None ) #NEWLINE# m = re . match ( '(?P<qs>[\\+\\-]?)(?P<gs>[\\+\\-])' , self . qstrand ) #NEWLINE# if m : #NEWLINE# #INDENT# ( self . qstrand , self . strand ) = ( m . group ( 'qs' ) , m . group ( 'gs' ) ) #NEWLINE# #UNINDENT# self . qName = args [ 9 ] #NEWLINE# self . qSize = int ( args [ 10 ] ) #NEWLINE# self . qStart = int ( args [ 11 ] ) #NEWLINE# self . qEnd = int ( args [ 12 ] ) #NEWLINE# self . tName = args [ 13 ] #NEWLINE# self . tSize = int ( args [ 14 ] ) #NEWLINE# self . tStart = int ( args [ 15 ] ) #NEWLINE# self . tEnd = int ( args [ 16 ] ) #NEWLINE# self . blockCount = int ( args [ 17 ] ) #NEWLINE# self . blockSizes = [ int ( x ) for x in args [ 18 ] . strip ( ) . split ( ',' ) [ : ( - 1 ) ] ] #NEWLINE# self . qStarts = [ int ( x ) for x in args [ 19 ] . strip ( ) . split ( ',' ) [ : ( - 1 ) ] ] #NEWLINE# self . tStarts = [ int ( x ) for x in args [ 20 ] . strip ( ) . split ( ',' ) [ : ( - 1 ) ] ]