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

DNAContentViewer a BioJS component to visualise GC/AT Content

[version 1; peer review: 2 approved with reservations]
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 BioJS collection.

Abstract

Summary: Compositional GC/AT content of DNA sequences is a useful feature in genome analysis. GC/AT content provides useful information about evolution, structure and function of genomes, giving clues about their biological function and organisation. We have developed DNAContentViewer, a BioJS component for visualisation of compositional GC/AT content in raw sequences. DNAContentViewer has been integrated in the BioJS project as part of the BioJS registry of components. DNAContentViewer requires a simple configuration and installation. Its design allows potential interactions with other components via predefined events.
Availability: http://github.com/biojs/biojs; doi: 10.5281/zenodo.7722.

Keywords

DNA

Introduction

General compositional features of DNA sequences (e.g., GC/AT content) are important to understand the evolution, structure and function of genomes1. Genes are often characterised by having a higher GC content than the rest of the genome. It has also been shown that the length of the coding sequence is directly proportional to a higher GC content2. Stop codons, however, have a bias towards A and T nucleotides and are thus indicative of shorter gene sequences3.

GC content is usually expressed as a percentage value and sometimes as a ratio (GC ratio). The AT and GC content percentages and ratios can be measured in different ways (e.g., simple arithmetic or using a free online AT/GC calculator4).

To calculate the GC content percentage the following formula can be used5:

G+CA+T+G+C×100

The AT content percentage can be calculated in a similar manner:

A+TA+T+G+C×100

The DNAContentViewer component

DNAContentViewer has been developed as a part of the BioJS project6. It is available via GitHub or the BioJS registry7, a centralised repository of BioJS components hosted at the European Bioinformatics Institute (EBI).

DNAContentViewer uses the JavaScript library D3.js8 for generating graphs. It reads the DNA sequence in raw format and plots it as a Scalable Vector Graphics (SVG) object. To our knowledge, this is the first client-side modular BioJS component that visualises GC/AT content directly from a raw sequence.

The way DNAContentViewer works is by calculating GC/AT content for dynamically generated slices of the sequence. This dynamic feature makes it fully scalable, working with sequences of any length. DNAContentViewer represents AT and GC content in separate graphs, allowing toggling of both to show and hide.

DNAContentViewer shows a percentage marker, which can be set on the left (by default), in the middle or on the right side of the graph. To adjust the visual aspect of the DNA content, DNAContentViewer contains simple controls for zooming and panning. DNAContentViewer can interact with other components via events and methods. Both events and methods are demonstrated through the component’s page in the BioJS registry. Following the BioJS standard recommendations, documentation is available giving more details on how to implement the extension of the component via the registry.

The code below shows how to initialize DNAContentViewer with some minimal input. The name given to YourOwnDivId constitutes the component container identifier and file is defined absolute or relative path to the file containing the raw DNA sequence.

var instance = new Biojs.DNAContentViewer({ 
     target: "YourOwnDivId";
     dataSet: "file"
});

Example

An example is shown in Figure 1, depicting GC/AT content from a genomic sequence in scaffold 1 of an assembly of the Chinese Hamster Ovary (CHO) genome. The GC/AT density data calculated from the raw sequence file are presented as bins, where the Y-axis indicates the percentage of GC/AT content for each bin. The overall AT content is higher than the GC content. The 13K region shows a much higher AT content than average. This may be indicative of a stop codon and a poly A tail present in the region. The figure also shows a dramatic change in the GC/AT content in the 23K-32K and 284K regions, showing that in these locations GC/AT content does not sum up to 100% of the total base content. This is indicative of regions that contain unidentified nucleotides (X or N bases) instead of A, T, G or C.

ba62b6d8-b376-49f8-8b62-3481185760d7_figure1.gif

Figure 1. DNAContentViewer view of the Chinese Hamster Ovary (CHO) genome, scaffold 1.

The top controls are designed to scroll sideways and to zoom; radio buttons can be used to set the position of the marker to the left (default), centre or to the right. Checkboxes can be used to toggle the GC/AT graph. Peaks show the GC/AT percentage density of dynamically generated bins. Differences can be observed around the 13K mark, with greater density of AT content, indicative of a stop codon and a poly A tail.

Conclusion

The DNAContentViewer component provides the functionality to visualise GC/AT content of DNA sequences within the BioJS framework. DNAContentViewer can be easily integrated with other BioJS web components or extended to provide new functionality. Like any other BioJS component, DNAContentViewer requires little technical knowledge for its reutilisation.

Software availability

Zenodo: DNAContentViewer: a BioJS component to visualise DNA Content, doi: 10.5281/zenodo.77229.

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

Comments on this article Comments (0)

Version 1
VERSION 1 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, Caim S, Corpas M and Davey RP. DNAContentViewer a BioJS component to visualise GC/AT Content [version 1; peer review: 2 approved with reservations]. F1000Research 2014, 3:54 (https://doi.org/10.12688/f1000research.3-54.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
19
Cite
Reviewer Report 13 May 2014
Matúš Kalaš, Center for Computational Science, University of Bergen, Bergen, Norway 
Approved with Reservations
VIEWS 19
Here, the authors publish the BioJS component DNAContentViewer JavaScript widget for visualizing the GC and AT content of an input DNA sequence. This widget is part of the BioJS community effort which I strongly support.

Article
The title and the abstract are ... Continue reading
CITE
CITE
HOW TO CITE THIS REPORT
Kalaš M. Reviewer Report For: DNAContentViewer a BioJS component to visualise GC/AT Content [version 1; peer review: 2 approved with reservations]. F1000Research 2014, 3:54 (https://doi.org/10.5256/f1000research.3795.r4001)
NOTE: it is important to ensure the information in square brackets after the title is included in all citations of this article.
Views
23
Cite
Reviewer Report 24 Mar 2014
Dan Schwartz, Department of Physiology and Neurobiology, University of Connecticut, Storrs, CT, USA 
Joseph O'Shea, University of Connecticut, Storrs, CT, USA 
Approved with Reservations
VIEWS 23
Thanki et al. describe DNAContentViewer, a component of the BioJS collection aimed at visualizing GC and AT content in a string of nucleotides. While we are wholly supportive of the BioJS project, we have some important concerns with the DNAContentViewer ... Continue reading
CITE
CITE
HOW TO CITE THIS REPORT
Schwartz D and O'Shea J. Reviewer Report For: DNAContentViewer a BioJS component to visualise GC/AT Content [version 1; peer review: 2 approved with reservations]. F1000Research 2014, 3:54 (https://doi.org/10.5256/f1000research.3795.r4051)
NOTE: it is important to ensure the information in square brackets after the title is included in all citations of this article.

Comments on this article Comments (0)

Version 1
VERSION 1 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.