Structure-function study on allosteric regulation of ADP-glucose pyrophosphorylase from cyanobacterium Anabaena PCC 7120