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.
Bio.bgzf supports reading and writing BGZF files (Blocked GNU Zip Format), a variant of GZIP with efficient random access, most commonly used as part of the BAM file format and in tabix. This uses Python’s
zlib library internally, and provides a simple interface like Python’s gzip library. Using this the
Bio.SeqIO indexing functions now support BGZF compressed sequence files. See this blog post for more background on BGZF and SeqIO.
The GenBank/EMBL parser will now give a warning on unrecognized feature locations and continue parsing (leaving the feature’s location as None). Previously it would abort with an exception, which was often unhelpful.
Bio.PDB.MMCIFParser is now compiled by default (but is still not available under Jython, PyPy or Python 3).
The SFF parser in
Bio.SeqIO now decodes Roche 454 ‘universal accession number’ 14 character read names, which encode the timestamp of the run, the region the read came from, and the location of the well.
In the Phylo module, the “draw” function for plotting tree objects has become much more flexible, with improved support for matplotlib conventions and new parameters for specifying branch and taxon labels. Writing in the PhyloXML format has been updated to more closely match the output of other programs. A wrapper for the program RAxML has been added under
Bio.Phylo.Applications, alongside the existing wrapper for PhyML.
Additionally there have been other minor bug fixes and more unit tests.
Many thanks to the Biopython developers and community for making this release
possible, especially the following contributors:
- Brandon Invergo
- Eric Talevich
- Jeff Hussmann (first contribution)
- John Comeau (first contribution)
- Kamil Slowikowski (first contribution)
- Kevin Jacobs
- Lenna Peterson (first contribution)
- Matt Fenwick (first contribution)
- Peter Cock
- Paul T. Bathen
- Wibowo Arindrarto