Create BAM to GRanges.R

Read a BAM file into R and then convert to GRanges object.