Cargando…

Distilling structure in Taverna scientific workflows: a refactoring approach

BACKGROUND: Scientific workflows management systems are increasingly used to specify and manage bioinformatics experiments. Their programming model appeals to bioinformaticians, who can use them to easily specify complex data processing pipelines. Such a model is underpinned by a graph structure, wh...

Descripción completa

Detalles Bibliográficos
Autores principales: Cohen-Boulakia, Sarah, Chen, Jiuqiang, Missier, Paolo, Goble, Carole, Williams, Alan R, Froidevaux, Christine
Formato: Online Artículo Texto
Lenguaje:English
Publicado: BioMed Central 2014
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4016501/
https://www.ncbi.nlm.nih.gov/pubmed/24564760
http://dx.doi.org/10.1186/1471-2105-15-S1-S12
_version_ 1782315507323502592
author Cohen-Boulakia, Sarah
Chen, Jiuqiang
Missier, Paolo
Goble, Carole
Williams, Alan R
Froidevaux, Christine
author_facet Cohen-Boulakia, Sarah
Chen, Jiuqiang
Missier, Paolo
Goble, Carole
Williams, Alan R
Froidevaux, Christine
author_sort Cohen-Boulakia, Sarah
collection PubMed
description BACKGROUND: Scientific workflows management systems are increasingly used to specify and manage bioinformatics experiments. Their programming model appeals to bioinformaticians, who can use them to easily specify complex data processing pipelines. Such a model is underpinned by a graph structure, where nodes represent bioinformatics tasks and links represent the dataflow. The complexity of such graph structures is increasing over time, with possible impacts on scientific workflows reuse. In this work, we propose effective methods for workflow design, with a focus on the Taverna model. We argue that one of the contributing factors for the difficulties in reuse is the presence of "anti-patterns", a term broadly used in program design, to indicate the use of idiomatic forms that lead to over-complicated design. The main contribution of this work is a method for automatically detecting such anti-patterns, and replacing them with different patterns which result in a reduction in the workflow's overall structural complexity. Rewriting workflows in this way will be beneficial both in terms of user experience (easier design and maintenance), and in terms of operational efficiency (easier to manage, and sometimes to exploit the latent parallelism amongst the tasks). RESULTS: We have conducted a thorough study of the workflows structures available in Taverna, with the aim of finding out workflow fragments whose structure could be made simpler without altering the workflow semantics. We provide four contributions. Firstly, we identify a set of anti-patterns that contribute to the structural workflow complexity. Secondly, we design a series of refactoring transformations to replace each anti-pattern by a new semantically-equivalent pattern with less redundancy and simplified structure. Thirdly, we introduce a distilling algorithm that takes in a workflow and produces a distilled semantically-equivalent workflow. Lastly, we provide an implementation of our refactoring approach that we evaluate on both the public Taverna workflows and on a private collection of workflows from the BioVel project. CONCLUSION: We have designed and implemented an approach to improving workflow structure by way of rewriting preserving workflow semantics. Future work includes considering our refactoring approach during the phase of workflow design and proposing guidelines for designing distilled workflows.
format Online
Article
Text
id pubmed-4016501
institution National Center for Biotechnology Information
language English
publishDate 2014
publisher BioMed Central
record_format MEDLINE/PubMed
spelling pubmed-40165012014-05-23 Distilling structure in Taverna scientific workflows: a refactoring approach Cohen-Boulakia, Sarah Chen, Jiuqiang Missier, Paolo Goble, Carole Williams, Alan R Froidevaux, Christine BMC Bioinformatics Research BACKGROUND: Scientific workflows management systems are increasingly used to specify and manage bioinformatics experiments. Their programming model appeals to bioinformaticians, who can use them to easily specify complex data processing pipelines. Such a model is underpinned by a graph structure, where nodes represent bioinformatics tasks and links represent the dataflow. The complexity of such graph structures is increasing over time, with possible impacts on scientific workflows reuse. In this work, we propose effective methods for workflow design, with a focus on the Taverna model. We argue that one of the contributing factors for the difficulties in reuse is the presence of "anti-patterns", a term broadly used in program design, to indicate the use of idiomatic forms that lead to over-complicated design. The main contribution of this work is a method for automatically detecting such anti-patterns, and replacing them with different patterns which result in a reduction in the workflow's overall structural complexity. Rewriting workflows in this way will be beneficial both in terms of user experience (easier design and maintenance), and in terms of operational efficiency (easier to manage, and sometimes to exploit the latent parallelism amongst the tasks). RESULTS: We have conducted a thorough study of the workflows structures available in Taverna, with the aim of finding out workflow fragments whose structure could be made simpler without altering the workflow semantics. We provide four contributions. Firstly, we identify a set of anti-patterns that contribute to the structural workflow complexity. Secondly, we design a series of refactoring transformations to replace each anti-pattern by a new semantically-equivalent pattern with less redundancy and simplified structure. Thirdly, we introduce a distilling algorithm that takes in a workflow and produces a distilled semantically-equivalent workflow. Lastly, we provide an implementation of our refactoring approach that we evaluate on both the public Taverna workflows and on a private collection of workflows from the BioVel project. CONCLUSION: We have designed and implemented an approach to improving workflow structure by way of rewriting preserving workflow semantics. Future work includes considering our refactoring approach during the phase of workflow design and proposing guidelines for designing distilled workflows. BioMed Central 2014-01-10 /pmc/articles/PMC4016501/ /pubmed/24564760 http://dx.doi.org/10.1186/1471-2105-15-S1-S12 Text en Copyright © 2014 Cohen-Boulakia et al.; licensee BioMed Central Ltd. http://creativecommons.org/licenses/by/2.0 This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.
spellingShingle Research
Cohen-Boulakia, Sarah
Chen, Jiuqiang
Missier, Paolo
Goble, Carole
Williams, Alan R
Froidevaux, Christine
Distilling structure in Taverna scientific workflows: a refactoring approach
title Distilling structure in Taverna scientific workflows: a refactoring approach
title_full Distilling structure in Taverna scientific workflows: a refactoring approach
title_fullStr Distilling structure in Taverna scientific workflows: a refactoring approach
title_full_unstemmed Distilling structure in Taverna scientific workflows: a refactoring approach
title_short Distilling structure in Taverna scientific workflows: a refactoring approach
title_sort distilling structure in taverna scientific workflows: a refactoring approach
topic Research
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4016501/
https://www.ncbi.nlm.nih.gov/pubmed/24564760
http://dx.doi.org/10.1186/1471-2105-15-S1-S12
work_keys_str_mv AT cohenboulakiasarah distillingstructureintavernascientificworkflowsarefactoringapproach
AT chenjiuqiang distillingstructureintavernascientificworkflowsarefactoringapproach
AT missierpaolo distillingstructureintavernascientificworkflowsarefactoringapproach
AT goblecarole distillingstructureintavernascientificworkflowsarefactoringapproach
AT williamsalanr distillingstructureintavernascientificworkflowsarefactoringapproach
AT froidevauxchristine distillingstructureintavernascientificworkflowsarefactoringapproach