850 likes | 998 Views
Creating BioMoby Workflows In Taverna. Mark Wilkinson Edward (Eddie) Kawas iCAPTURE Centre, St. Paul’s Hospital Vancouver, BC. Downloading Taverna. Taverna can be obtained from: http://taverna.sourceforge.net. Once at the site, click on Download.
E N D
Creating BioMoby WorkflowsIn Taverna Mark Wilkinson Edward (Eddie) Kawas iCAPTURE Centre, St. Paul’s Hospital Vancouver, BC
Between releases, the Moby functionality may be updated and you can find instructions on how to acquire those updates from:http://biomoby.open-bio.org/index.php/moby-clients/taverna_plugin
Running • For a more comprehensive guide on Running and using Taverna, please refer to http://taverna.sourceforge.net/usermanual/manual.html
Assuming that you have downloaded and unzipped Taverna, you can run it by double-clicking on runme.bat (windows) or executing runme.sh (Unix/Linux/OS X)
Once Taverna has loaded, you will see 3 windows: • Advanced Model Explorer • Workflow Diagram • Available Services
The Advanced model explorer is Taverna’s primary editor and allows you to load, save and edit any property of a workflow.
Workflow diagram contains a read only graphical representation of your workflow.
The Available services window lists all of the services available to a workflow designer.
Under the node ‘Biomoby @ …’ Moby services and Moby data types are represented. • The Object ontology is available as children of MOBY Objects node • Services are sorted by service provider authority
If you wish to use registries other than the default one, you can add a new Moby ‘Scavenger’ by choosing to ‘Add new Biomoby scavenger…’
Creating Workflows • I have the workflow saved and would like to offer it for download.
We will start by adding the Object ontology node Object to our workflow.
The Advanced model explorer now shows that we have a processor called Object • Object has 3 input ports: id, namespace and article name • Object has 1 output port: mobyData • The Workflow diagram illustrates our processor
We can discover services that consume our data type, context click on ‘Object’ and choose ‘Moby Object Details’
A window will pop up that tells you what services Object feeds into and is produced by
Expanding the Feeds into node results in a list of service provider authorities • Expanding an authority, for example, bioinfo.icapture.ubc.ca, reveals a list of services
We will choose to add the service called ‘MOBYSHoundGetGenBankFasta’ to our workflow.
And graphically. • The service consumes Object, with article name identifier, and produces FASTA, with article name fasta.
To discover more services, context click on the service that outputs the data type that you would like to discover consuming services for and choose Moby Service Details.
The resultant window displays the services inputs and outputs. • There are also tool tips that show up when your mouse hovers over any particular input or output that tells you what namespaces the data type is valid in
Context clicking on an output reveals a menu with 3 options. • A brief search for services that consume our datatype • A semantic search for services that consume our datatype • Adding a parser to the workflow that understands our datatype
The result of choosing to add a parser for FASTA to our workflow. • The parser allows us to extract: • The namespace and id from FASTA • The namespace and id from the child String • The textual content from the child String
The result of choosing to conduct a brief search for services that consume FASTA
We will add the service getDragonBlastText to our workflow by choosing ‘Add service -…’ from the context menu
Finding services that consume NCBI_BLAST_Text starts by viewing the details of the service ‘getDragonBlastText’
Workflow inputs are added by context clicking on Workflow inputs in the Advanced model explorer and choosing ‘Create New Input…’
The result from adding 2 inputs: • Id • namespace
The workflow input id will be connected to Object’s input port ‘id’
The workflow input namespace will connect to Object’s input port ‘namespace’
Workflow outputs are added by context clicking on Workflow outputs in the Advanced model explorer and choosing ‘Create New Output…’
The result from adding 2 workflow outputs: • moby_blast_ids • fasta_out
The output moby_blast_ids will be connected to parseBlastText’s output port Object(Collection –’hit_ids’)
The output fasta_out will be connected to Parse_Moby_Data_FASTA’s output port fasta_’content’
To run the workflow, click on ‘Tools and Workflow Invocation’ • Choose ‘Run workflow’