Presentation is loading. Please wait.

Presentation is loading. Please wait.

European Life Sciences Infrastructure for Biological Information www.elixir-europe.org Rafael C Jimenez ELIXIR CTO EMBL-EBI workshop networks and pathways.

Similar presentations


Presentation on theme: "European Life Sciences Infrastructure for Biological Information www.elixir-europe.org Rafael C Jimenez ELIXIR CTO EMBL-EBI workshop networks and pathways."— Presentation transcript:

1 European Life Sciences Infrastructure for Biological Information www.elixir-europe.org Rafael C Jimenez ELIXIR CTO EMBL-EBI workshop networks and pathways 2014, Friday 23 June An introduction to programmatic access

2 Query interfaces 2 Graphical User Interface (GUI) FTP access Database access Application Programmatic Interface (API) Data Web Services Biologist Bioinformaticians Developers remote resource

3 Query interfaces 3 Graphical User Interface (GUI) FTP access Database access Application Programmatic Interface (API) Data Web Services Interface:A program that allows users to interact with a system API:An interface that can be accessed using a specific programing language Web service:A web API available for multiple programming languages This introduction is intended for a non technical audience with purposely simplified technical concepts. remote resource

4 Web Services Service on the server side providing functionality It is accessible over a network (Internet) It is meant for machine to machine communication Independent from programming languages It can be operated following specific rules (protocols: REST or SOAP) This introduction is intended for a non technical audience with purposely simplified technical concepts.

5 Web Services How should I invoke you? Documentation Make a request Results Web server Application Web Service describes the methods and variables to query the service 1 1 2 2 3 3 4 4 2 2 User/Developer Client

6 REST Web Services How should I invoke you? Documentation Make a request ( GET or POST ) Results ( data + status ) Web server Web Service Sometimes a WADL file is available in the server to describe the service 1 1 2 2 3 3 4 4 2 2 WADL or Informal Description Formal Description Application Developer Client

7 SOAP Web Services How should I invoke you? Documentation ( WSDL ) Make a SOAP request Web server Web Service 1 1 2 2 3 3 WSDL Method / ParametersData 4 4 3 3 4 4 SOAP requestSOAP response and Informal Description Formal Description Results ( SOAP response ) Application Developer

8 SOAP vs. REST 8 REST Geared to simplicity. A browser can be a client. Request as complex as a URL can be. REST query: http://www.ebi.ac.uk/…/query/P99999?format=xml25http://www.ebi.ac.uk/…/query/P99999?format=xml25 WADL: http://www.ebi.ac.uk/…/current?_wadlhttp://www.ebi.ac.uk/…/current?_wadl SOAP Based on Standards. Only accessed by specialized software. Allow description of complex data structure in request and response. SOAP REST WSDL: http://www.ebi.ac.uk/…/psicquic?wsdlhttp://www.ebi.ac.uk/…/psicquic?wsdl

9 PSICQUIC REST queries Bruno Aranda (baranda@ebi.ac.uk) http://mint.bio.uniroma2.it/ mint /psicquic/webservices/current/search/ query / p53 http://www.ebi.ac.uk/Tools/webservices/psicquic/ intact /webservices/current/search/ query / p53 http://www.ebi.ac.uk/Tools/webservices/psicquic/ chembl /webservices/current/search/ query / p53 1 2 3

10 MIQL Bruno Aranda (baranda@ebi.ac.uk)

11 MIQL …/query/ specie:rat …/query/ brca AND rpa1 Terms Fields Operands

12 PSICQUIC SOAP service species:trypanosoma AND detmethod:’two hybrid’

13 European Life Sciences Infrastructure for Biological Information www.elixir-europe.org Workflows

14 Introduction to Web Services at EBI 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

15 Match Mismatch Shims: Connecting services Shim Service A Service B Service A Service B Convert data formats and act as connectors

16 European Life Sciences Infrastructure for Biological Information www.elixir-europe.org MyGrid

17 Create and run workflows Share, discover and reuse workflows Discover and reuse services myGrid solutions

18 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

19 BioCatalogue’s Mission 5/13/2015 19

20 Service Search

21 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/

22 Sharing Experiments You can share results/experiments/experiences with your – Research group – Collaborators – Scientific community A registry of workflows Paul Fisher, myGrid, University of Manchester

23 myExperiment http://www.myexperiment.org/

24 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

25 Examples from myExperiment OLS PICR Biomart and Microarray analysis ChEBI

26 European Life Sciences Infrastructure for Biological Information www.elixir-europe.org Taverna

27 Workflow Diagram Services Panel Workflow Explorer Run workflow

28 Input list Input description Input example Input value

29 Output tab Results display List of results

30 Installing the Workbench Download the Taverna 2.5 workbench from http://www.taverna.org.uk/ http://www.taverna.org.uk/ Install Taverna Open Taverna Start / All programs / Taverna / Taverna Workbench 2.5 You do not have to complete the registration now. Click on “Do no ask me again”.

31 European Life Sciences Infrastructure for Biological Information www.elixir-europe.org Tutorial myExperiment & Taverna

32 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 to query IntAct

33 Workflow results

34 Make your own workflow, reuse workflows Look at the following workflows: Get a list of Protein Identification experiments from PRIDE by a Gene Ontology query http://www.myexperiment.org/workflows/2746.html http://www.myexperiment.org/workflows/2746.html Get a list of proteins annotated with an Ontology term and use these proteins to query BioModels http://www.myexperiment.org/workflows/3113.html http://www.myexperiment.org/workflows/3113.html Create a similar workflow to retrieve molecular interactions from IntAct using a GO term as input. Reuse one of the previous workflows and connect it with one of the following workflows: Retrieve Molecular Interactions from PSICQUIC Services: http://www.myexperiment.org/workflows/2153.html http://www.myexperiment.org/workflows/1799.html http://www.myexperiment.org/workflows/2458.html http://www.myexperiment.org/workflows/2153.html http://www.myexperiment.org/workflows/1799.html http://www.myexperiment.org/workflows/2458.html

35 European Life Sciences Infrastructure for Biological Information www.elixir-europe.org Thank you


Download ppt "European Life Sciences Infrastructure for Biological Information www.elixir-europe.org Rafael C Jimenez ELIXIR CTO EMBL-EBI workshop networks and pathways."

Similar presentations


Ads by Google