#NEWLINE# @ property #NEWLINE# def bed12line( self ) : #NEWLINE# #INDENT# color = '255,0,0' #NEWLINE# self . blockStarts = ',' . join ( [ str ( ( x - self . tStart ) ) for x in self . tStarts ] ) #NEWLINE# line = '\t' . join ( ( str ( x ) for x in ( self . tName , self . tStart , self . tEnd , self . qName , '{0:.2f}' . format ( self . pct_id ( ) ) , self . strand , self . tStart , self . tEnd , color , self . blockCount , ',' . join ( ( str ( bs ) for bs in self . blockSizes ) ) , self . blockStarts ) ) ) #NEWLINE# return line