Topological invariants of some chemical reaction networks