SlideShare a Scribd company logo
Introduction to the 
Taverna Tool service 
Stian Soiland-Reyes and Christian Brenninkmeijer 
University of Manchester 
material by Mr Alan Williams 
http://orcid.org/0000-0001-9842-9718 
http://orcid.org/0000-0002-2937-7819 
http://orcid.org/0000-0003-3156-2105 
Bonn University, 2014-09-01 / 2014-09-03 
http://www.taverna.org.uk/ 
This work is licensed under a 
Creative Commons Attribution 3.0 Unported License
 Allows you to call a command line script as part of a 
workflow 
 Simplest case is calling a single tool 
 Can be run on your local machine or a machine that 
you can ssh to 
 Data is passed by reference 
 No big transfers to/from Taverna 
 Data kept where the script is run until/unless 
needed
 Choose “Tool” from the “Insert” menu 
 In the tool service popup type 
java -version 
 Close the configuration 
 Connect the STDERR and STDOUT ports of the tool service 
to workflow output ports
2014 Taverna tutorial Tool service
 Run the workflow 
 STDERR should look similar to: 
java version "1.8.0" 
Java(TM) SE Runtime Environment (build 1.8.0-b132) 
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, 
mixed mode)
 We are going to use the forester utilities by Christian 
Zmasek 
 Download 
 forester_1028.jar by following the links on 
https://sites.google.com/site/cmzmasek/home/software/forester/p 
hyloxml-converter 
 ..or download it from the myExperiment group 
 Remember which folder you downloaded it to
 Create a new workflow with a tool service that calls the jar 
(modify the path) 
java -cp C:UsersstainDownloadsforester_1035.jar 
 Connect STDERR and STDOUT 
 Run the workflow 
 It fails. We cannot just call the jar
 We cannot just call the jar 
 Look for the parameters of this tool at 
https://sites.google.com/site/cmzmasek/home/software/f 
orester/phyloxml-converter 
 Change the tool service so the script says on one line: 
java -cp C:UsersstainDownloadsforester_1035.jar 
org.forester.application.phyloxml_converter -f=nn 
infile outfile 
 This converts the infile to PhyloXML and writes it to outfile 
 Run the workflow
 We need to pass an input file 
 Configure the tool service and add a file input called infile
 Add a file output called outfile
 The tool service now has two extra ports 
 Connect infile to a workflow input port and outfile to a 
workflow output port
 Run the workflow 
 As input, you can use the contents of 
http://www.myexperiment.org/files/1055/versions/1/dow 
nload/example.nh.txt 
(or use Set URL) 
 The outfile is in PhyloXML format 
 Click Value type: XML tree
 Rename the first tool to converter 
 Add a new tool service that calls 
java -cp C:UsersstainDownloadsforester_1035.jar 
org.forester.archaeopteryx.Archaeopteryx infile 
 Add a file input called infile 
 Rename the tool service to display 
 Connect the outfile of converter to the infile of display 
 Run the workflow
 The archaeopteryx display tool will show – exit it to finish 
the run
 PhyloXML converter can take options 
 Add a new String replacement port to the converter 
service called options
 Change the converter script to include the options 
java -cp C:UsersstainDownloadsforester_1035.jar 
org.forester.application.phyloxml_converter -f=nn 
%%options%% infile outfile 
 %%options%% will be replaced by the string passed to the 
service 
 Connect the options port to a workflow input port 
 Run the workflow with options as the empty string 
 Run the workflow with options as –o 
 Compare the outfile with that from the previous run
 Add the Xpath service to pick up the species name of the second-level 
clade branch (bear, raccoon) 
 Create a component family in your local registry called forester 
 Create a components in the forester family for the converter and 
display services 
 Build a workflow using the two components from Available Services 
 What possible problems can you imagine if you want to share a 
workflow using the External Tool service? 
 Expert: Are you able to modify your workflow to be sharable? Hint: 
Look at Advanced tab of Tool service.

More Related Content

What's hot (9)

PPTX
2014 Taverna Tutorial Nested workflows
myGrid team
 
PPTX
2014 Taverna tutorial Advanced Taverna
myGrid team
 
PPT
IMPACT/myGrid Hackathon - Introduction to Taverna
IMPACT Centre of Competence
 
PPT
Lecture14
Châu Thanh Chương
 
PPTX
Swift LA Meetup at eHarmony- What's New in Swift 2.0
Claire Townend Gee
 
PPT
Less12 3 e_loadmodule_2
Suresh Mishra
 
PPT
Less10 2 e_testermodule_9
Suresh Mishra
 
PPT
2310 b 03
Krazy Koder
 
PPTX
Django crush course
Mohammed El Rafie Tarabay
 
2014 Taverna Tutorial Nested workflows
myGrid team
 
2014 Taverna tutorial Advanced Taverna
myGrid team
 
IMPACT/myGrid Hackathon - Introduction to Taverna
IMPACT Centre of Competence
 
Swift LA Meetup at eHarmony- What's New in Swift 2.0
Claire Townend Gee
 
Less12 3 e_loadmodule_2
Suresh Mishra
 
Less10 2 e_testermodule_9
Suresh Mishra
 
2310 b 03
Krazy Koder
 
Django crush course
Mohammed El Rafie Tarabay
 

Similar to 2014 Taverna tutorial Tool service (20)

PPTX
Warewolf Tools and Connectors Part 2
Carol Vanden Bussche
 
PDF
Application Integration with XProc
Vojtech Toman
 
PDF
C library for input output operations.cstdio.(stdio.h)
leonard horobet-stoian
 
PDF
Programming Without Coding Technology (PWCT) Environment
Mahmoud Samir Fayed
 
PDF
Unix t2
Raafat younis
 
PDF
Pemrograman Python untuk Pemula
Oon Arfiandwi
 
PPT
FMS Administration Seminar
Yoss Cohen
 
PPT
Introduction to web and php mysql
Programmer Blog
 
PPT
R12 d49656 gc10-apps dba 26
zeesniper
 
PDF
2014-10-30 Taverna 3 status
Stian Soiland-Reyes
 
PDF
Force.com migration utility
Amit Sharma
 
PPT
Fortran compiling 2
najenssr
 
PPS
WS-VLAM
aszbel
 
PDF
Hands-on Workshop on Building Digital Twin for Factory of the Future
Pankesh Patel
 
PPT
Taming Deployment With Smart Frog
Steve Loughran
 
PPTX
2014 Taverna Tutorial Biodiversity example
myGrid team
 
PDF
Pandora FMS: Outlook Anywhere Plugin
Pandora FMS
 
PPTX
C++ basics
AllsoftSolutions
 
PDF
Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...
Joachim Jacob
 
PPTX
Unit 1
donny101
 
Warewolf Tools and Connectors Part 2
Carol Vanden Bussche
 
Application Integration with XProc
Vojtech Toman
 
C library for input output operations.cstdio.(stdio.h)
leonard horobet-stoian
 
Programming Without Coding Technology (PWCT) Environment
Mahmoud Samir Fayed
 
Unix t2
Raafat younis
 
Pemrograman Python untuk Pemula
Oon Arfiandwi
 
FMS Administration Seminar
Yoss Cohen
 
Introduction to web and php mysql
Programmer Blog
 
R12 d49656 gc10-apps dba 26
zeesniper
 
2014-10-30 Taverna 3 status
Stian Soiland-Reyes
 
Force.com migration utility
Amit Sharma
 
Fortran compiling 2
najenssr
 
WS-VLAM
aszbel
 
Hands-on Workshop on Building Digital Twin for Factory of the Future
Pankesh Patel
 
Taming Deployment With Smart Frog
Steve Loughran
 
2014 Taverna Tutorial Biodiversity example
myGrid team
 
Pandora FMS: Outlook Anywhere Plugin
Pandora FMS
 
C++ basics
AllsoftSolutions
 
Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...
Joachim Jacob
 
Unit 1
donny101
 
Ad

More from myGrid team (12)

PPTX
Taverna summary
myGrid team
 
PPTX
2014 Taverna Tutorial Introduction to eScience and workflows
myGrid team
 
PPTX
2014 Taverna Tutorial Components
myGrid team
 
PPTX
2014 Taverna Tutorial Interactions
myGrid team
 
PPTX
2014 Taverna tutorial Xpath
myGrid team
 
PPTX
SWeDe - Scientific Webservice Description
myGrid team
 
PPTX
Taverna workflows in the cloud
myGrid team
 
PPT
The Taverna Software Suite
myGrid team
 
PPT
The Taverna Workflow Management Software Suite - Past, Present, Future
myGrid team
 
PPTX
2014-06-03-Taverna-IS-ENES2
myGrid team
 
PPT
The beauty of workflows and models
myGrid team
 
PPT
If we build it will they come?
myGrid team
 
Taverna summary
myGrid team
 
2014 Taverna Tutorial Introduction to eScience and workflows
myGrid team
 
2014 Taverna Tutorial Components
myGrid team
 
2014 Taverna Tutorial Interactions
myGrid team
 
2014 Taverna tutorial Xpath
myGrid team
 
SWeDe - Scientific Webservice Description
myGrid team
 
Taverna workflows in the cloud
myGrid team
 
The Taverna Software Suite
myGrid team
 
The Taverna Workflow Management Software Suite - Past, Present, Future
myGrid team
 
2014-06-03-Taverna-IS-ENES2
myGrid team
 
The beauty of workflows and models
myGrid team
 
If we build it will they come?
myGrid team
 
Ad

Recently uploaded (20)

PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PDF
Add Background Images to Charts in IBM SPSS Statistics Version 31.pdf
Version 1 Analytics
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PDF
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
PDF
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PPTX
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PDF
Technical-Careers-Roadmap-in-Software-Market.pdf
Hussein Ali
 
PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PDF
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
PDF
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
PDF
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
Add Background Images to Charts in IBM SPSS Statistics Version 31.pdf
Version 1 Analytics
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
Technical-Careers-Roadmap-in-Software-Market.pdf
Hussein Ali
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 

2014 Taverna tutorial Tool service

  • 1. Introduction to the Taverna Tool service Stian Soiland-Reyes and Christian Brenninkmeijer University of Manchester material by Mr Alan Williams http://orcid.org/0000-0001-9842-9718 http://orcid.org/0000-0002-2937-7819 http://orcid.org/0000-0003-3156-2105 Bonn University, 2014-09-01 / 2014-09-03 http://www.taverna.org.uk/ This work is licensed under a Creative Commons Attribution 3.0 Unported License
  • 2.  Allows you to call a command line script as part of a workflow  Simplest case is calling a single tool  Can be run on your local machine or a machine that you can ssh to  Data is passed by reference  No big transfers to/from Taverna  Data kept where the script is run until/unless needed
  • 3.  Choose “Tool” from the “Insert” menu  In the tool service popup type java -version  Close the configuration  Connect the STDERR and STDOUT ports of the tool service to workflow output ports
  • 5.  Run the workflow  STDERR should look similar to: java version "1.8.0" Java(TM) SE Runtime Environment (build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
  • 6.  We are going to use the forester utilities by Christian Zmasek  Download  forester_1028.jar by following the links on https://sites.google.com/site/cmzmasek/home/software/forester/p hyloxml-converter  ..or download it from the myExperiment group  Remember which folder you downloaded it to
  • 7.  Create a new workflow with a tool service that calls the jar (modify the path) java -cp C:UsersstainDownloadsforester_1035.jar  Connect STDERR and STDOUT  Run the workflow  It fails. We cannot just call the jar
  • 8.  We cannot just call the jar  Look for the parameters of this tool at https://sites.google.com/site/cmzmasek/home/software/f orester/phyloxml-converter  Change the tool service so the script says on one line: java -cp C:UsersstainDownloadsforester_1035.jar org.forester.application.phyloxml_converter -f=nn infile outfile  This converts the infile to PhyloXML and writes it to outfile  Run the workflow
  • 9.  We need to pass an input file  Configure the tool service and add a file input called infile
  • 10.  Add a file output called outfile
  • 11.  The tool service now has two extra ports  Connect infile to a workflow input port and outfile to a workflow output port
  • 12.  Run the workflow  As input, you can use the contents of http://www.myexperiment.org/files/1055/versions/1/dow nload/example.nh.txt (or use Set URL)  The outfile is in PhyloXML format  Click Value type: XML tree
  • 13.  Rename the first tool to converter  Add a new tool service that calls java -cp C:UsersstainDownloadsforester_1035.jar org.forester.archaeopteryx.Archaeopteryx infile  Add a file input called infile  Rename the tool service to display  Connect the outfile of converter to the infile of display  Run the workflow
  • 14.  The archaeopteryx display tool will show – exit it to finish the run
  • 15.  PhyloXML converter can take options  Add a new String replacement port to the converter service called options
  • 16.  Change the converter script to include the options java -cp C:UsersstainDownloadsforester_1035.jar org.forester.application.phyloxml_converter -f=nn %%options%% infile outfile  %%options%% will be replaced by the string passed to the service  Connect the options port to a workflow input port  Run the workflow with options as the empty string  Run the workflow with options as –o  Compare the outfile with that from the previous run
  • 17.  Add the Xpath service to pick up the species name of the second-level clade branch (bear, raccoon)  Create a component family in your local registry called forester  Create a components in the forester family for the converter and display services  Build a workflow using the two components from Available Services  What possible problems can you imagine if you want to share a workflow using the External Tool service?  Expert: Are you able to modify your workflow to be sharable? Hint: Look at Advanced tab of Tool service.