An apparatus for synthesizing a biopolymer includes a reaction chamber, an
outlet tube connected to the reaction chamber, a plurality of recovery
tanks connected to the outlet tube, and a plurality of recovery valves
configured to open or block the passageway between the outlet tube and
each of the recovery tanks.