fleshing out sam-to-bed conversion process