Efficient models and algorithms for problems in genomics