Added error handling if index file for reference sequence does not exist.