SlideShare a Scribd company logo
1 of 32
Taverna (as a service)
Programmatic Access To Biological Databases (Perl)
1 – 4 October 2012
Rafael C. Jimenez
rafael@ebi.ac.uk
Introduction to Web Services at EBI
Table of contents
• Workflows
• Web Services
• myGrid solutions
– Biocatalogue
– Taverna
– myExperiment
• Installing Taverna
• Simple PSICQUIC workflow with Taverna
UniProt, InterPro
PSICQUIC
Reactome
PICR
PRIDE
BLAST
IEP
Introduction to Web Services at EBI
Workflow
• Workflow
• Sequence of tasks that produces a
result of observable value
• Workflow management system
• Computer system to compose and
execute workflows.
• Workflow components
• Input
• Service
• Output
• Shims
Workflow
Task
Output
Service
Input
Task
Output
Service
Input
Introduction to Web Services at EBI
Workflow
• Workflow
• Sequence of tasks that produces a
result of observable value
• Workflow management system
• Computer system to compose and
execute workflows.
• Workflow components
• Input
• Service
• Output
• Shims
Service A
Service B
MatchMismatch
Shims: Connecting services
Service A
Service B
Service A
Service B
• Convert data formats and act as connectors
Type of services
• Data Resources
• Analysis tools
• Web Services
• SOAP
• REST
• APIs (application programming interface)
• Grid Services
• Local scripts
• Local software
• Workflows
Create and run workflows
Share, discover and reuse workflows
Discover and reuse services
myGrid solutions
• A public centralised and curated registry of Life
Science Web Services
• ‘Web 2.0’-style website and API
• Allow anyone to register, discover and curate Web
Services
• Community oriented with expert guidance
• Open content, open source, open platform
Paul Fisher, myGrid, University of Manchester
Biocatalogue
http://www.biocatalogue.org
BioCatalogue’s Mission
12/13/2018
10
Web service Search
http://www.biocatalogue
Workflow
diagram
Tree view of
workflow structure
Available
services
Taverna
• Workflow management system
• Java desktop application
• Open source and extensible
• Includes access to Biocatalogue and myExperiment
• http://www.taverna.org.uk/
1. Available Services Panel
Lists services available by default in Taverna
• ~ 3500 services
• Local java services
• Simple web services
• Soaplab services – legacy command-line application
• R Processor
• BioMart database services
• BioMoby services
• Beanshell processor
Allows the user to add new services or workflows from the web or
from file systems
This is a modification of the original tutorial from Katy Wolstencroft
Sharing Experiments
• You can share results/experiments/experiences with your
• Research group
• Collaborators
• Scientific community
Paul Fisher, myGrid, University of Manchester
A registry of workflows
myExperiment
http://www.myexperiment.org/
Recycling, Reuse, Repurposing
• Paul writes workflows for identifying biological pathways
implicated in resistance to Trypanosomiasis
• Paul meets Jo. Jo is investigating mouse Whipworm
infection.
• Jo reuses one of Paul’s workflows.
• Jo identifies the biological pathways involved in sex
dependence in the mouse model, believed to be involved in
the ability of mice to expel the parasite.
• Previously a manual two year study by Jo had failed to do
this.
Workflows are protocols
Paul Fisher, myGrid, University of Manchester
Examples from myExperiment
OLS
PICR
Biomart and
Microarray
analysis
ChEBI
Rafael Jimenez
rafael@ebi.ac.uk
TavernaWorkflow Management System
Installing the workbench
Installing the Workbench
• Download the “Taverna 2.4 workbench” if not installed in
your computer
• http://www.taverna.org.uk/
• Open Taverna
• You do not have to complete the registration now. Click on “Do no
ask me again”.
Workflow
Diagram
Services Panel
Workflow
Explorer
Run workflow
Input
list
Input description
Input example
Input value
Output
tab
Results
List of
results
1. Workflow Explorer
• The Workflow Explorer is the primary editing
component within Taverna. Through it you can
load, save and edit any property of a workflow.
• The workflow explorer is also where you find
configuration details of services and advanced
options like iteration and looping. We will come
back to these things later
This is a modification of the original tutorial from Katy Wolstencroft
1. Workflow Diagram
The visual representation of workflow
• Shows inputs / outputs, services and control flows
• Allows editing of the workflow by dragging and dropping
and connecting services together
• Enables saving of workflow diagrams for publishing and
sharing
This is a modification of the original tutorial from Katy Wolstencroft
1. Available Services Panel
Lists services available by default in Taverna
• ~ 3500 services
• Local java services
• Simple web services
• Soaplab services – legacy command-line application
• R Processor
• BioMart database services
• BioMoby services
• Beanshell processor
Allows the user to add new services or workflows from the web or
from file systems
This is a modification of the original tutorial from Katy Wolstencroft
Rafael Jimenez
rafael@ebi.ac.uk
TavernaSimple PSICQUIC workflows with
Taverna
1. Open one PSICQUIC workflow
1. Open Taverna and click the “myExperiment” button.
myExperiment is a repository of workflows
2. In the “Query” field, type “psicquic”
3. Find the “Molecular Interactions from IntAct PSICQUIC service (REST)”
workflow and click on the “Open” button.
2. Run a PSICQUIC workflow
1. In the menu click on “File” and “Run workflow”
3. Define your query
1. Find and click the “Set value” button
2. Specify your MIQL query. i.e
• species:trypanosoma AND detmethod:"two hybrid"
3. Click on the button “Run workflow”
4. Check your results
1. In the bottom left corner, in the “MITAB” tab, click on “Value1”
5. Save results
1. Click on the “Save value” button on the bottom right corner.
Simple PSICQUIC workflow with Taverna
Simple PSICQUIC workflow with Taverna
Taverna with Perl
Use case
• We found a ready-to-use Taverna workflow to download molecular
interactions for a list of proteins from several databases.
• We interested to include this workflow in our perl pipeline.
Proposal
• We can use perl to execute the Taverna command line to run workflows
without the the graphical user interface.
Exercise
• Have a look to the proposed workflow and understand what it does
• http://www.myexperiment.org/workflows/2458.html
• Have a quick look to some of the examples provided in the
documentation for the Taverna command line tool
• http://www.taverna.org.uk/documentation/taverna-2-x/command-line-tool/2-4/
• How could you execute a taverna workflow from myExperiment?
Solution
• Look in the share folder for taverna.pl
13/12/2018
30
Do you need more examples ...
• http://www.ebi.ac.uk/~rafael/talks/2011-07-
19_workshop_proteomics_bioinfomratics/Taverna-
MyExperiment_Tutorial.ppt
Thank you!
13/12/2018
32
ProteomicsServicesTeam
#!/usr/bin/perl
use strict;
use warnings;
# Script to run a taverna workflow from myExperiment. In this case
# we use "http://www.myexperiment.org/workflows/2458.html"
# to download molecular interactions for a list of proteins
# from several databases.
# Query
my $listOfProteinAccessions = 'P99999,Q06609';
my $selectedServices = 'IntAct,BioGrid,DIP,MINT';
my $taverna = '/home/training/usr/java/taverna-workbench-2.4.0/executeworkflow.sh';
my $myExperiment = 'http://www.myexperiment.org/workflows/2458/download?version=1';
my $input = '-inputvalue listOfProteinAccessions "' . $listOfProteinAccessions . '" -inputvalue
selectedServices "' . $selectedServices . '"' ;
my $outputDir = 'results';
my $output = '-outputdir ' . $outputDir;
# Wait message
print "Please wait. This script is running and it might take some time.n";
# Command to execute.
my $command = 'sh ' . $taverna . ' "' . $myExperiment . '" ' . $input . ' ' .$output;
system($command);
# More about the Taverna command line:
# http://www.taverna.org.uk/documentation/taverna-2-x/command-line-tool/2-4/
13/12/2018
33

More Related Content

Similar to Taverna as a service

State of Puppet 2013 - Puppet Camp DC
State of Puppet 2013 - Puppet Camp DCState of Puppet 2013 - Puppet Camp DC
State of Puppet 2013 - Puppet Camp DC
Puppet
 
API-Testing-SOAPUI-1.pptx
API-Testing-SOAPUI-1.pptxAPI-Testing-SOAPUI-1.pptx
API-Testing-SOAPUI-1.pptx
amarnathdeo
 

Similar to Taverna as a service (20)

Taverna workflows in the cloud
Taverna workflows in the cloudTaverna workflows in the cloud
Taverna workflows in the cloud
 
Biocatalogue, FileQuirks, MyExperiment
Biocatalogue, FileQuirks, MyExperimentBiocatalogue, FileQuirks, MyExperiment
Biocatalogue, FileQuirks, MyExperiment
 
EOSC-Life Workflow Collaboratory
EOSC-Life Workflow CollaboratoryEOSC-Life Workflow Collaboratory
EOSC-Life Workflow Collaboratory
 
Apache NiFi: A Drag and Drop Approach
Apache NiFi: A Drag and Drop ApproachApache NiFi: A Drag and Drop Approach
Apache NiFi: A Drag and Drop Approach
 
State of Puppet 2013 - Puppet Camp DC
State of Puppet 2013 - Puppet Camp DCState of Puppet 2013 - Puppet Camp DC
State of Puppet 2013 - Puppet Camp DC
 
Puppet Keynote by Ralph Luchs
Puppet Keynote by Ralph LuchsPuppet Keynote by Ralph Luchs
Puppet Keynote by Ralph Luchs
 
Olist Architecture v2.0
Olist Architecture v2.0Olist Architecture v2.0
Olist Architecture v2.0
 
Webservices and Workflows. Taverna, Biocatalgue and myExperiment.
Webservices and Workflows. Taverna, Biocatalgue and myExperiment.Webservices and Workflows. Taverna, Biocatalgue and myExperiment.
Webservices and Workflows. Taverna, Biocatalgue and myExperiment.
 
Devtest: using Lean and Devops practices to bring QA and coders together by L...
Devtest: using Lean and Devops practices to bring QA and coders together by L...Devtest: using Lean and Devops practices to bring QA and coders together by L...
Devtest: using Lean and Devops practices to bring QA and coders together by L...
 
2014 Taverna tutorial introduction to Taverna workflows
2014 Taverna tutorial introduction to Taverna workflows2014 Taverna tutorial introduction to Taverna workflows
2014 Taverna tutorial introduction to Taverna workflows
 
Lecture 1: Introduction to JEE
Lecture 1:  Introduction to JEELecture 1:  Introduction to JEE
Lecture 1: Introduction to JEE
 
Intro to CakePHP
Intro to CakePHPIntro to CakePHP
Intro to CakePHP
 
ONAP on Vagrant
ONAP on VagrantONAP on Vagrant
ONAP on Vagrant
 
Whowas: Historical Whois Service
Whowas: Historical Whois ServiceWhowas: Historical Whois Service
Whowas: Historical Whois Service
 
Apereo OAE - Architectural overview
Apereo OAE - Architectural overviewApereo OAE - Architectural overview
Apereo OAE - Architectural overview
 
Module development
Module development Module development
Module development
 
API-Testing-SOAPUI-1.pptx
API-Testing-SOAPUI-1.pptxAPI-Testing-SOAPUI-1.pptx
API-Testing-SOAPUI-1.pptx
 
Data cleaning with the Kurator toolkit: Bridging the gap between conventional...
Data cleaning with the Kurator toolkit: Bridging the gap between conventional...Data cleaning with the Kurator toolkit: Bridging the gap between conventional...
Data cleaning with the Kurator toolkit: Bridging the gap between conventional...
 
Event Bus as Backbone for Decoupled Microservice Choreography - Lecture and W...
Event Bus as Backbone for Decoupled Microservice Choreography - Lecture and W...Event Bus as Backbone for Decoupled Microservice Choreography - Lecture and W...
Event Bus as Backbone for Decoupled Microservice Choreography - Lecture and W...
 
Introduction to Chef - Techsuperwomen Summit
Introduction to Chef - Techsuperwomen SummitIntroduction to Chef - Techsuperwomen Summit
Introduction to Chef - Techsuperwomen Summit
 

More from Rafael C. Jimenez

The European life-science data infrastructure: Data, Computing and Services ...
The European life-science data infrastructure: Data, Computing and Services ...The European life-science data infrastructure: Data, Computing and Services ...
The European life-science data infrastructure: Data, Computing and Services ...
Rafael C. Jimenez
 
Life science requirements from e-infrastructure: initial results from a joint...
Life science requirements from e-infrastructure:initial results from a joint...Life science requirements from e-infrastructure:initial results from a joint...
Life science requirements from e-infrastructure: initial results from a joint...
Rafael C. Jimenez
 

More from Rafael C. Jimenez (20)

BMB Resource Integration Workshop
BMB Resource Integration WorkshopBMB Resource Integration Workshop
BMB Resource Integration Workshop
 
ELIXIR
ELIXIRELIXIR
ELIXIR
 
Proteomics repositories integration using EUDAT resources
Proteomics repositories integration using EUDAT resourcesProteomics repositories integration using EUDAT resources
Proteomics repositories integration using EUDAT resources
 
ELIXIR
ELIXIRELIXIR
ELIXIR
 
Summary of Technical Coordinators discussions
Summary of Technical Coordinators discussionsSummary of Technical Coordinators discussions
Summary of Technical Coordinators discussions
 
ELIXIR
ELIXIRELIXIR
ELIXIR
 
The European life-science data infrastructure: Data, Computing and Services ...
The European life-science data infrastructure: Data, Computing and Services ...The European life-science data infrastructure: Data, Computing and Services ...
The European life-science data infrastructure: Data, Computing and Services ...
 
Standardisation in BMS European infrastructures
Standardisation in BMS European infrastructuresStandardisation in BMS European infrastructures
Standardisation in BMS European infrastructures
 
ELIXIR
ELIXIRELIXIR
ELIXIR
 
ELIXIR
ELIXIRELIXIR
ELIXIR
 
Standards
StandardsStandards
Standards
 
ELIXIR TCG update
ELIXIR TCG updateELIXIR TCG update
ELIXIR TCG update
 
Life science requirements from e-infrastructure: initial results from a joint...
Life science requirements from e-infrastructure:initial results from a joint...Life science requirements from e-infrastructure:initial results from a joint...
Life science requirements from e-infrastructure: initial results from a joint...
 
Technical activities in ELIXIR Europe
Technical activities in ELIXIR EuropeTechnical activities in ELIXIR Europe
Technical activities in ELIXIR Europe
 
Challenges of big data. Summary day 1.
Challenges of big data. Summary day 1.Challenges of big data. Summary day 1.
Challenges of big data. Summary day 1.
 
Challenges of big data. Aims of the workshop.
Challenges of big data. Aims of the workshop.Challenges of big data. Aims of the workshop.
Challenges of big data. Aims of the workshop.
 
Data submissions and archiving raw data in life sciences. A pilot with Proteo...
Data submissions and archiving raw data in life sciences. A pilot with Proteo...Data submissions and archiving raw data in life sciences. A pilot with Proteo...
Data submissions and archiving raw data in life sciences. A pilot with Proteo...
 
ELIXIR and data grand challenges in life sciences
ELIXIR and data grand challenges in life sciencesELIXIR and data grand challenges in life sciences
ELIXIR and data grand challenges in life sciences
 
SASI, A lightweight standard for exchanging course information
SASI, A lightweight standard for exchanging course informationSASI, A lightweight standard for exchanging course information
SASI, A lightweight standard for exchanging course information
 
ELIXIR
ELIXIRELIXIR
ELIXIR
 

Recently uploaded

Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
gajnagarg
 
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
vexqp
 
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
HyderabadDolls
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
nirzagarg
 
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
nirzagarg
 
Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...
Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...
Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...
HyderabadDolls
 
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
nirzagarg
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
gajnagarg
 
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
HyderabadDolls
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
gajnagarg
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 

Recently uploaded (20)

Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...
Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...
Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...
 
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Nandurbar [ 7014168258 ] Call Me For Genuine Models...
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
20240412-SmartCityIndex-2024-Full-Report.pdf
20240412-SmartCityIndex-2024-Full-Report.pdf20240412-SmartCityIndex-2024-Full-Report.pdf
20240412-SmartCityIndex-2024-Full-Report.pdf
 
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
 
Vastral Call Girls Book Now 7737669865 Top Class Escort Service Available
Vastral Call Girls Book Now 7737669865 Top Class Escort Service AvailableVastral Call Girls Book Now 7737669865 Top Class Escort Service Available
Vastral Call Girls Book Now 7737669865 Top Class Escort Service Available
 
7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt
 
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
Lake Town / Independent Kolkata Call Girls Phone No 8005736733 Elite Escort S...
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
 
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
 
Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...
Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...
Sonagachi * best call girls in Kolkata | ₹,9500 Pay Cash 8005736733 Free Home...
 
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
 
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
 
Case Study 4 Where the cry of rebellion happen?
Case Study 4 Where the cry of rebellion happen?Case Study 4 Where the cry of rebellion happen?
Case Study 4 Where the cry of rebellion happen?
 
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
 
💞 Safe And Secure Call Girls Agra Call Girls Service Just Call 🍑👄6378878445 🍑...
💞 Safe And Secure Call Girls Agra Call Girls Service Just Call 🍑👄6378878445 🍑...💞 Safe And Secure Call Girls Agra Call Girls Service Just Call 🍑👄6378878445 🍑...
💞 Safe And Secure Call Girls Agra Call Girls Service Just Call 🍑👄6378878445 🍑...
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 

Taverna as a service

  • 1. Taverna (as a service) Programmatic Access To Biological Databases (Perl) 1 – 4 October 2012 Rafael C. Jimenez rafael@ebi.ac.uk
  • 2. Introduction to Web Services at EBI Table of contents • Workflows • Web Services • myGrid solutions – Biocatalogue – Taverna – myExperiment • Installing Taverna • Simple PSICQUIC workflow with Taverna
  • 4. Introduction to Web Services at EBI Workflow • Workflow • Sequence of tasks that produces a result of observable value • Workflow management system • Computer system to compose and execute workflows. • Workflow components • Input • Service • Output • Shims Workflow Task Output Service Input Task Output Service Input
  • 5. Introduction to Web Services at EBI Workflow • Workflow • Sequence of tasks that produces a result of observable value • Workflow management system • Computer system to compose and execute workflows. • Workflow components • Input • Service • Output • Shims Service A Service B
  • 6. MatchMismatch Shims: Connecting services Service A Service B Service A Service B • Convert data formats and act as connectors
  • 7. Type of services • Data Resources • Analysis tools • Web Services • SOAP • REST • APIs (application programming interface) • Grid Services • Local scripts • Local software • Workflows
  • 8. Create and run workflows Share, discover and reuse workflows Discover and reuse services myGrid solutions
  • 9. • A public centralised and curated registry of Life Science Web Services • ‘Web 2.0’-style website and API • Allow anyone to register, discover and curate Web Services • Community oriented with expert guidance • Open content, open source, open platform Paul Fisher, myGrid, University of Manchester Biocatalogue http://www.biocatalogue.org
  • 12. Workflow diagram Tree view of workflow structure Available services Taverna • Workflow management system • Java desktop application • Open source and extensible • Includes access to Biocatalogue and myExperiment • http://www.taverna.org.uk/
  • 13. 1. Available Services Panel Lists services available by default in Taverna • ~ 3500 services • Local java services • Simple web services • Soaplab services – legacy command-line application • R Processor • BioMart database services • BioMoby services • Beanshell processor Allows the user to add new services or workflows from the web or from file systems This is a modification of the original tutorial from Katy Wolstencroft
  • 14. Sharing Experiments • You can share results/experiments/experiences with your • Research group • Collaborators • Scientific community Paul Fisher, myGrid, University of Manchester A registry of workflows
  • 16. Recycling, Reuse, Repurposing • Paul writes workflows for identifying biological pathways implicated in resistance to Trypanosomiasis • Paul meets Jo. Jo is investigating mouse Whipworm infection. • Jo reuses one of Paul’s workflows. • Jo identifies the biological pathways involved in sex dependence in the mouse model, believed to be involved in the ability of mice to expel the parasite. • Previously a manual two year study by Jo had failed to do this. Workflows are protocols Paul Fisher, myGrid, University of Manchester
  • 17. Examples from myExperiment OLS PICR Biomart and Microarray analysis ChEBI
  • 19. Installing the Workbench • Download the “Taverna 2.4 workbench” if not installed in your computer • http://www.taverna.org.uk/ • Open Taverna • You do not have to complete the registration now. Click on “Do no ask me again”.
  • 23. 1. Workflow Explorer • The Workflow Explorer is the primary editing component within Taverna. Through it you can load, save and edit any property of a workflow. • The workflow explorer is also where you find configuration details of services and advanced options like iteration and looping. We will come back to these things later This is a modification of the original tutorial from Katy Wolstencroft
  • 24. 1. Workflow Diagram The visual representation of workflow • Shows inputs / outputs, services and control flows • Allows editing of the workflow by dragging and dropping and connecting services together • Enables saving of workflow diagrams for publishing and sharing This is a modification of the original tutorial from Katy Wolstencroft
  • 25. 1. Available Services Panel Lists services available by default in Taverna • ~ 3500 services • Local java services • Simple web services • Soaplab services – legacy command-line application • R Processor • BioMart database services • BioMoby services • Beanshell processor Allows the user to add new services or workflows from the web or from file systems This is a modification of the original tutorial from Katy Wolstencroft
  • 27. 1. Open one PSICQUIC workflow 1. Open Taverna and click the “myExperiment” button. myExperiment is a repository of workflows 2. In the “Query” field, type “psicquic” 3. Find the “Molecular Interactions from IntAct PSICQUIC service (REST)” workflow and click on the “Open” button. 2. Run a PSICQUIC workflow 1. In the menu click on “File” and “Run workflow” 3. Define your query 1. Find and click the “Set value” button 2. Specify your MIQL query. i.e • species:trypanosoma AND detmethod:"two hybrid" 3. Click on the button “Run workflow” 4. Check your results 1. In the bottom left corner, in the “MITAB” tab, click on “Value1” 5. Save results 1. Click on the “Save value” button on the bottom right corner. Simple PSICQUIC workflow with Taverna
  • 28. Simple PSICQUIC workflow with Taverna
  • 29. Taverna with Perl Use case • We found a ready-to-use Taverna workflow to download molecular interactions for a list of proteins from several databases. • We interested to include this workflow in our perl pipeline. Proposal • We can use perl to execute the Taverna command line to run workflows without the the graphical user interface. Exercise • Have a look to the proposed workflow and understand what it does • http://www.myexperiment.org/workflows/2458.html • Have a quick look to some of the examples provided in the documentation for the Taverna command line tool • http://www.taverna.org.uk/documentation/taverna-2-x/command-line-tool/2-4/ • How could you execute a taverna workflow from myExperiment? Solution • Look in the share folder for taverna.pl 13/12/2018 30
  • 30. Do you need more examples ... • http://www.ebi.ac.uk/~rafael/talks/2011-07- 19_workshop_proteomics_bioinfomratics/Taverna- MyExperiment_Tutorial.ppt
  • 32. #!/usr/bin/perl use strict; use warnings; # Script to run a taverna workflow from myExperiment. In this case # we use "http://www.myexperiment.org/workflows/2458.html" # to download molecular interactions for a list of proteins # from several databases. # Query my $listOfProteinAccessions = 'P99999,Q06609'; my $selectedServices = 'IntAct,BioGrid,DIP,MINT'; my $taverna = '/home/training/usr/java/taverna-workbench-2.4.0/executeworkflow.sh'; my $myExperiment = 'http://www.myexperiment.org/workflows/2458/download?version=1'; my $input = '-inputvalue listOfProteinAccessions "' . $listOfProteinAccessions . '" -inputvalue selectedServices "' . $selectedServices . '"' ; my $outputDir = 'results'; my $output = '-outputdir ' . $outputDir; # Wait message print "Please wait. This script is running and it might take some time.n"; # Command to execute. my $command = 'sh ' . $taverna . ' "' . $myExperiment . '" ' . $input . ' ' .$output; system($command); # More about the Taverna command line: # http://www.taverna.org.uk/documentation/taverna-2-x/command-line-tool/2-4/ 13/12/2018 33