Text this: Logical and combinatorial algorithms for drug design