The logic of automated glycan assembly.