Information theory and mereology with applications to biology