ALL Metrics
-
Views
-
Downloads
Get PDF
Get XML
Cite
Export
Track
Web Tool

wigExplorer, a BioJS component to visualise wig data

[version 1; peer review: 1 approved with reservations, 1 not approved]
PUBLISHED 13 Feb 2014
Author details Author details
OPEN PEER REVIEW
REVIEWER STATUS

This article is included in the Bioinformatics gateway.

This article is included in the EMBL-EBI collection.

This article is included in the BioJS collection.

Abstract

Summary: wigExplorer is a BioJS component whose main purpose is to provide a platform for visualisation of wig-formatted data. Wig files are extensively used by genome browsers such as the UCSC Genome Browser. wigExplorer follows the BioJS standard specification, requiring a simple configuration and installation. wigExplorer provides an easy way to navigate the visible region of the canvas and allows interaction with other components via predefined events.
Availability: http://github.com/biojs/biojs; http://dx.doi.org/10.5281/zenodo.7721

Introduction

Numerous web applications exist for visualisation of biological data. Data can be prepared for visualisation using a variety of formats, one of which is the widely used wiggle (wig) file. A wiggle file contains text that defines either a feature or a data track. The wiggle format was developed by the UCSC genome browser1 and then quickly adopted by other initiatives2,3. Web applications such as genome browsers rely heavily on JavaScript, a popular language for processing and rendering client-side information in a web browser. Despite their widespread use in bioinformatics, biological web applications are usually implemented with no standard reutilisation guidelines in mind, hence BioJS was developed4.

BioJS is an open source JavaScript library of components for the visualisation of biological data on the web. Here we present wigExplorer, a standard, portable BioJS component designed to easily render wig data format files. wigExplorer can be integrated and controlled from other applications. To our knowledge, this is the first modular component to visualise wig data that complies with BioJS standards.

The wigExplorer component

wigExplorer is fully integrated in the BioJS project. It follows the standards set by the BioJS registry5, a centralised repository of BioJS components hosted at the European Bioinformatics Institute (EBI). Having wigExplorer in the BioJS registry is advantageous because it promotes i) easy discoverability for the component, ii) collaborative development with other members of the BioJS community and iii) reutilisation by third party applications. In the BioJS registry, component APIs are exposed, i.e., events and methods are defined and documented so that other BioJS components can interact with each other. By following these conventions, wigExplorer is able to interact with other components on the same web page, enriching the overall experience for the user. The code below shows how to incorporate wigExplorer into a web application. Only three configuration elements are needed: the target HTML element in which the component will be rendered, the background colour of the component, and the file path containing the wig data.

var instance = new Biojs.wigExplorer({
     target: "YourOwnDivId",
     selectionBackgroundColor: ʼ<background-colour>ʼ,
     dataSet: "<path–to–file>"
});

wigExplorer uses D3.js, the data-driven documents JavaScript library6, to generate graphical representations from wig data. D3.js handles the manipulation of the data documents, the reading of wig data as text format and their conversion to an area chart format. To control the visual aspect of the wig data, wigExplorer contains simple controls for zooming and panning.

Application

wigExplorer can be used to visualise genomic data in different ways. An application is shown in Figure 1, depicting single nucleotide polymorphism (SNP) density data from a genomic annotation in the tomato genome. Here chromosome 2 is zoomed in to show the genomic interval contained between position 3M and 47M. The SNP density data contained in the wig data file are presented as bins, where the Y axis indicates the number of SNPs contained in each bin. The screenshot shows a dramatic change in the density of SNPs at the 24M bin mark of the chromosome, suggesting a potential boundary for an introgression segment introduced from a closely related tomato species. Other potential applications of wigExplorer may involve the visualisation of gene expression and alignment data.

7b2ad8bc-e217-4f79-a09c-23d18877b29f_figure1.gif

Figure 1. wigExplorer view of tomato variety Heinz chromosome 2.

The top controls are designed to scroll sideways. Peaks show SNP density of 1kb size bins. A change of SNP density can be observed around the 29M mark, with a slightly greater density of SNPs on the right, indicative of a potential introgression segment from another related species.

We are aware that third party browsers are also using wigExplorer. A screenshot of the TGAC Browser7 is shown in Figure 2 using wigExplorer to depict Myzus spp. scaffold 1 zoomed in between regions 714K and 727K. Here strand-specific RNA-Seq paired-end read coverage is shown as a wig track. The track below shows a closely related annotated species gene set for comparison. This comparison suggests a potential gene extension in both forward and reverse orientation.

7b2ad8bc-e217-4f79-a09c-23d18877b29f_figure2.gif

Figure 2. An example of wigExplorer integration using the TGAC Browser.

The wigExplorer track shows read coverage in Myzus spp. for scaffold 1. Forward and backward strands are depicted in red and blue respectively. Evidence genes from a closely related species are displayed in the track below.

Conclusions

The wigExplorer component provides a platform to visualise biological data in wig format. wigExplorer can be easily integrated with other web components or extended to provide new functionality. We expect this component to be particularly useful for visualisation in a variety of data types such as SNP density, alignments and gene expression. Like any other BioJS component, wigExplorer requires little technical knowledge for its utilisation.

Software availability

Zenodo: wigExplorer, a BioJS component to visualise wig data, doi: 10.5281/zenodo.77218

GitHub: BioJS, http://github.com/biojs/biojs;

Comments on this article Comments (0)

Version 3
VERSION 3 PUBLISHED 13 Feb 2014
Comment
Author details Author details
Competing interests
Grant information
Copyright
Download
 
Export To
metrics
Views Downloads
F1000Research - -
PubMed Central
Data from PMC are received and updated monthly.
- -
Citations
CITE
how to cite this article
Thanki AS, Jimenez RC, Kaithakottil GG et al. wigExplorer, a BioJS component to visualise wig data [version 1; peer review: 1 approved with reservations, 1 not approved]. F1000Research 2014, 3:53 (https://doi.org/10.12688/f1000research.3-53.v1)
NOTE: If applicable, it is important to ensure the information in square brackets after the title is included in all citations of this article.
track
receive updates on this article
Track an article to receive email alerts on any updates to this article.

Open Peer Review

Current Reviewer Status: ?
Key to Reviewer Statuses VIEW
ApprovedThe paper is scientifically sound in its current form and only minor, if any, improvements are suggested
Approved with reservations A number of small changes, sometimes more significant revisions are required to address specific details and improve the papers academic merit.
Not approvedFundamental flaws in the paper seriously undermine the findings and conclusions
Version 1
VERSION 1
PUBLISHED 13 Feb 2014
Views
65
Cite
Reviewer Report 07 Mar 2014
Phil Lord, School of Computing Science, University of Newcastle, Newcastle, UK 
Approved with Reservations
VIEWS 65
I have tried this piece of software and it does appear to do what it says and running the software was not too difficult. The link to the software on Zenodo in the Software Availability section (Zenodo: wigExplorer, a BioJS ... Continue reading
CITE
CITE
HOW TO CITE THIS REPORT
Lord P. Reviewer Report For: wigExplorer, a BioJS component to visualise wig data [version 1; peer review: 1 approved with reservations, 1 not approved]. F1000Research 2014, 3:53 (https://doi.org/10.5256/f1000research.3732.r3697)
NOTE: it is important to ensure the information in square brackets after the title is included in all citations of this article.
  • Author Response 23 May 2014
    Anil Thanki, The Genome Analysis Centre, UK
    23 May 2014
    Author Response
    We would like to thank Phil for taking the time to review the manuscript. 

    Please find below our responses to your comments

    1) The link to the software on Zenodo in the ... Continue reading
COMMENTS ON THIS REPORT
  • Author Response 23 May 2014
    Anil Thanki, The Genome Analysis Centre, UK
    23 May 2014
    Author Response
    We would like to thank Phil for taking the time to review the manuscript. 

    Please find below our responses to your comments

    1) The link to the software on Zenodo in the ... Continue reading
Views
148
Cite
Reviewer Report 25 Feb 2014
Robert Buels, JBrowse, University of California, Berkeley, CA, USA 
Not Approved
VIEWS 148
The manuscript is well written, but it does not accurately describe the software in question.

I installed the software on my machine, and evaluated its behavior under several scenarios that I think would be commonly encountered by people using it. The major ... Continue reading
CITE
CITE
HOW TO CITE THIS REPORT
Buels R. Reviewer Report For: wigExplorer, a BioJS component to visualise wig data [version 1; peer review: 1 approved with reservations, 1 not approved]. F1000Research 2014, 3:53 (https://doi.org/10.5256/f1000research.3732.r3699)
NOTE: it is important to ensure the information in square brackets after the title is included in all citations of this article.
  • Reader Comment 26 Feb 2014
    Anil Thanki, The Genome Analysis Centre, UK
    26 Feb 2014
    Reader Comment
    Hi Robert,

    I thank you for your useful comments, and I fully understand your concerns about the code and the performance of the tool. I have already started working on fixes ... Continue reading
  • Author Response 28 May 2014
    Anil Thanki, The Genome Analysis Centre, UK
    28 May 2014
    Author Response
    Dear Robert
     
    We would like to thank you for taking the time to review the manuscript.
     
    Please find below our responses to your comments.
     
    1) wigExplorer does not provide any useful error messages when ... Continue reading
COMMENTS ON THIS REPORT
  • Reader Comment 26 Feb 2014
    Anil Thanki, The Genome Analysis Centre, UK
    26 Feb 2014
    Reader Comment
    Hi Robert,

    I thank you for your useful comments, and I fully understand your concerns about the code and the performance of the tool. I have already started working on fixes ... Continue reading
  • Author Response 28 May 2014
    Anil Thanki, The Genome Analysis Centre, UK
    28 May 2014
    Author Response
    Dear Robert
     
    We would like to thank you for taking the time to review the manuscript.
     
    Please find below our responses to your comments.
     
    1) wigExplorer does not provide any useful error messages when ... Continue reading

Comments on this article Comments (0)

Version 3
VERSION 3 PUBLISHED 13 Feb 2014
Comment
Alongside their report, reviewers assign a status to the article:
Approved - the paper is scientifically sound in its current form and only minor, if any, improvements are suggested
Approved with reservations - A number of small changes, sometimes more significant revisions are required to address specific details and improve the papers academic merit.
Not approved - fundamental flaws in the paper seriously undermine the findings and conclusions
Sign In
If you've forgotten your password, please enter your email address below and we'll send you instructions on how to reset your password.

The email address should be the one you originally registered with F1000.

Email address not valid, please try again

You registered with F1000 via Google, so we cannot reset your password.

To sign in, please click here.

If you still need help with your Google account password, please click here.

You registered with F1000 via Facebook, so we cannot reset your password.

To sign in, please click here.

If you still need help with your Facebook account password, please click here.

Code not correct, please try again
Email us for further assistance.
Server error, please try again.