SlideShare ist ein Scribd-Unternehmen logo
1 von 17
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
 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.

Weitere ähnliche Inhalte

Was ist angesagt? (9)

2014 Taverna Tutorial Nested workflows
2014 Taverna Tutorial Nested workflows2014 Taverna Tutorial Nested workflows
2014 Taverna Tutorial Nested workflows
 
2014 Taverna tutorial Advanced Taverna
2014 Taverna tutorial Advanced Taverna2014 Taverna tutorial Advanced Taverna
2014 Taverna tutorial Advanced Taverna
 
IMPACT/myGrid Hackathon - Introduction to Taverna
IMPACT/myGrid Hackathon - Introduction to TavernaIMPACT/myGrid Hackathon - Introduction to Taverna
IMPACT/myGrid Hackathon - Introduction to Taverna
 
Lecture14
Lecture14Lecture14
Lecture14
 
Swift LA Meetup at eHarmony- What's New in Swift 2.0
Swift LA Meetup at eHarmony- What's New in Swift 2.0Swift LA Meetup at eHarmony- What's New in Swift 2.0
Swift LA Meetup at eHarmony- What's New in Swift 2.0
 
Less12 3 e_loadmodule_2
Less12 3 e_loadmodule_2Less12 3 e_loadmodule_2
Less12 3 e_loadmodule_2
 
Less10 2 e_testermodule_9
Less10 2 e_testermodule_9Less10 2 e_testermodule_9
Less10 2 e_testermodule_9
 
2310 b 03
2310 b 032310 b 03
2310 b 03
 
Django crush course
Django crush course Django crush course
Django crush course
 

Ähnlich wie 2014 Taverna tutorial Tool service

Force.com migration utility
Force.com migration utilityForce.com migration utility
Force.com migration utility
Amit Sharma
 
WS-VLAM
WS-VLAMWS-VLAM
WS-VLAM
aszbel
 
Taming Deployment With Smart Frog
Taming Deployment With Smart FrogTaming Deployment With Smart Frog
Taming Deployment With Smart Frog
Steve Loughran
 

Ähnlich wie 2014 Taverna tutorial Tool service (20)

Warewolf Tools and Connectors Part 2
Warewolf Tools and Connectors Part 2Warewolf Tools and Connectors Part 2
Warewolf Tools and Connectors Part 2
 
Application Integration with XProc
Application Integration with XProcApplication Integration with XProc
Application Integration with XProc
 
C library for input output operations.cstdio.(stdio.h)
C library for input output operations.cstdio.(stdio.h)C library for input output operations.cstdio.(stdio.h)
C library for input output operations.cstdio.(stdio.h)
 
Programming Without Coding Technology (PWCT) Environment
Programming Without Coding Technology (PWCT) EnvironmentProgramming Without Coding Technology (PWCT) Environment
Programming Without Coding Technology (PWCT) Environment
 
Unix t2
Unix t2Unix t2
Unix t2
 
Pemrograman Python untuk Pemula
Pemrograman Python untuk PemulaPemrograman Python untuk Pemula
Pemrograman Python untuk Pemula
 
FMS Administration Seminar
FMS Administration SeminarFMS Administration Seminar
FMS Administration Seminar
 
AWS re:Invent 2016: Building a Platform for Collaborative Scientific Research...
AWS re:Invent 2016: Building a Platform for Collaborative Scientific Research...AWS re:Invent 2016: Building a Platform for Collaborative Scientific Research...
AWS re:Invent 2016: Building a Platform for Collaborative Scientific Research...
 
Introduction to web and php mysql
Introduction to web and php mysqlIntroduction to web and php mysql
Introduction to web and php mysql
 
R12 d49656 gc10-apps dba 26
R12 d49656 gc10-apps dba 26R12 d49656 gc10-apps dba 26
R12 d49656 gc10-apps dba 26
 
2014-10-30 Taverna 3 status
2014-10-30 Taverna 3 status2014-10-30 Taverna 3 status
2014-10-30 Taverna 3 status
 
Force.com migration utility
Force.com migration utilityForce.com migration utility
Force.com migration utility
 
Fortran compiling 2
Fortran compiling 2Fortran compiling 2
Fortran compiling 2
 
WS-VLAM
WS-VLAMWS-VLAM
WS-VLAM
 
Hands-on Workshop on Building Digital Twin for Factory of the Future
Hands-on Workshop on Building Digital Twin for Factory of the FutureHands-on Workshop on Building Digital Twin for Factory of the Future
Hands-on Workshop on Building Digital Twin for Factory of the Future
 
Taming Deployment With Smart Frog
Taming Deployment With Smart FrogTaming Deployment With Smart Frog
Taming Deployment With Smart Frog
 
2014 Taverna Tutorial Biodiversity example
2014 Taverna Tutorial Biodiversity example2014 Taverna Tutorial Biodiversity example
2014 Taverna Tutorial Biodiversity example
 
Pandora FMS: Outlook Anywhere Plugin
Pandora FMS: Outlook Anywhere PluginPandora FMS: Outlook Anywhere Plugin
Pandora FMS: Outlook Anywhere Plugin
 
C++ basics
C++ basicsC++ basics
C++ basics
 
Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...
Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...
Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...
 

Mehr von myGrid team

Mehr von myGrid team (12)

Taverna summary
Taverna summaryTaverna summary
Taverna summary
 
2014 Taverna Tutorial Introduction to eScience and workflows
2014 Taverna Tutorial Introduction to eScience and workflows2014 Taverna Tutorial Introduction to eScience and workflows
2014 Taverna Tutorial Introduction to eScience and workflows
 
2014 Taverna Tutorial Components
2014 Taverna Tutorial Components2014 Taverna Tutorial Components
2014 Taverna Tutorial Components
 
2014 Taverna Tutorial Interactions
2014 Taverna Tutorial Interactions2014 Taverna Tutorial Interactions
2014 Taverna Tutorial Interactions
 
2014 Taverna tutorial Xpath
2014 Taverna tutorial Xpath2014 Taverna tutorial Xpath
2014 Taverna tutorial Xpath
 
SWeDe - Scientific Webservice Description
SWeDe - Scientific Webservice DescriptionSWeDe - Scientific Webservice Description
SWeDe - Scientific Webservice Description
 
Taverna workflows in the cloud
Taverna workflows in the cloudTaverna workflows in the cloud
Taverna workflows in the cloud
 
The Taverna Software Suite
The Taverna Software SuiteThe Taverna Software Suite
The Taverna Software Suite
 
The Taverna Workflow Management Software Suite - Past, Present, Future
The Taverna Workflow Management Software Suite - Past, Present, FutureThe Taverna Workflow Management Software Suite - Past, Present, Future
The Taverna Workflow Management Software Suite - Past, Present, Future
 
2014-06-03-Taverna-IS-ENES2
2014-06-03-Taverna-IS-ENES22014-06-03-Taverna-IS-ENES2
2014-06-03-Taverna-IS-ENES2
 
The beauty of workflows and models
The beauty of workflows and modelsThe beauty of workflows and models
The beauty of workflows and models
 
If we build it will they come?
If we build it will they come?If we build it will they come?
If we build it will they come?
 

Kürzlich hochgeladen

CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
anilsa9823
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
anilsa9823
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Kürzlich hochgeladen (20)

How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 

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
  • 4.
  • 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.