SlideShare a Scribd company logo
1 of 28
Download to read offline
OPPL-Galaxy: Enhancing 
 ontology exploitation in 
   Galaxy with OPPL
                         Mikel Egaña Aranguren (megana@fi.upm.es)
                                 Ontology Engineering Group
                                 School of Computer Science
                                         UPM, Spain

                      Jesualdo Tomás Fernández-Breis (jfernand@um.es)
                                 School of Computer Science
                                         UM, Spain

                         Erick Antezana (erick.antezana@bio.ntnu.no)
                                    Department of Biology
                                       NTNU, Norway

http://www.slideshare.net/MikelEganaAranguren/opplgalaxy-enhancing-ontology-exploitation-in-
                                      galaxy-with-oppl



                                                                                         9/12/2011
Index


              What is OPPL-Galaxy?

                   Use cases

                 Implementation

                   Availability

                  Conclusions



OPPL-Galaxy
What is OPPL-Galaxy?




OPPL-Galaxy
What is OPPL-Galaxy


               Ontology Pre Processor Language (OPPL)


               Scripting Language for automating ontology manipulation 


                   ?whole:CLASS,
                   ?part:CLASS
                   SELECT ?part SubClassOf part_of some ?whole
Ontology           WHERE ?part != Nothing                                 New ontology
                   BEGIN
                   ADD ?part SubClassOf part_of only ?whole
                   END;




 OPPL-Galaxy
What is OPPL-Galaxy
 Galaxy




Jeremy Goecks, Anton Nekrutenko, James Taylor, and The Galaxy
    Team. Galaxy: a comprehensive approach for supporting accessible,
    reproducible, and transparent computational research in the life
    sciences. Genome Biology, 11(8):R86+, 2010.
    OPPL-Galaxy
What is OPPL-Galaxy
 Galaxy




Jeremy Goecks, Anton Nekrutenko, James Taylor, and The Galaxy
    Team. Galaxy: a comprehensive approach for supporting accessible,
    reproducible, and transparent computational research in the life
    sciences. Genome Biology, 11(8):R86+, 2010.
    OPPL-Galaxy
What is OPPL-Galaxy

                   Ontology refactoring (Axiomatic enrichment, ODPs, … )
              OPPL Detection of structures (Antipatterns, … )
                   Advanced querying (Reasoning+regexps, …)
                   Ontology trimming




OPPL-Galaxy
What is OPPL-Galaxy

                    Ontology refactoring (Axiomatic enrichment, ODPs, … )
               OPPL Detection of structures (Antipatterns, … )
                    Advanced querying (Reasoning+regexps, …)
                    Ontology trimming



                     Analysis history
                     Analysis shareability
              Galaxy
                     Combinations of tools
                     Complex workflows




OPPL-Galaxy
What is OPPL-Galaxy

                    Ontology refactoring (Axiomatic enrichment, ODPs, … )
               OPPL Detection of structures (Antipatterns, … )
                    Advanced querying (Reasoning+regexps, …)
                    Ontology trimming



                     Analysis history
                     Analysis shareability
              Galaxy
                     Combinations of tools
                     Complex workflows




OPPL-Galaxy
What is OPPL-Galaxy
              Ontology         User        OPPL script




                         Ontology         User

OPPL-Galaxy
Use cases
        
              http://miuras.inf.um.es/OPPL-Galaxy




OPPL-Galaxy
Workflows
                Gene Ontology 
Gene            Annotation file (GOA)
Ontology (GO)




OPPL 
script 1




OPPL 
script 2


                Onto-toolkit


 OPPL-Galaxy
Workflows
      GO
                                                                                                                            GO
                                                       OPPL-Galaxy

                                                       OPPL 2
OPPL 1                                                 ?hepatocyte_process:CLASS,
                                                       ?hepatocyte_process_label:CONSTANT = MATCH(".?hepatocyte.+"),
?localisation_sibling:CLASS
                                                       ?has_part_hepatocyte_process:CLASS,
SELECT
                                                       ?part_of_or_regulates:OBJECTPROPERTY
ASSERTED ?localisation_sibling SubClassOf GO_0008150
                                                       SELECT
WHERE ?localisation_sibling != GO_0051179
                                                       ASSERTED ?hepatocyte_process.IRI label ?hepatocyte_process_label,
BEGIN
                                                       ?hepatocyte_process subClassOf ?part_of_or_regulates some
ADD ?localisation_sibling DisjointWith GO_0051179
                                                       (?has_part_hepatocyte_process and not GO_0051179)
END;
                                                       WHERE ?hepatocyte_process != GO_0008150
                                                       BEGIN
                                                       ADD ?hepatocyte_process subClassOf !actsOn some
                                                       ?has_part_hepatocyte_process
                                                       END;




                                                                                                                            OPPL-Galaxy


                        P12235                                                                                                      GO
                        P19971                          Onto-toolkit

                                                                                                               GOA
                                                                                                               UniProtKB   P12235   SLC25A4   GO:0000002
                                                                                                               UniProtKB   P19971   TYMP      GO:0000002
                                                                                                               UniProtKB   P36776   LONP1     GO:0000002
                                                                                                               UniProtKB   P39210   MPV17     GO:0000002




   OPPL-Galaxy
Ontology debugging
BioPAX
              ?target:CLASS,
              ?prop:OBJECTPROPERTY,
              ?filler:CLASS
              SELECT ASSERTED ?target SubClassOf
              ?prop only ?filler
              WHERE FAIL ?target SubClassOf
              ?prop some ?filler
              BEGIN
              ADD ?target SubClassOf
              !OnlyBadPracticeResult
              END;




               Alan Rector, Nick Drummond, Matthew Horridge, 
               Jeremy Rogers, Holger Knublauch, Robert Stevens, 
               Hai Wang, and Chris Wroe. OWL pizzas: Practical 
               experience of teaching OWL-DL: Common errors 
               and common patterns. In LNCS 3257, 2004.
OPPL-Galaxy
Ontology debugging
BioPAX
              ?target:CLASS,
              ?prop:OBJECTPROPERTY,
              ?filler:CLASS
              SELECT ASSERTED ?target SubClassOf
              ?prop only ?filler
              WHERE FAIL ?target SubClassOf
              ?prop some ?filler
              BEGIN
              ADD ?target SubClassOf
              !OnlyBadPracticeResult
              END;




                  !!!


               Alan Rector, Nick Drummond, Matthew Horridge, 
               Jeremy Rogers, Holger Knublauch, Robert Stevens, 
               Hai Wang, and Chris Wroe. OWL pizzas: Practical 
               experience of teaching OWL-DL: Common errors 
               and common patterns. In LNCS 3257, 2004.
OPPL-Galaxy
Refactoring: OBO2OWL puning


                                                     .                                   .


                                                .                                .


                                                          .                                  .
                                                .                                .


  OBO         OWL                         OWL (Punned)                  OWL (Punned, triples)
              ?x:CLASS,                                  ?x:CLASS,
              ?y:INDIVIDUAL = create(?x.RENDERING)       ?y:INDIVIDUAL,
              SELECT ?x SubClassOf Thing                 ?z:CLASS,
              WHERE ?x != Nothing, ?x != Thing           ?w:INDIVIDUAL,
              BEGIN                                      ?p:OBJECTPROPERTY
              ADD ?y Type ?x                             SELECT ASSERTED ?x SubClassOf ?p some ?z,
              END;                                       ASSERTED ?y Type ?x, ASSERTED ?w Type ?z
                                                         WHERE ?x != Nothing, ?x != Thing
                                                         BEGIN
                                                         ADD ?y ?p ?w
                                                         END;




OPPL-Galaxy
Refactoring: application of ODPs

Person subClassOf hasheight some high




                                    ?x:CLASS,
                                    ?y:OBJECTPROPERTY = MATCH("has((w+))"),
                                    ?z:CLASS,
                                    ?feature:CLASS = create(?y.GROUPS(1))
                                    SELECT ASSERTED ?x subClassOf ?y some ?z
                                    BEGIN
                                    REMOVE ?x subClassOf ?y some ?z,
                                    ADD ?x subClassOf !hasFeature some
                                    (?feature and !hasValue some ?z)
                                    END;




Person subClassOf hasFeature some (height and hasValue some high)




                                            Ondrej Sváb-Zamazal, Vojtech Svátek, Luigi Iannone: Pattern-Based Ontology 
                                            Transformation Service Exploiting OPPL and OWL-API. EKAW 2010

                                            http://www.gong.manchester.ac.uk/odp/html/Entity_Feature_Value.html
OPPL-Galaxy
Implementation




OPPL-Galaxy
Implementation


URI mapping file (If imports)

Input ontology: OWL, OBO, ...

OPPL flat file

Output ontology: OWL (RDF/XML) or OBO

Add inferred subsumptions as assertions

Merge ontologies (If imports)

Reasoner: Pellet, FaCT++, HermiT




 OPPL-Galaxy
Implementation




              OPPL API
              OWL API
              Reasoner




              OPPL wrapper

                Galaxy


OPPL-Galaxy
Implementation




                            OPPL API
                            OWL API
                            Reasoner

  Ontology

  OPPL 
  options

  ?whole:CLASS,
  ?part:CLASS
  SELECT ?part SubClassOf
  part_of some ?whole
  WHERE ?part != Nothing
  BEGIN
                            OPPL wrapper
  ADD ?part SubClassOf
  part_of only ?whole
  END;

                              Galaxy


OPPL-Galaxy
Implementation




                            OPPL API
                            OWL API
                            Reasoner

  Ontology

  OPPL 
  options

  ?whole:CLASS,
  ?part:CLASS
  SELECT ?part SubClassOf
  part_of some ?whole
  WHERE ?part != Nothing
  BEGIN
                            OPPL wrapper
  ADD ?part SubClassOf
  part_of only ?whole
  END;

                              Galaxy


OPPL-Galaxy
Implementation




                                                             Galaxy tools

                            OPPL API
                            OWL API        Modified 
                                           ontology          Download
                            Reasoner                         ontology

  Ontology

  OPPL 
  options

  ?whole:CLASS,
  ?part:CLASS
  SELECT ?part SubClassOf
  part_of some ?whole
  WHERE ?part != Nothing
  BEGIN
                            OPPL wrapper
  ADD ?part SubClassOf
  part_of only ?whole
  END;

                              Galaxy


OPPL-Galaxy
Availability




OPPL-Galaxy
Availability

        OPPL-Galaxy at Galaxy tool shed
                Ontology manipulation: http://toolshed.g2.bx.psu.edu/ 

        OPPL-Galaxy source
                http://toolshed.g2.bx.psu.edu/repos/mikel-egana-aranguren/oppl 
        
        Public Galaxy instance with OPPL-Galaxy
              http://sele.inf.um.es:8080/

        OPPL scripts: 
              http://oppl2.sourceforge.net/taggedexamples/

        OPPL-Galaxy works in UNIX (Mac OS X, GNU/Linux)

        OPPL-Galaxy is GPL



OPPL-Galaxy
Conclusions




OPPL-Galaxy
Conclusions

       OPPL: automate ontology manipulation

       OPPL-Galaxy: exploit automated ontology manipulation: 
       In combination with other genomics tools
       In complex workflows
       History, shared execution, reproduce execution, …  

       Ontology refactoring, complex querying, ontology pruning, …

       Inference

       Ultimately, automate ontology manipulation in a “natural” 
         environment for biologists




OPPL-Galaxy
Acknowledgements

       Mikel Egaña Aranguren is funded by the Marie Curie Cofund 
        programme (FP7) 

       Jesualdo Tomás Fernández Breis is funded by the Spanish 
         Ministry of Science and Innovation (Grant TIN2010-21388-
         C02-02)




OPPL-Galaxy

More Related Content

More from Mikel Egaña Aranguren, Ph.D.

More from Mikel Egaña Aranguren, Ph.D. (9)

Life Sciences Linked Data
Life Sciences Linked DataLife Sciences Linked Data
Life Sciences Linked Data
 
Populous swat4ls slides_slideshare
Populous swat4ls slides_slidesharePopulous swat4ls slides_slideshare
Populous swat4ls slides_slideshare
 
Linked data functional genomics
Linked data functional genomicsLinked data functional genomics
Linked data functional genomics
 
Medioambiente Linked Data
Medioambiente Linked DataMedioambiente Linked Data
Medioambiente Linked Data
 
Applying sw mikel_egana
Applying sw mikel_eganaApplying sw mikel_egana
Applying sw mikel_egana
 
Mikel egana itbam_2010_ogo_system
Mikel egana itbam_2010_ogo_systemMikel egana itbam_2010_ogo_system
Mikel egana itbam_2010_ogo_system
 
Aplicación de la Web Semántica en Bioinformática
Aplicación de la Web Semántica en BioinformáticaAplicación de la Web Semántica en Bioinformática
Aplicación de la Web Semántica en Bioinformática
 
Métodos y Resultados Actuales en Bioinformática: know-how y know-what de las ...
Métodos y Resultados Actuales en Bioinformática: know-how y know-what de las ...Métodos y Resultados Actuales en Bioinformática: know-how y know-what de las ...
Métodos y Resultados Actuales en Bioinformática: know-how y know-what de las ...
 
Ontology Design Patterns (ODPs) for bio-ontologies
Ontology Design Patterns (ODPs) for bio-ontologiesOntology Design Patterns (ODPs) for bio-ontologies
Ontology Design Patterns (ODPs) for bio-ontologies
 

Recently uploaded

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 

Recently uploaded (20)

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 

OPPL-Galaxy: Enhancing ontology exploitation in Galaxy with OPPL

  • 1. OPPL-Galaxy: Enhancing  ontology exploitation in  Galaxy with OPPL Mikel Egaña Aranguren (megana@fi.upm.es) Ontology Engineering Group School of Computer Science UPM, Spain Jesualdo Tomás Fernández-Breis (jfernand@um.es) School of Computer Science UM, Spain Erick Antezana (erick.antezana@bio.ntnu.no) Department of Biology NTNU, Norway http://www.slideshare.net/MikelEganaAranguren/opplgalaxy-enhancing-ontology-exploitation-in- galaxy-with-oppl 9/12/2011
  • 2. Index What is OPPL-Galaxy? Use cases Implementation Availability Conclusions OPPL-Galaxy
  • 4. What is OPPL-Galaxy Ontology Pre Processor Language (OPPL) Scripting Language for automating ontology manipulation  ?whole:CLASS, ?part:CLASS SELECT ?part SubClassOf part_of some ?whole Ontology WHERE ?part != Nothing New ontology BEGIN ADD ?part SubClassOf part_of only ?whole END; OPPL-Galaxy
  • 7. What is OPPL-Galaxy Ontology refactoring (Axiomatic enrichment, ODPs, … ) OPPL Detection of structures (Antipatterns, … ) Advanced querying (Reasoning+regexps, …) Ontology trimming OPPL-Galaxy
  • 8. What is OPPL-Galaxy Ontology refactoring (Axiomatic enrichment, ODPs, … ) OPPL Detection of structures (Antipatterns, … ) Advanced querying (Reasoning+regexps, …) Ontology trimming Analysis history Analysis shareability Galaxy Combinations of tools Complex workflows OPPL-Galaxy
  • 9. What is OPPL-Galaxy Ontology refactoring (Axiomatic enrichment, ODPs, … ) OPPL Detection of structures (Antipatterns, … ) Advanced querying (Reasoning+regexps, …) Ontology trimming Analysis history Analysis shareability Galaxy Combinations of tools Complex workflows OPPL-Galaxy
  • 10. What is OPPL-Galaxy Ontology User OPPL script Ontology User OPPL-Galaxy
  • 11. Use cases   http://miuras.inf.um.es/OPPL-Galaxy OPPL-Galaxy
  • 12. Workflows Gene Ontology  Gene Annotation file (GOA) Ontology (GO) OPPL  script 1 OPPL  script 2 Onto-toolkit OPPL-Galaxy
  • 13. Workflows GO GO OPPL-Galaxy OPPL 2 OPPL 1 ?hepatocyte_process:CLASS, ?hepatocyte_process_label:CONSTANT = MATCH(".?hepatocyte.+"), ?localisation_sibling:CLASS ?has_part_hepatocyte_process:CLASS, SELECT ?part_of_or_regulates:OBJECTPROPERTY ASSERTED ?localisation_sibling SubClassOf GO_0008150 SELECT WHERE ?localisation_sibling != GO_0051179 ASSERTED ?hepatocyte_process.IRI label ?hepatocyte_process_label, BEGIN ?hepatocyte_process subClassOf ?part_of_or_regulates some ADD ?localisation_sibling DisjointWith GO_0051179 (?has_part_hepatocyte_process and not GO_0051179) END; WHERE ?hepatocyte_process != GO_0008150 BEGIN ADD ?hepatocyte_process subClassOf !actsOn some ?has_part_hepatocyte_process END; OPPL-Galaxy P12235 GO P19971 Onto-toolkit GOA UniProtKB P12235 SLC25A4 GO:0000002 UniProtKB P19971 TYMP GO:0000002 UniProtKB P36776 LONP1 GO:0000002 UniProtKB P39210 MPV17 GO:0000002 OPPL-Galaxy
  • 14. Ontology debugging BioPAX ?target:CLASS, ?prop:OBJECTPROPERTY, ?filler:CLASS SELECT ASSERTED ?target SubClassOf ?prop only ?filler WHERE FAIL ?target SubClassOf ?prop some ?filler BEGIN ADD ?target SubClassOf !OnlyBadPracticeResult END; Alan Rector, Nick Drummond, Matthew Horridge,  Jeremy Rogers, Holger Knublauch, Robert Stevens,  Hai Wang, and Chris Wroe. OWL pizzas: Practical  experience of teaching OWL-DL: Common errors  and common patterns. In LNCS 3257, 2004. OPPL-Galaxy
  • 15. Ontology debugging BioPAX ?target:CLASS, ?prop:OBJECTPROPERTY, ?filler:CLASS SELECT ASSERTED ?target SubClassOf ?prop only ?filler WHERE FAIL ?target SubClassOf ?prop some ?filler BEGIN ADD ?target SubClassOf !OnlyBadPracticeResult END; !!! Alan Rector, Nick Drummond, Matthew Horridge,  Jeremy Rogers, Holger Knublauch, Robert Stevens,  Hai Wang, and Chris Wroe. OWL pizzas: Practical  experience of teaching OWL-DL: Common errors  and common patterns. In LNCS 3257, 2004. OPPL-Galaxy
  • 16. Refactoring: OBO2OWL puning . . . . . . . . OBO OWL OWL (Punned) OWL (Punned, triples) ?x:CLASS, ?x:CLASS, ?y:INDIVIDUAL = create(?x.RENDERING) ?y:INDIVIDUAL, SELECT ?x SubClassOf Thing ?z:CLASS, WHERE ?x != Nothing, ?x != Thing ?w:INDIVIDUAL, BEGIN ?p:OBJECTPROPERTY ADD ?y Type ?x SELECT ASSERTED ?x SubClassOf ?p some ?z, END; ASSERTED ?y Type ?x, ASSERTED ?w Type ?z WHERE ?x != Nothing, ?x != Thing BEGIN ADD ?y ?p ?w END; OPPL-Galaxy
  • 17. Refactoring: application of ODPs Person subClassOf hasheight some high ?x:CLASS, ?y:OBJECTPROPERTY = MATCH("has((w+))"), ?z:CLASS, ?feature:CLASS = create(?y.GROUPS(1)) SELECT ASSERTED ?x subClassOf ?y some ?z BEGIN REMOVE ?x subClassOf ?y some ?z, ADD ?x subClassOf !hasFeature some (?feature and !hasValue some ?z) END; Person subClassOf hasFeature some (height and hasValue some high) Ondrej Sváb-Zamazal, Vojtech Svátek, Luigi Iannone: Pattern-Based Ontology  Transformation Service Exploiting OPPL and OWL-API. EKAW 2010 http://www.gong.manchester.ac.uk/odp/html/Entity_Feature_Value.html OPPL-Galaxy
  • 20. Implementation OPPL API OWL API Reasoner OPPL wrapper Galaxy OPPL-Galaxy
  • 21. Implementation OPPL API OWL API Reasoner Ontology OPPL  options ?whole:CLASS, ?part:CLASS SELECT ?part SubClassOf part_of some ?whole WHERE ?part != Nothing BEGIN OPPL wrapper ADD ?part SubClassOf part_of only ?whole END; Galaxy OPPL-Galaxy
  • 22. Implementation OPPL API OWL API Reasoner Ontology OPPL  options ?whole:CLASS, ?part:CLASS SELECT ?part SubClassOf part_of some ?whole WHERE ?part != Nothing BEGIN OPPL wrapper ADD ?part SubClassOf part_of only ?whole END; Galaxy OPPL-Galaxy
  • 23. Implementation Galaxy tools OPPL API OWL API Modified  ontology Download Reasoner ontology Ontology OPPL  options ?whole:CLASS, ?part:CLASS SELECT ?part SubClassOf part_of some ?whole WHERE ?part != Nothing BEGIN OPPL wrapper ADD ?part SubClassOf part_of only ?whole END; Galaxy OPPL-Galaxy
  • 25. Availability  OPPL-Galaxy at Galaxy tool shed   Ontology manipulation: http://toolshed.g2.bx.psu.edu/   OPPL-Galaxy source   http://toolshed.g2.bx.psu.edu/repos/mikel-egana-aranguren/oppl     Public Galaxy instance with OPPL-Galaxy http://sele.inf.um.es:8080/  OPPL scripts:  http://oppl2.sourceforge.net/taggedexamples/  OPPL-Galaxy works in UNIX (Mac OS X, GNU/Linux)  OPPL-Galaxy is GPL OPPL-Galaxy
  • 27. Conclusions OPPL: automate ontology manipulation OPPL-Galaxy: exploit automated ontology manipulation:  In combination with other genomics tools In complex workflows History, shared execution, reproduce execution, …   Ontology refactoring, complex querying, ontology pruning, … Inference Ultimately, automate ontology manipulation in a “natural”  environment for biologists OPPL-Galaxy
  • 28. Acknowledgements Mikel Egaña Aranguren is funded by the Marie Curie Cofund  programme (FP7)  Jesualdo Tomás Fernández Breis is funded by the Spanish  Ministry of Science and Innovation (Grant TIN2010-21388- C02-02) OPPL-Galaxy