modify bamtools