Documentation

Overview

Alignment view

In the alignment viewer, a user can browse an alignment of any set of uploaded nucleotide sequences (see example: alignment of four sequences). In the alignment, high-similarity regions detected by BLASTn or tBLASTx are color-coded based on the reported %-identity. In addition, dot plots summarizing these high-similarity regions are shown beside the alignment. Automatic position adjustment on the alignment (including adjustment of circular permutation) is implemented for enhancing visualization (e.g., for quick understanding of genomic colinearity). Manual position adjustment can also be applied. For details of genomic alignment view, see this section.

Gene prediction and similarity search

Gene prediction and protein similarity search against GenomeNet nr-aa, a non-redundant protein sequence database merging sequences of RefSeq, SwissProt, TrEMBL, and GenPept, can be performed in parallel with alignment computation. The result can be browsed through the web interface and downloaded as tables. In the alignment view, resulting gene positions and the best hit against nr-aa are used to indicate gene positions and labels.

Resource for computation

The DiGAlign server is a part of the GenomeNet service. The computational time is provided by Supercomputer System of the Institute for Chemical Research, Kyoto University.


Sequence upload

Prepare sequences

From the upload page, a user can upload nucleotide sequences and choose computational options (i.e, type of BLAST, and whether perform gene and function predictions). After validation of the uploaded sequences, a new session will be created and computation begins.

Current limitation for the number of sequences and ID constraints are listed below.

  • Input FASTA should include genomic nucleotide sequences (up to 300 sequences).
  • Two or more sequences should be uploaded. When only two sequences are uploaded, tree is not generated.
  • Each sequence should be no longer than 20 million nucleotides and no shorter than 100 nucleotides.
  • Sequence IDs are recommended to be within 30 characters. If longer than that, the first 30 characters will be used.
  • Alphabets, digits, and special characters (dots, hyphens, and underscores) can be used as sequence ID. The other characters will be replaced with underscores.
  • If sequence ID begins or ends with the special characters, the special characters will be removed.
  • If you want to upload and compare multi-contig genomes, try ReCCO (beta version) to rearrange and concatenate the contigs.

Gene information

There is options for gene finding: (1) use Prodigal to predict genes, (2) upload pre-defined BED-like formatted gene position table, and (3) without gene information.

If prodigal is used for gene prediction, coding table can be selected. An important note is that .....

When users would like to use their predefined gene information, a gene table can be uploaded. The table should be tab-separated, expanded BED-like format composed of columns as follows.

  1. genome sequence ID
  2. starting position of gene (0-based position)
  3. stopping position of gene
  4. gene ID (acceptable characters: digits, alphabets, dots, hyphens, and underscores)
  5. anything (not used by DiGAlign)
  6. strand (+/-)
  7. (optional) description label used in alignment viewer. If this is not given, GHOSTX result is used (default behavior).
  8. (optional) color name/code used in alignment viewer. If this is not given, default color is assigned.

Be careful for the 2nd column. If a gene starts from the first nucleotide, the value should be 0 (not 1), while the 3rd column does not have to be changed: if a gene stops at the 90th nucleotide, the value should be 90.

Gene function prediction

DiGAlign can perform similarity search against GenomeNet nr-aa, a non-redundant protein sequence database merging sequences of RefSeq, SwissProt, TrEMBL, and GenPept, using GHOSTX (evalue cutoff: 0.1).

It will take a relatively long time to other computation performed by DiGAlign. Users can skip this process.

If the similarity search was performed, users can browse the resulting table (Example).

The top hits can be browsed, up to 100 hits, if exist. The GenomeNet nr-aa database is currently weekly updated by GenomeNet. The details of hit sequences can be browsed using a hyperlink.

Computation steps

Computation steps include BLAST execution, distance matrix generation, tree generation, gene finding, and gene similarity search. Clicking the submit button on the upload page makes redirection to a calculation progress reporting page like this. The page will be automatically reloaded to announce the progress under calculation. When all the calculation steps on the upload are finished, a "session" is activated. At that time, a notification email is sent to the uploaded address. The user is able to start browsing all the results from the session main page that is announced in the progress page and the email. An example of the session main page is shown (Example).

Computation time will depend on various factors. Generally, the sum of length of uploaded sequences is one factor. This is because the sequence length affects the computation time for the BLAST search. Note that gene similarity search by GHOSTX against GenomeNet nr-aa requires a relatively long computational time. We tested various input sequences with various options, and in most cases, calculations were finished from minutes to a couple of hours (except when the computater system is fully occupied).


Browsing session

The session main page is a portal for investigation of the results (Example). On the left of the screen (or on the top when the screen width is short), basic information of the session is listed. On the right of the screen (or on the top when the screen width is short), menu for all the viewer and file download are provided.

Contents of the basic information

  • Uploaded sequences
  • Selected options(type of BLAST, gene prediction, genetic code, function prediction)
  • Time of data uploaded and calculation finished.
  • Session ID and DiGAlign release by which the session is generated

Note about update recommendation

  • If DiGAlign is updated after the session creation, session might not work properly. The new version may include a new feature that is not compatible with the session, which is built in the older version.

Contents of the menu

  • Browse alignment and tree
  • Browse table (gene similarity search)
  • Download files (zip file containing blast outputs, gene prediction, and gene similarity search, or all of them)

Genomic alignment

The page of the alignment view contains (1) panel for configuration/download and (2) the alignment view.

In the alignment view, a user can browse an alignment including genomes uploaded by the user. The alignment view visualizes homologous regions between genomes detected by BLASTn or tBLASTx (E-value < 1e-2). An example of the genomic alignment view is shown here.

Caution: Microsoft Internet Explorer may take a long time to visualize genomic alignments. Please use other browsers, such as Google Chrome (recommented), Edge, Firefox, Safari, etc.

This view also provides pairwise dot plots of sequences included in the alignment. A color bar on the upper left of the alignment represents %-identity shown in the alignment and dot plots. This bar can be enlarged/shrinked by scrolling mouse wheel on the bar.

Panel for configuration/download

A panel for configuration/download is shown above of the alignment image. The panel contains three navigation tabs: "Basic parameters", "Customize sequences", and "Download". These tabs provide versatile functions for publication-ready visualization of the alignment.


"Basic parameters" tab provides parameters related to genome positioning, gene labels, size adjustment, etc.

    • positioning of sequence (auto/as is/reset)—switch for auto adjustment of alignment position for clear representation of sequence collinearity (i.e., circular permutation, reverse orientation, and shift of the start position)
    • gene labels (shown/not shown)—switch for gene labels shown over arrows representing genes
    • gene labels angle—Gene labels can be rotated.
    • gene pop-up (shown/not shown)—switch for pop-up listing gene information
    • BLAST %-identity interval (default/customize)—%-identity corresponding to the alignment colors can be customized by inputting comma-separated multiple values (0 to 100; decimal point is accepted).
    • BLAST pop-up (shown/not shown)—switch for pop-up listing BLAST information
    • BLAST %-identity colors (default/rainbow/iridescent/monochromed/customize)—the figure can be monochromed or alignment colors can be customized by inputting one color (used as seed) or comma-separated multiple colors (all colors specified). If one color is specified, gradation from the given color to white is generated. When more than 10 intervals are given in "%-identity interval" section, "rainbow colors" will be used as default.
    • BLAST visualization (normal/position emphasized)—"Position emphasized" is purposed to check exact positions of BLAST hits.
    • ticks of genomes / vertical dashed lines (shown/not shown)—ticks and vertical dashed lines interval for each sequence
    • BLAST %identity / score / length threshold—thresholds for visualization of BLAST result
    • scale of sequences—parameter for enlargement/shrinkage of displayed sequences
    • interval between sequences—vertical space length between sequences
    • scale of vertical dashed lines—scale for vertical dashed lines
    • interval of dotplot grid—grid interval in dot plots
    • font family, base font size and font weight—parameters for the font setting

"Customize sequences" tab provides a table to add/alternate/delete sequences that are included in the alignment and reorder of sequences. Each genome in the alignment can be manually/automatically repositioned by circular permutation, reverse stranded and shift of start position.


"Download" tab provides a download link of a represented alignment image in the SVG format.


Guide tree

The page of the tree view contains (1) a guide tree and (2) a panel for configuration/download.

Guide tree

The guide tree is shown on the right of the screen (or on the bottom when the screen width is short). A user can select one from two types of tree view: "circular view" and "rectangular view". The circular view is designed for a comprehensive visualization of the tree, especially considering the case of hundreds of sequences. On the other hand, the rectangular (i.e., linear) view is suitable for browsing detailed information. When the number of sequences is small enough, the rectangular view could be comprehensive.

In the rectangular view, each of inner nodes represented by filled circles is linked to an alignment of genomes that are included in its subtree. Such inner node hyperlink can be shown in the circular view by a parameter "show link to alignment" inside the configuration panel. This panel provides various functions for configuration of a tree as well as image/data download. For details of the panel, see this section.


Note about the appearance of the tree

  • The tree construction algorithm follows that of ViPTree. Namely, a BIONJ tree is generated based on genomic similarity score (SG), which is computed for each pair of sequences based on the BLAST result (please visit ViPTree documentation for more information). The scale of the tree indicates SG.
  • The tree is intended to facilitate the identification of closely related sequences. Alternative methods, such as phylogenetic analysis of a conserved gene, may be more suitable to determine the evolutionary relationships between the sequences.
  • Since DiGAlign generates a rooted tree using "midpoint rooting", the location of the root is operationally determined and may not reflect the directonality of evolution within the tree.

Panel for configuration / download

A panel for configuration / download is also shown on the left (or on the top when the screen width is short) of the guide tree. This panel provides a switch between the circular view and the rectangular view by using "Circular tree" tab and "Rectangular tree" tab on the top of the panel and by clicking the "redraw tree" button. "Download" tab provides download links for the visualization and tree files.

This panel also provides many visualization parameters for a guide tree.


"Circular tree" tab and "Rectangular tree" tab provide functions listed below.

  • branch length scaling (log/linear/non-scaled)—Representation of branch length scaling can be changed.
  • show link to alignment (shown/not shown)—Links to a genomic alignment are shown or hidden.
  • show labels of genomes (shown/not shown)—Labels of each sequence can be shown and hidden.
  • tree radius and space for labels—Size of tree drawing and space for label descriptions.
  • base font size, font family, and font weight—Parameters for font settings.

"Download" tab provides three download links listed below.

  • A Newick formatted file of the guide tree (calculated by BIONJ based on genomic distance matrix)
  • An image file of current tree view (SVG format)

After the download of the SVG file, SVG formatted images can be edited and/or converted to other formats (e.g., PDF, PNG and TIFF), by software such as Adobe Illustrator and Inkscape, which is freely available for Windows, macOS, and Linux PC.


Licensing

All data and download files in DiGAlign are freely available under a 'Creative Commons BY-NC-SA 4.0' license.

  • When using the data and images, please provide appropriate credit, provide a link to the license, and indicate if changes were made.
  • Do not use the material for commercial purposes.
  • If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.