- Technical Note
- Open Access
BIFI: a Taverna plugin for a simplified and user-friendly workflow platform
BMC Research Notes volume 7, Article number: 740 (2014)
Heterogeneity in the features, input-output behaviour and user interface for available bioinformatics tools and services is still a bottleneck for both expert and non-expert users. Advancement in providing common interfaces over such tools and services are gaining interest among researchers. However, the lack of (meta-) information about input-output data and parameter prevents to provide automated and standardized solutions, which can assist users in setting the appropriate parameters. These limitations must be resolved especially in the workflow-based solution in order to ease the integration of software.
We report a Taverna Workbench plugin: the XworX BIFI (Beautiful Interfaces for Inputs) implemented as a solution for the aforementioned issues. BIFI provides a Graphical User Interface (GUI) definition language used to layout the user interface and to define parameter options for Taverna workflows. BIFI is also able to submit GUI Definition Files (GDF) directly or discover appropriate instances from a configured repository. In the absence of a GDF, BIFI generates a default interface.
The Taverna Workbench is an open source software providing the ability to combine various services within a workflow. Nevertheless, users can supply input data to the workflow via a simple user interface providing only a text area to enter the input in text form. The workflow may contain meta-information in human readable form such as description text for the port and an example value. However, not all workflow ports are documented so well or have all the required information.
BIFI uses custom user interface components for ports which give users feedback on the parameter data type or structure to be used for service execution and enables client-side data validations. Moreover, BIFI offers user interfaces that allow users to interactively construct workflow views and share them with the community, thus significantly increasing usability of heterogeneous, distributed service consumption.
The growing need for complex in-silico experiments on bioinformatics data leads to applications which are able to provide dynamic interfaces for automated analysis: workflow based software. Workflows are pre-defined series of tasks that are related to each other by the flow of data between them . Workflow based systems are able to use various services deployed either on the local machine or on a remote device. Remote services utilized in Taverna  are usually deployed using SOAP based web services which are characterized by their great interoperability and extensibility, as well as their machine-processable descriptions based on XML . The description of web services in WSDL (Web Service Description Language) format enables the description of the abstract functionality offered by a service to be separated from concrete details of a service description such as “how” and “where” that functionality is offered . This abstraction makes the platform used to deploy the services perfectly independent of the platform utilizing the service. Besides consuming SOAP based web services, Taverna supports Restful, BioMoby  and Soaplab  services. Moreover, it can locally utilize Java code snippets, Beanshell  scripts and R scripts (through RShell ).
The Taverna Workbench is a fully featured, extensible and scalable scientific workflow management system  built by The myGrid Team . It has access to over 3,500 local and remote resources and analysis tools, web and grid services available on start-up .
The current scenario in Taverna
A simple workflow in Taverna consists of one or more Workflow Input Ports (WIP), a processor, itself consisting of input and output ports, executing the actual logic and an output port collecting the resulting analysis data. See Figure 1 for a simple workflow graph.
The creation (design) and the execution of the workflow are two independent steps. After designing a workflow, users specify data for the WIPs, which are then routed to the next processor during the execution time.
WIPs carry no metadata in a computer interpretable form, however, except information about the data dimension. But this information is apparently not sufficient to provide the advanced, self-describing user interfaces, which give a sense of the type and format of the data to be entered for analysis. Figure 2 shows the Taverna dialog for setting input values of WIPs generated for the Example Workflow 1 as supplied as Additional file 1. This dialog provides users only with text areas to enter the input data in text form. This limitation is due partly to a shortage of remote services provided by autonomous third parties around the world having insufficient or non-existent metadata. Examining SOAP based web services, which constitute the majority of remote services listed in Taverna, the metadata are often as simple as data type definitions like ‘string’ which have no information about complex file formats . This shortcoming may make the data type so unpredictable that users should basically execute the service using some data and see what happens. Erroneous results can be expected which could easily lead to disappointment and deter users from using the system .
Enabling resource consumption from various local and remote sources brings great advantage in scalability, but also increases complexity in software development and use. This complexity not only decreases the usability level but also increases training times required to get used to the software.
We aim to provide interfaces that are intelligent enough to support users in entering the right data required by the service and thus improve the system’s trustworthiness and predictability.This was achieved by using a GUI definition language, mapping input ports to pre-installed GUI components and as a result showing a much user-friendly interface for workflow execution setup. See Figures 3 and 4 for an example.
This approach offers a great advantage in generating user interfaces, as we have experienced with R GUI Generator (RGG), a software tool which enables the easy generation of graphical user interfaces for the programming language R by adding a few Extensible Markup Language (XML) tags .
The Galaxy Project  uses a similar approach for local tool integration. But it provides a static description for the tool such as executables, command line syntax, ports, data type and format. However, these description files can only be modified by the server administrator. On the other hand the BIFI approach is a more dynamic, user interface centric approach that complements Taverna Workflow System where users interactively build and exchange information about user interfaces of workflows.
GUI descriptions may include meta information about what kind of data the service is waiting as input or parameter, restrictions and default/example values. A workflow with GDF is therefore perfectly suitable for ready-to-run sample workflow arrangements (see Figure 5). Please see Additional file 2 for the full GDF syntax.
In absence of a GDF instance, we have implemented an algorithm to pick the most appropriate GUI for the port depending on the available meta-information on service descriptions.
We have developed a BIFI plugin in Java 1.6 for the Taverna Workbench 2.4. Due to the diversity of the resources and especially because these resources are usually provided by autonomous third parties, it is hardly possible to implement a solution directly in the resource descriptions. We therefore map input ports to specific, pre-installed GUI-components using the graphical user interface description language we have defined.
A workflow in Taverna may have only one GDF instance in the configured GDF repository. In this system we assume that a workflow – GDF pair represents a tool. The workflow and the user interface definition file are linked together using workflow identifiers. Each workflow created in Taverna is automatically assigned a universally unique identifier (UUID ) which will be kept unique even throughout the modifications.
The Workflow User Interface (WUI) for the workflow will be initiated immediately after the workflow is opened in the Taverna environment. BIFI searches for the appropriate GDF in the configured repository and renders it. In case of absence of a suitable GDF instance, BIFI generates a default WUI and the corresponding description file using algorithms explained later in this paper. After opening the WUI, users may modify the workflow view or change default values for the ports interactively using the BIFI design component (see Figure 6).
Once the modification is complete, it is possible to submit the instance to the installed repositories using the Submit button at the top of the WUI component. If user wants to submit a GDF to the public repository should first login or register. This ensures building a collective experience for better and easier analysis.
To run a workflow using BIFI inputs, users should use the BIFI Run button placed on the top right corner of the WUI component (see Figure 7 for BIFI buttons).
In Taverna each processor has its own input ports. Moreover, workflows should define their own WIPs which again are linked to specific processor input ports. As discussed earlier, users execute a workflow by serving the data to the WIPs which are then routed to the defined processor.
As an example Figure 8 shows a portion of our Example Workflow 1. The upper nodes - ids, idType, compression and format - are WIPs. The former two WIPs serve user data to input ports ids and idType of the processor InputListText_input and the latter two WIPs serve data to the eCompress and eFormat input ports of the processor Download_input.
Different types of services tend to have lots of input ports for configurations, default values and data slots. WIPs enable workflow developers to filter the required ports for successful workflow execution from the rest. As seen in Figure 8, the N3Dconformers, SynchronousSingleRecord and Use3D input ports of the processor Download_input are optional for the service and there are no WIPs defined for them. If workflow developers do not define WIPs for a port, however, users will have no possibility to use them even if they wanted to change some optional properties unless they knowingly add WIPs for it. Thus, WIPs bring one more level of complexity for users without an IT background or workflow design expertise.
Once installed, the BIFI plugin changes this approach and enables all the linkable processor input ports and ignores WIPs while keeping the ability to filter the required ports. Linkable ports are ports having no statically declared value and ports that have no incoming data link from an upstream processor output port. This way, users can use all the linkable ports throughout the workflow without the need for any additional action.
To hide the complexity of non-required ports, BIFI by default shows only the ports for which there is a defined data link from a WIP or the ports, which are configured to be shown in the GDF. This is reasonable because the ports linked to a WIP are presumably important for successful processor execution. Even if not all ports are shown by default, it is always possible to display all the options via the all parameters button in the top right corner of the WUI component (see Figure 7).
Before starting the execution, the BIFI adjusts the workflow and creates missing WIPs on the fly and invokes Taverna Execution Engine.
Algorithm to pick the best user interface component for a port
Our BIFI algorithm enables users to use workflows in an easy and straightforward way even if there is no GUI definition in the configured repository. This is only possible if the data type of ports to be used is predictable and reasonable user interface components for the ports can be programmatically determined.As a proof-of-concept implementation, we provide predictors for two Taverna processors: WSDL and R. Predictor implementations are responsible for providing data types and additional information about processor input ports by examining the processors. Figure 9 shows the flow of automatic user interface generation for a specific input port.
Although enrichment of web service description files with appropriate meta-information about input data is not a common practice, some description files contain such information. However, Taverna completely ignores XSD type information in description files, except base types. We have extended one of the Taverna core modules to extract more information from these files. It is thus only possible to take full advantage of WSDL processor predictors by replacing the original wsdl-generic artifact with the extended version we providea. Figure 10 shows a comparison of user interfaces auto-generated using the Taverna version of the wsdl-generic artifact and the corresponding BIFI version.
Unlike the WSDL processor, the R processor has no description file to parse. But workflow developers may set the following built-in data types for R processor input ports: Logical, Numeric, Integer, String, Logical Vector, Numeric Vector, Integer Vector, String Vector, Text-File. The R predictor uses this information for determining which user interface to use.
Furthermore, BIFI provides the required extension points over service provider interfaces  by which developers can add their own Workflow Port Component (WPC) implementations as well as data type to WPC generator mappings. Given the properties (like simple type restrictions in XSD), generators create appropriate WPC objects to be shown in the workflow user interface.
The XworX BIFI plugin brings great simplicity in the usage of the Taverna Workbench. To demonstrate these advantages, the differences between WSDL and R are highlighted using two workflows.
The first workflow consumes SOAP based web services from NCBI PubChem  and given a list key, prepares a file containing those records in the selected format for download . The second workflow demonstrates usage of an R package for quality control and primary analysis of Illumina Infinium methylation data .
When using Taverna without BIFI, users must enter the workflow inputs for Example Workflow 1 using the pop-up dialog as shown in Figure 2. The same workflow opened with BIFI enabled Taverna will display a user interface as shown in Figure 10. All available input ports are directly accessible through the BIFI generated GUI.
For the Example Workflow 2.2 supplied as Additional file 3, BIFI finds an appropriate GDF in the repository and generates the view rendering the GDF. However, for the Example Workflow 2.1 supplied as Additional file 4, there is no appropriate GDF in the repository. Input data for Workflow 2.1 and Workflow 2.2 has been supplied as Additional file 5. Figure 4 shows the difference between the auto-generated view and the view generated using the GUI definition file prepared and submitted to the repository by the workflow creator.
Despite entering data in the string form via the standard Taverna interface, users can use combo boxes, radio buttons with appropriate options or spinners for integer data types. As a result of all this, users are provided with easy-to-use, user-friendly interfaces.
Each port component has its own properties defining the valid data range. Depending on the implementation of the user interface component, it is possible to give instant feedback to the user about the validity of the input data.
Developers are able to implement their own UIs for mime types and install them in Taverna using flexible interfaces provided by Taverna and BIFI. Default properties for given UIs may be overwritten using the Properties component (see Figure 6). Users also have the possibility to set preferred installed user interfaces for certain mime types using the Preferences window.
Providing intelligent user interfaces ensures that users enjoy easy-to-use software with fewer errors. As a result, users having found that expectations are met will continue using the software environment.
Besides adding more user interface components for different mime types in the future, we plan to add more intelligence to the system to improve the level of automation. Evaluating usage data and inspecting present GDFs in the repository would enable us to infer new information about the mime type to UI component mappings and/or even about the type of the data that should be fed to a certain processor.
Availability and requirements
Project name: The XworX BIFI Plugin for Taverna
Project home page: http://www.xworx.org/#!bifi-plugin/c1tou
Operating system(s): All major platforms, such as Linux, Windows and Mac OS X
Programming language: Java
Other requirements: Taverna 2.4, Java 1.6
Restrictions to use by non-academics: None
Beautiful interfaces for inputs
Workflow user interface
Graphical user interface definition file
Workflow input port
Workflow port component
Web Services Description Language.
Li P, Castrillo JI, Velarde G, Wassink I, Soiland-Reyes S, Owen S, Withers D, Oinn T, Pocock MR, Goble C, Oliver SG, Kell DB: Performing statistical analyses on quantitative data in Taverna workflows: an example using R and maxdBrowse to identify differentially-expressed genes from microarray data. BMC Bioinformatics. 2008, 9: 334-10.1186/1471-2105-9-334.
Hull D, Wolstencroft K, Stevens R, Goble C, Pocock MR, Li P, Oinn T: Taverna: a tool for building and running workflows of services. Nucleic Acids Res. 2006, 34: 729-732. 10.1093/nar/gkl320.
Web Services Activity Statement. [http://www.w3.org/2002/ws/Activity]
Web Services Description Language (WSDL) Version 2.0 Part 1: Core Language.http://www.w3.org/TR/wsdl20/,
Wilkinson MD, Links M: BioMOBY: an open source biological web services proposal. Brief Bioinformatics. 2002, 3: 331-341. 10.1093/bib/3.4.331.
Senger M, Rice P, Oinn T: Soaplab - A Unified Sesame Door To Analysis Tools. All Hands Meeting. 2003
BeanShell - Lightweight Scripting for Java. [http://www.beanshell.org/home.html]
Wassink I, Rauwerda H, Neerincx PB, Vet PE, Breit TM, Leunissen JA, Nijholt A: Using R in Taverna: RShell v1.2. BMC Res Notes. 2009, 2: 138-10.1186/1756-0500-2-138.
myGrid » Home. [http://www.mygrid.org.uk/]
Taverna - open source and domain independent Workflow Management System.http://www.taverna.org.uk/,
Hartmann M: Challenges in Developing User-Adaptive Intelligent User Interfaces. Proceedings of the 17th Workshop on Adaptivity and User Modeling in Interactive Systems at Lernen Wissen Adaptivit (LWA). 2009, 6-11.
Visne I, Dilaveroglu E, Vierlinger K, Lauss M, Yildiz A, Weinhaeusel A, Noehammer C, Leisch F, Kriegner A: RGG: a general GUI Framework for R scripts. BMC Bioinformatics. 2009, 10: 74-10.1186/1471-2105-10-74.
Goecks J, Nekrutenko A, Taylor J, Galaxy Team T: Galaxy: a comprehensive approach for supporting accessible, reproducible, and transparent computational research in the life sciences. Genome Biol. 2010, 11: R86-10.1186/gb-2010-11-8-r86.
Universally Unique IDentifier (UUID).http://www.ietf.org/rfc/rfc4122.txt,
Seacord R, Wrage L: Replaceable Components and the Service Provider Interface. 2002, Pittsburgh, Pennsylvania: Software Engineering Institute, Carnegie Mellon University
The PubChem Project.http://pubchem.ncbi.nlm.nih.gov/,
myExperiment - Workflows - download (Peter Li) [Taverna 2 Workflow].http://www.myexperiment.org/workflows/1435.html,
Mancuso FM, Montfort M, Carreras A, Alibes A, Roma G: HumMeth27QCReport: an R package for quality control and primary analysis of Illumina Infinium methylation data. BMC Res Notes. 2011, 4: 546-10.1186/1756-0500-4-546.
The project is funded by the Austrian Institute of Technology (AIT).
The authors declare that they have no competing interests.
ED and AY architected and developed the core of the plugin. ED, RVP and AK wrote the draft of the manuscript. IV implemented R integration. BG and ES developed user interface components. AW created example workflows and tested the plugin. AK and FR supervised software implementation. CG helped with Taverna integration. FR, RVP and CG revised the manuscript. All the authors have read and approved the manuscript.
Ahmet Yildiz, Erkan Dilaveroglu contributed equally to this work.
Electronic supplementary material
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
About this article
Cite this article
Yildiz, A., Dilaveroglu, E., Visne, I. et al. BIFI: a Taverna plugin for a simplified and user-friendly workflow platform. BMC Res Notes 7, 740 (2014). https://0-doi-org.brum.beds.ac.uk/10.1186/1756-0500-7-740
- Input Port
- Description File
- Mime Type
- Linkable Port
- Graphical User Interface Component