Castresana Lab
Animal Biodiversity and Evolution Program
Institut de Biologia Evolutiva (CSIC-UPF)
Home | People | Research | Publications
Gblocks

Selection of conserved blocks from multiple alignments for their use in phylogenetic analysis
About Gblocks

Version 0.91b, January 2002

Copyright © Jose Castresana

Gblocks is a computer program written in ANSI C language that eliminates poorly aligned positions and divergent regions of an alignment of DNA or protein sequences. These positions may not be homologous or may have been saturated by multiple substitutions and it is convenient to eliminate them prior to phylogenetic analysis. Gblocks selects blocks in a similar way as it is usually done by hand but following a reproducible set of conditions. The selected blocks must fulfill certain requirements with respect to the lack of large segments of contiguous nonconserved positions, lack of gap positions and high conservation of flanking positions, making the final alignment more suitable for phylogenetic analysis. Gblocks outputs several files to visualize the selected blocks. The use of a program such as Gblocks reduces the necessity of manually editing multiple alignments, makes the automation of phylogenetic analysis of large data sets feasible and, finally, facilitates the reproduction of the alignments and subsequent phylogenetic analysis by other researchers. Gblocks is very fast in processing alignments and it is therefore highly suitable for large-scale phylogenetic analyses.

Several parameters can be modified to make the selection of blocks more or less stringent. In general, a relaxed selection of blocks is better for short alignments, whereas a stringent selection is more adequate for longer ones. Be aware that the default options of Gblocks are stringent.
  • Talavera, G., and Castresana, J. (2007). Improvement of phylogenies after removing divergent and ambiguously aligned blocks from protein sequence alignments. Systematic Biology 56, 564-577.
    [abstract] [pdf]
  • Castresana, J. (2000). Selection of conserved blocks from multiple alignments for their use in phylogenetic analysis. Molecular Biology and Evolution 17, 540-552.
    [abstract] [pdf]


Gblocks Download

Gblocks is available for the following operating systems:

 Mac OS X / Universal  Gblocks_OSX_0.91b.tar.Z
 Windows  Gblocks_Windows_0.91b.zip
 Linux / x86  Gblocks_Linux_0.91b.tar.Z
 Linux 64  Gblocks_Linux_0.91b.tar.Z
 UNIX OSF1 / Alpha  Gblocks_OSF1_0.91b.tar.Z
 UNIX IRIX64 / SGI  Gblocks_IRIX64_0.91b.tar.Z
 UNIX SunOS / SPARC  Gblocks_SunOS_0.91b.tar.Z

Gblocks is also available in a Gblocks Server

Online Documentation


The software and its accompanying documentation are provided as is, without guarantee of support or maintenance.


Institut de Biologia Evolutiva (CSIC-UPF)
Passeig Marítim de la Barceloneta 37, 08003 Barcelona, Spain