def _reorient_starts(starts, blksizes, seqlen, strand):
 assert (len(starts) == len(blksizes)), ('Unequal start coordinates and block sizes list (%r vs %r)' % (len(starts), len(blksizes)))
 if (strand >= 0):
  return starts
 else:
  return [((seqlen - start) - blksize) for (start, blksize) in zip(starts, blksizes)]

def _reorient_starts ( starts , blksizes , seqlen , strand ) : assert ( len ( starts ) == len ( blksizes ) ) , ( 'Unequal start coordinates and block sizes list (%r vs %r)' % ( len ( starts ) , len ( blksizes ) ) ) if ( strand >= 0 ) : return starts else : return [ ( ( seqlen - start ) - blksize ) for ( start , blksize ) in zip ( starts , blksizes ) ]
reorients block starts into the opposite strands coordinates .