Implement sam reading and finding overlap with intervals