Conversion of amylose into a (1-4)-2-amino-2-deoxy-alpha-D-glucopyranuronan and its 2-N-sulfo derivative, a heparin analog.