An Algorithm for the Identification of Components in Biochemical Pathways