Biopython 1.63 released

Source distributions and Windows installers for Biopython 1.63 are now available from the downloads page on the official Biopython website and ( soon) from the Python Package Index (PyPI).

The current version removed the requirement of the 2to3 library. This was made possible by dropping Python 2.5 (and Jython 2.5).

This release of Biopython supports Python 2.6 and 2.7, and also Python 3.3.

The Biopython Tutorial & Cookbook, and the docstring examples in the source code, now use the Python 3 style print function in place of the Python 2 style print statement. This language feature is available under Python 2.6 and 2.7 via:

[Read More]

Biopython 1.63 beta released

Source distributions and Windows installers for Biopython 1.63 beta are now available from the downloads page on the official Biopython website.

This is a beta release for testing purposes, the main reason for a beta version is the large amount of changes imposed by the removal of the 2to3 library previously required for the support of Python 3.X. This was made possible by dropping Python 2.5 (and Jython 2.5).

[Read More]

Biopython 1.62 released

Source distributions and Windows installers for Biopython 1.62 are now available from the downloads page on the official Biopython website and ( soon) from the Python Package Index (PyPI).

Python support

This is our first release of Biopython which officially supports Python 3. Specifically, this is supported under Python 3.3. Older versions of Python 3 may still work albeit with some issues, but are not supported.

We still fully support Python 2.5, 2.6, and 2.7. Support under Jython is available for versions 2.5 and 2.7 and under PyPy for versions 1.9 and 2.0. However, unlike CPython, Jython and PyPy support is partial: NumPy and our C extensions are not covered.

[Read More]

Biopython 1.61 released

Source distributions and Windows installers for Biopython 1.61 are now available from the downloads page on the Biopython website and from the Python Package Index (PyPI).

The updated Biopython Tutorial and Cookbook is online ( PDF).

Platforms/Deployment

We currently support Python 2.5, 2.6 and 2.7 and also test under Python 3.1, 3.2 and 3.3 (including modules using NumPy), and Jython 2.5 and PyPy 1.9 (Jython and PyPy do not cover NumPy or our C extensions). We are still encouraging early adopters to help test on these platforms, and have included a ‘beta’ installer for Python 3.2 (and Python 3.3 to follow soon) under 32-bit Windows.

[Read More]

Biopython 1.60 released

Source distributions and Windows installers for Biopython 1.60 are now available from the downloads page on the Biopython website and from the Python Package Index (PyPI).

Platforms/Deployment

We currently support Python 2.5, 2.6 and 2.7 and also test under Jython 2.5 and PyPy 1.9 (which does not cover NumPy or our C extensions). Please note that Python 2.4 or earlier is not supported.

Most functionality is also working under Python 3.1 and 3.2 (including modules using NumPy). We are now encouraging early adopters to help beta testing on these platforms, and have included a ‘beta’ installer for Python 3.2 under 32-bit Windows.

[Read More]

Cross-links in GenomeDiagram

I’ve just finished writing up an example for the Biopython Tutorial of the new GenomeDiagram functionality added in Biopython 1.59. You can now control the start and end points of individual tracks, and you can add cross-links between regions of different tracks, as shown here:

GenomeDiagram with cross-links between tracks

This example attempts a simplified reproduction of Figure 6 in Proux et al. (2002), and shows three related phage genomes one above the other. Different classes of genes have been given different colors, while the strength of the red shaded cross-links indicates the percentage identity of the linked genes. Note there are some minor differences in the GenBank annotation we’ve used and the genes shown in the original figure.

[Read More]

Biopython 1.59 released

Source distributions and Windows installers for Biopython 1.59 are now available from the downloads page on the Biopython website and from the Python Package Index (PyPI).

Platforms/Deployment

We currently support Python 2.5, 2.6 and 2.7 and also test under Jython 2.5 (which does not cover NumPy). Please note that this release will not work on Python 2.4

Most functionality is also working under Python 3.1 and 3.2 (including modules using NumPy), and under PyPy (excluding our NumPy dependencies). We are now encouraging early adopters to help beta testing on these platforms.

[Read More]

Chromosome Diagrams in Biopython

One of the new things coming in Biopython 1.59 is improved chromosome diagrams, something you may have seen via Twitter. I’ve just been updating the Biopython Tutorial (current version here, PDF) to include an example drawing this:

tRNA genes in Arabidopsis thaliana

Here’s a PDF version too. This example just parses the Arabidopsis thaliana GenBank files to get the chromosome lengths and the tRNA gene placements. There are so many tRNA on the forward strand of Chr I that their labels are forced to overlap. Here the figure just uses a different color for each chromosome, but you can color each feature individually.

[Read More]

Biopython 1.58 released

Source distributions and Windows installers for Biopython 1.58 are available from the downloads page on the Biopython website and from the Python Package Index (PyPI).

A new interface and parsers for the PAML (Phylogenetic Analysis by Maximum Likelihood) package of programs, supporting codeml, baseml and yn00 as well as a Python re-implementation of chi2 was added as the Bio.Phylo.PAML module.

Bio.SeqIO now includes read and write support for the SeqXML, a simple XML format offering basic annotation support. See Schmitt et al (2011) in Briefings in Bioinformatics.

[Read More]

Biopython 1.57 released

The Biopython community is pleased to announce the release of Biopython 1.57. Source distributions and Windows installers are available from the downloads page on the Biopython website and from the Python Package Index.

Bio.SeqIO now includes an index_db() function which extends the existing indexing functionality to allow indexing many files, and more importantly this keeps the index on disk in a simple SQLite3 database rather than in memory in a Python dictionary.

Bio.Blast.Applications now includes a wrapper for the BLAST+ blast_formatter tool from NCBI BLAST 2.2.24+ or later. This release of BLAST+ added the ability to run the BLAST tools and save the output as ASN.1 format, and then convert this to any other supported BLAST ouput format (plain text, tabular, XML, or HTML) with the blast_formatter tool. The wrappers were also updated to include new arguments added in BLAST 2.2.25+ such as -db_hard_mask.

[Read More]