biomoby and taverna 2 tutorial mark wilkinson, edward kawas, david withers
TRANSCRIPT
![Page 1: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/1.jpg)
BioMoby and Taverna 2 Tutorial
Mark Wilkinson, Edward Kawas, David Withers
![Page 2: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/2.jpg)
Preamble
• The Taverna 2 platform is constantly changing; while the look and feel of the workbench may change, the functionality wont!
![Page 3: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/3.jpg)
Getting startedIf you don’t see a ‘Biomoby’ folder, you need to tell Taverna to go and fetch it for you!
![Page 4: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/4.jpg)
Getting startedFrom the ‘Service Panel’:
Import new services Biomoby service…Choose the ‘default’ registry (more on this later!)
![Page 5: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/5.jpg)
Getting startedNow we see that Taverna has fetched Biomoby services for us to use
![Page 6: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/6.jpg)
Installing a PluginWe will also make sure that the Spreadsheet import plugin is installed!To install the plugin, from the toolbar, click on Advanced and then on Updates and plugins.
![Page 7: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/7.jpg)
Installing a PluginIn the resultant window, click on Find New Plugins
![Page 8: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/8.jpg)
Installing a PluginAmong others, we discovered the Taverna 2 Spreadsheet activity. Check the box and then click on Install.
![Page 9: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/9.jpg)
Installing a PluginThe plugin is being installed! Once it has been fully
installed, you will have to restart the workbench.
![Page 10: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/10.jpg)
Installing a PluginHere we see the activity under the Service templates node in the service panel.
![Page 11: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/11.jpg)
►The Service panel lists all of the services available to a workflow designer.
![Page 12: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/12.jpg)
► Under the node ‘Biomoby’ Moby services are shown.
► Services are sorted by their Biomoby Service type.
![Page 13: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/13.jpg)
► If you wish to use registries other than the default one, you can add new Biomoby Activities exactly as we did for the default registry
► Taverna even remembers the registry (or registries) that you chose when you restart the workbench!
![Page 14: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/14.jpg)
Creating Workflows
![Page 15: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/15.jpg)
►We will start by adding a Biomoby datatype to the workflow.
► From the menu bar, click on Advanced Biomoby Datatype Browser -> http://…
![Page 16: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/16.jpg)
►The Datatype viewer should be visible now►Context click on the root node of the tree
(Object) and Add Datatype – ‘Object’ to the workflow.
![Page 17: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/17.jpg)
► The Datatype viewer should be visible now► Context click on the root node of the tree (Object) and
Add Datatype – ‘Object’ to the workflow.
![Page 18: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/18.jpg)
►The Datatype viewer should be visible now►Context click on the root node of the tree
(Object) and Add Datatype – ‘Object’ to the workflow.
![Page 19: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/19.jpg)
► The Workflow Explorer now shows that we have a Processor called Object Has 3 input ports: id, namespace and article name Has 1 output port: mobyData
► The Workflow diagram illustrates our processor
![Page 20: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/20.jpg)
► If we click on our Datatype, and then on the Details Tab, we can do interesting things with our Object
![Page 21: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/21.jpg)
► The Details tab provides us with some information on our datatype
► Please click on the Datatype registry query button to proceed
![Page 22: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/22.jpg)
► To find those services that operate on a specific domain, we can restrict our search to only those that operate on the namespace(s) that we specify.
► Click Yes, then navigate to the namespace NCBI_gi and click Done.
![Page 23: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/23.jpg)
► The resulting window illustrates what services produce and consume our datatype.
► Navigate to the bioinfo.icapture.ubc.ca node and context click on getGenBankFasta.
► Add the service to the workflow.
![Page 24: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/24.jpg)
► Notice how Taverna automatically made the appropriate connection from our datatype to our Biomoby service.
![Page 25: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/25.jpg)
► The Workflow Explorer now shows that we have a Processor called getGenBankFasta Has 1 input port: Object(identifier) Has 1 output port: FASTA(fasta)
► The Workflow diagram illustrates our processor
![Page 26: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/26.jpg)
► To discover more services that we can use, click on the getGenBankFasta activity, then click on the ‘Details’ tab and finally click on the Browse Biomoby service details button.
![Page 27: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/27.jpg)
► 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
![Page 28: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/28.jpg)
► FYI► If we context (right) click on the leaf
Object(‘identifier’), we can bring up a menu that will allow us to add that datatype to our workflow.► Not only would the datatype be added, but
Taverna will attempt to make the appropriate connections for you too!
![Page 29: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/29.jpg)
► 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
![Page 30: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/30.jpg)
► 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
![Page 31: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/31.jpg)
► The result of choosing to conduct a brief search for services that consume FASTA
![Page 32: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/32.jpg)
► We will add the service getDragonBlastText to our workflow by choosing ‘Add service -…’ from the context menu
![Page 33: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/33.jpg)
► The current state of our workflow shown graphically.
► Again, Taverna made a guess to determine the appropriate connections. Sometimes the guess isn’t correct, but usually it is.
![Page 34: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/34.jpg)
► A more complex view of our workflow
![Page 35: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/35.jpg)
► Finding services that consume NCBI_BLAST_Text starts by browsing the details for the Biomoby service ‘getDragonBlastText’
![Page 36: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/36.jpg)
► Conduct a brief search
![Page 37: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/37.jpg)
► Add the service ‘parseBlastText’ to our workflow
![Page 38: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/38.jpg)
► Our current workflow
![Page 39: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/39.jpg)
► Workflow inputs are added by clicking on the little red triangle (located on the main menu bar)
![Page 40: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/40.jpg)
► The result from adding 2 inputs: Id namespace
![Page 41: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/41.jpg)
► The workflow input id will be connected to Object’s input port ‘id’. You can make the connection by clicking on the workflow input id and dragging it to the Object’s input port ‘id’
![Page 42: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/42.jpg)
► Workflow after connecting the workflow input ‘id’
![Page 43: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/43.jpg)
► The workflow input namespace will connect to Object’s input port ‘namespace’.
► Workflow after connection of the workflow inputs.
![Page 44: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/44.jpg)
► Workflow outputs are added by clicking on the green triangle (located on the toolbar).
![Page 45: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/45.jpg)
► The result from adding 2 workflow outputs: moby_blast_ids fasta_out
![Page 46: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/46.jpg)
► The output moby_blast_ids will be connected to parseBlastText’s output port Object(Collection –’hit_ids’)
► You can make the connection by dragging the parseBlastText’s output port to the workflow output port.
![Page 47: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/47.jpg)
► The output fasta_out will be connected to Parse Moby Data(FASTA) output port fasta_’content’
![Page 48: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/48.jpg)
![Page 49: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/49.jpg)
► To run the workflow, click on File from the toolbar► Choose ‘Run workflow’
![Page 50: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/50.jpg)
► A prompt to add values to our 2 workflow inputs
![Page 51: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/51.jpg)
► To add a value to the input ‘id’ click on the id tab and choose ‘New value’
![Page 52: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/52.jpg)
►Enter 656461 as the id
![Page 53: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/53.jpg)
► Choose the namespace tab and click on ‘New value’
![Page 54: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/54.jpg)
► Enter NCBI_gi as the value for namespace► Once you are done, click on ‘Run workflow’
![Page 55: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/55.jpg)
► Our workflow in actionOur workflow in action
![Page 56: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/56.jpg)
► Once the workflow is complete, we can examine the results of our workflow.
► We may not have results for moby_blast_ids*► * we may need to configure the service to be
less stringent. More on this later!
![Page 57: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/57.jpg)
• Without the parser, FASTA is represented as a Moby message, fully enclosed in its wrapper.
• Non-moby services do not expect this kind of message– Example for moby_blast_ids:
![Page 58: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/58.jpg)
• Non-moby services expect the just the sequence and using the Parse Moby Data(FASTA) processor, we can extract just that
![Page 59: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/59.jpg)
► Moby services can interact with the other services in Taverna.
► Let’s add a Soaplab service.
![Page 60: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/60.jpg)
► We will choose a nucleic_restriction Soaplab service called ‘restrict’
► Drag it into our workflow
![Page 61: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/61.jpg)
► We will connect the output port fasta_’content’ from the service Parse Moby Data(FASTA) to the input port ‘sequence_direct_data’ from the service restrict
► Context click on the Parse Moby Data(FASTA) and choose Link from output … fasta_’content’
![Page 62: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/62.jpg)
► Then click on the Soaplab service► In the resulting list menu, choose
sequence_direct_data
![Page 63: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/63.jpg)
► The result of our actions so far.
► We will need to add another workflow output to capture the output of restrict.
![Page 64: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/64.jpg)
► Create an output called restrict_out
![Page 65: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/65.jpg)
► Connect the output port ‘outfile’ from the service restrict to the workflow output restrict_out
![Page 66: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/66.jpg)
• Once the connections have been made, run the workflow again using the same inputs.
![Page 67: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/67.jpg)
► The workflow on top has some extra services added to it. FASTA2HighestGenericSequenceObject from the authority
bioinfo.icapture.ubc.ca, a conversion service runRepeatMasker from the authority genome.imim.es, an analysis
service A Moby parser for the output DNASequence from runRepeatMasker. A workflow output Masked_Sequence
► Add them to your workflow
![Page 68: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/68.jpg)
► The service runRepeatMasker is configurable, i.e. it consumes Secondary parameters.
► To edit these parameters, click on the service, and in the Details tab choose ‘Configure’
![Page 69: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/69.jpg)
► The name of the parameter is on the left and the value is on the right.
► Clicking on the Value will bring up a drop down menu, an input text field, or any other appropriate field depending on the parameter.
![Page 70: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/70.jpg)
► The parameter species contains an enumerated list of possibilities. ► Select human.► When you have made your selection, close the window.
![Page 71: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/71.jpg)
• Before we run the workflow again, we will make the workflow input port id a port that can take in a list of strings– Context click on the id port and choose to edit the port. Then
give the port a List of depth 1 port type
![Page 72: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/72.jpg)
• Let’s run the workflow
![Page 73: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/73.jpg)
• We will run our workflow with a list of values– Click on the id tab and then click on New value twice
![Page 74: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/74.jpg)
• Enter 656461 and 654321 as the ids• Enter NCBI_gi as the value for namespace• Our workflow will now run using each id with the single namespace
![Page 75: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/75.jpg)
• Imagine now that you want to run the workflow using a FASTA sequence that you input yourself (without the gi identifier)
• To do this, context click on getDragonBlastText and choose Browse Biomoby service details– Expand the Inputs node and context click on FASTA(‘sequence’)– Choose Add Datatype – FASTA(‘sequence’) to the workflow
• A FASTA datatype will be added to the workflow and the appropriate links created
![Page 76: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/76.jpg)
• Notice the datatype FASTA on the left of the workflow– Since the datatype FASTA hasa
String, a String was also added to our workflow and the appropriate connection was made
• We will now have to add another workflow input and connect it to the String component of FASTA.
![Page 77: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/77.jpg)
• A workflow input ‘sequence’ was added to the workflow and a connection was made from the workflow input to the input port ‘value’ of String.
• We also removed the link between getGenBankFasta and getDragonBlastText by context clicking on the link on the workflow diagram and choosing to remove the link
• Now when we choose to run our workflow, we will also have the chance to enter a FASTA sequence
• In addition, we configured the getDragonBlastText service and made the evalue 10,000
![Page 78: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/78.jpg)
• Go ahead an enter any FASTA sequence as the input to the workflow input ‘sequence’
• Run the workflow
![Page 79: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/79.jpg)
• Any results can be saved by simply choosing to Save result– You will be prompted to enter a directory to save the results.
![Page 80: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/80.jpg)
Using the Spreadsheet Import PluginLet’s remove the Sequence workflow input from our workflow, so that our workflow looks similar to the one pictured here.
![Page 81: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/81.jpg)
Using the Spreadsheet Import Plugin• We would like to import a spreadsheet with our data in it.• Our data has 2 columns; sequence id and sequences.•You can obtain the demo spreadsheet from:
http://dev.biordf.net/~kawas/sequences.xls
![Page 82: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/82.jpg)
Using the Spreadsheet Import PluginFrom the Service panel, we need to navigate to the node SpreadsheetImport located directly below the Service templates node.
![Page 83: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/83.jpg)
Using the Spreadsheet Import PluginWhen we add the import plugin, we are asked to configure it.
![Page 84: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/84.jpg)
Using the Spreadsheet Import Plugin• In the columns section, we will only import our sequences (B to B).• In the rows section, we will import all rows and exclude the header row.• In the column to port name mapping, we will map column B to fasta_sequence.
![Page 85: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/85.jpg)
Using the Spreadsheet Import PluginOnce we click on the Ok button, we will see our SpreadsheetImport activity on the canvas.
Notice that the output is fasta_sequence.
![Page 86: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/86.jpg)
Using the Spreadsheet Import PluginSince our spreadsheet contains FASTA sequences, we need to connect the output port of the import activity to the value input port of our String activity.
![Page 87: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/87.jpg)
Using the Spreadsheet Import PluginNext we will add a widget that will prompt us for our spreadsheet.
Navigate to the Select File service located under Local services ui node.
Add it to the workflow!
![Page 88: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/88.jpg)
Using the Spreadsheet Import PluginOnce we add the Select File widget to our workflow, we need to connect the output port, selectedFile, to the input port of SpreadsheetImport (fileurl).
![Page 89: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/89.jpg)
Using the Spreadsheet Import PluginWe need to now give the input ports for the Select File activity constant values!
This can be done by context clicking on each of the input ports and choosing Set constant value from the resulting menu.
![Page 90: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/90.jpg)
Using the Spreadsheet Import Plugin•fileExtensions – the extensions of the files we are interested in; set to xls•title – the title to give the select file widget; set to Select spreadsheet•fileExtLabels – the labels to give the extensions we provided above; again, use Excel Spreadsheet
Note: if the input ports for this widget are not filled in, it will fail to run!
![Page 91: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/91.jpg)
![Page 92: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/92.jpg)
Using the Spreadsheet Import PluginRun the workflow again using the inputs that we have previously used. You will be prompted to open your spreadsheet. Do so and see Taverna utilize your data!
![Page 93: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/93.jpg)
Using the Spreadsheet Import Plugin
Some results produced by using the spreadsheet data
![Page 94: BioMoby and Taverna 2 Tutorial Mark Wilkinson, Edward Kawas, David Withers](https://reader036.vdocuments.net/reader036/viewer/2022070400/56649f125503460f94c25a11/html5/thumbnails/94.jpg)
DOWNLOAD THE WORKFLOW
Get the workflow for this tutorial fromhttp://dev.biordf.net/~kawas/t2_biomoby_tutorial.t2flow
http://dev.biordf.net/~kawas/t2_biomoby_tutorial.t2flow