Algebraic approaches to molecular information processing