Start looking for a spot to take the lane well in advance, stick your arm out and start riding there so you can end up on the bike lane to go straight. If you Re not comfortable dong this you can also wait on the sidewalk by the trafic light untill it turns red.