You could check out http://www.bedetools.com

Ian