Example workflows
biofetch1 lookup SWISS_PROT
The workflow biofetch1 gets a SWISS_PROT record from its accession number. There are two parts to the workflow definition: the WSFL source code, and the input template.
The input template includes three values. The first,
ids, is the input for this workflow. The second two,
database and
formatType are essentially configuration parameters. The syntax for WSFL does not include constant literals, so it is not possible to put these in the WSFL source.
The WSFL source code and input template are input parameters to the workflow enactment engine, either when it is being run standalone or deployed as a web service.
When the workflow enactment engine is invoked from the gateway, then there is a corresponding
GatewayJobDefinition. This contains either inline or by reference the WSFL file, and almost the same information as the input template. The difference is that the concept type for the input rather than its actual value is given. The gateway knows the data item to which the workflow is being applied. The
GatewayJobDefinition also explicitly includes the concept type of the workflow output. (This is included as the serviceProviderType attribute of the flowModel element in the WSFL, a cludge included for the myGrid pre-prototype.)
bioSprocess SWISS_PROT accession to array of Medline Ids
The bioSprocess workflow takes a SWISS_PROT accession number, retrieves the SWISS_PROT record and then extracts the Medline Ids.
ExampleBioFetchProvenance gives some example provenance records for this workflow.
--
MarkGreenwood - 23 Mar 2003