The complexity of some pattern problems in the logical analysis of large genomic data sets