Discovering a workflow using Magallanes. This shows how a pipeline can be generated using Magallanes. The application uses MAPI functions to discover the workflow. In many cases, there are several possible paths (compatible services). In those cases, the user can select the most appropriate service (see  for details). Please note that MAPI recognizes that the services getAminoAcidSequence and runRPSBlast can be connected even if the output datatype of getAminoAcidSequence is AminoAcidSequence and the input datatype of runRPSBlast is GenericSequence. This is possible because of the inheritance relation between the datatypes (AminoAcidSequence ISA GenericSequence).