forked from biopython/biopython
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWS
1772 lines (1372 loc) · 71.5 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
News for the Biopython Project
==============================
This file contains release notes and general news about the Biopython project.
See also the DEPRECATED file which tracks the removal of obsolete modules or
functions, and online http://biopython.org/wiki/News and
http://news.open-bio.org/news/category/obf-projects/biopython/
The latest news is at the top of this file.
===================================================================
(In progress, not yet released) Biopython 1.67
Following the convention used elsewhere in Biopython, there is a new function
Bio.KEGG.read(...) for parsing KEGG files expected to contain a single record
only - existing function Bio.KEGG.parse(...) is intended to be used to iterate
over multi-record files.
Many thanks to the Biopython developers and community for making this release
possible, especially the following contributors:
Aaron Rosenfeld (first contribution)
Anders Pitman (first contribution)
Carlos Pena
Eric Talevich
Jacek Śmietański (first contribution)
João Rodrigues
Joe Cora (first contribution)
Matt Ruffalo (first contribution)
Peter Cock
===================================================================
21 October 2015: Biopython 1.66
Further work on the Bio.KEGG and Bio.Graphics modules now allows drawing KGML
pathways with transparency.
The Bio.SeqIO "abi" parser now decodes almost all the documented fields used
by the ABIF instruments - including the individual color channels.
Bio.PDB now has a QCPSuperimposer module using the Quaternion Characteristic
Polynomial algorithm for superimposing structures. This is a fast alternative
to the existing SVDSuperimposer code using singular value decomposition.
Bio.Entrez now implements the NCBI Entrez Citation Matching function
(ECitMatch), which retrieves PubMed IDs (PMIDs) that correspond to a set of
input citation strings.
Bio.Entrez.parse(...) now supports NCBI XML files using XSD schemas, which
will be downloaded and cached like NCBI DTD files.
A subtle bug in how multi-part GenBank/EMBL locations on the reverse strand
were parsed into CompoundLocations was fixed: complement(join(...)) as used
by NCBI worked, but join(complement(...),complement(...),...) as used by
EMBL/ENSEMBL gave the CompoundLocation parts in the wrong order. A related
bug when taking the reverse complement of a SeqRecord containing features
with CompoundLocations was also fixed.
Additionally, a number of small bugs have been fixed with further additions
to the test suite, and there has been further work on conforming to the
Python PEP8 standard coding style.
Many thanks to the Biopython developers and community for making this release
possible, especially the following contributors:
Alan Medlar (first contribution)
Anthony Mathelier (first contribution)
Antony Lee (first contribution)
Anuj Sharma (first contribution)
Ben Fulton (first contribution)
Bertrand Néron (first contribution)
Brandon Invergo
Carlos Pena
Christian Brueffer
Connor T. Skennerton (first contribution)
David Arenillas (first contribution)
David Nicholson (first contribution)
Emmanuel Noutahi (first contribution)
Eric Rasche (first contribution)
Fabio Madeira (first contribution)
Franco Caramia (first contribution)
Gert Hulselmans (first contribution)
Gleb Kuznetsov (first contribution)
João Rodrigues
John Bradley (first contribution)
Kai Blin
Kian Ho (first contribution)
Kozo Nishida (first contribution)
Kuan-Yi Li (first contribution)
Leighton Pritchard
Lucas Sinclair
Michiel de Hoon
Peter Cock
Saket Choudhary
Sunhwan Jo (first contribution)
Tarcisio Fedrizzi (first contribution)
Tiago Antao
Vincent Davis
===================================================================
17 December 2014: Biopython 1.65 released.
The Biopython sequence objects now use string comparison, rather than Python's
object comparison. This has been planned for a long time with warning messages
in place (under Python 2, the warnings were sadly missing under Python 3).
The Bio.KEGG and Bio.Graphics modules have been expanded with support for
the online KEGG REST API, and parsing, representing and drawing KGML pathways.
The Pterobranchia Mitochondrial genetic code has been added to Bio.Data (and
the translation functionality), which is the new NCBI genetic code table 24.
The Bio.SeqIO parser for the ABI capillary file format now exposes all the raw
data in the SeqRecord's annotation as a dictionary. This allows further
in-depth analysis by advanced users.
Bio.SearchIO QueryResult objects now allow Hit retrieval using its alternative
IDs (any IDs listed after the first one, for example as used with the NCBI
BLAST NR database).
We have also done some more work applying PEP8 coding styles to Biopython.
Bio.SeqUtils.MeltingTemp has been rewritten with new functionality.
The new experimental module Bio.CodonAlign has been renamed Bio.codonalign
(and similar lower case PEP8 style module names have been used for the
sub-modules within this).
Bio.SeqIO.index_db(...) and Bio.SearchIO.index_db(...) now store any relative
filenames relative to the index file, rather than (as before) relative to the
current directory at the time the index was built. This makes the indexes
less fragile, so that they can be used from other working directories. NOTE:
This change is backward compatible (old index files work as before), however
relative paths in new indexes will not work on older versions of Biopython!
Biopython also seems to work fine under PyPy3 2.4 which implements Python 3.2
plus unicode string literals.
Many thanks to the Biopython developers and community for making this release
possible, especially the following contributors:
Alan Du (first contribution)
Carlos Pena (first contribution)
Colin Lappala (first contribution)
Christian Brueffer
David Bulger (first contribution)
Eric Talevich
Evan Parker (first contribution)
Hongbo Zhu
Kai Blin
Kevin Wu (first contribution)
Leighton Pritchard
Leszek Pryszcz (first contribution)
Markus Piotrowski
Matt Shirley (first contribution)
Mike Cariaso (first contribution)
Peter Cock
Seth Sims (first contribution)
Tiago Antao
Travis Wrightsman (first contribution)
Tyghe Vallard (first contribution)
Vincent Davis
Wibowo 'Bow' Arindrarto
Zheng Ruan
===================================================================
29 May 2014: Biopython 1.64 released.
This release of Biopython supports Python 2.6 and 2.7, 3.3 and also the
new 3.4 version. It is also tested on PyPy 2.0 to 2.3, and Jython 2.7b2.
The new experimental module Bio.CodonAlign facilitates building codon
alignment and further analysis upon it. This work is from the Google
Summer of Code (GSoC) project by Zheng Ruan.
Bio.Phylo now has tree construction and consensus modules, from the
GSoC work by Yanbo Ye.
Bio.Entrez will now automatically download and cache new NCBI DTD files for
XML parsing under the user's home directory (using ``~/.biopython`` on
Unix like systems, and ``$APPDATA/biopython`` on Windows).
Bio.Sequencing.Applications now includes a wrapper for the samtools command
line tool.
Bio.PopGen.SimCoal now also supports fastsimcoal.
SearchIO hmmer3-text, hmmer3-tab, and hmmer3-domtab now support output from
hmmer3.1b1.
The 'accession' of QueryResult and Hit objects created when using the
'hmmer3-tab' format are now properly named as 'accession' (previously they
were acc, deviating from the documentation).
The `homology` key in the `aln_annotation` attribute of an HSP object in
Bio.SearchIO has been renamed to `similarity`.
The Bio.SeqUtils masses and molecular_weight function have been updated.
BioSQL can now use the mysql-connector package (available for Python 2, 3
and PyPy) as an alternative to MySQLdb (Python 2 only) to connect to a MySQL
database.
Many thanks to the Biopython developers and community for making this release
possible, especially the following contributors:
Chunlei Wu (first contribution)
Edward Liaw (first contribution)
Eric Talevich
Leighton Pritchard
Manlio Calvi (first contribution)
Markus Piotrowski (first contribution)
Melissa Gymrek (first contribution)
Michiel de Hoon
Nigel Delaney
Peter Cock
Saket Choudhary
Tiago Antao
Vincent Davis (first contribution)
Wibowo 'Bow' Arindrarto
Yanbo Ye (first contribution)
Zheng Ruan (first contribution)
===================================================================
4 December 2013: Biopython 1.63 released.
This release supports Python 3.3 onwards without conversion via the 2to3
library. See the Biopython 1.63 beta release notes below for details. Since
the beta release we have made some minor bug fixes and test improvements.
The restriction enzyme list in Bio.Restriction has been updated to the
December 2013 release of REBASE.
Additional contributors since the beta:
Gokcen Eraslan (first contribution)
===================================================================
12 November 2013: Biopython 1.63 beta released.
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).
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:
from __future__ import print_function
Similarly we now use the Python 3 style built-in next function in place of
the Python 2 style iterators' .next() method. This language feature is also
available under Python 2.6 and 2.7.
Many thanks to the Biopython developers and community for making this release
possible, especially the following contributors:
Chris Mitchell (first contribution)
Christian Brueffer
Eric Talevich
Josha Inglis (first contribution)
Konstantin Tretyakov (first contribution)
Lenna Peterson
Martin Mokrejs
Nigel Delaney (first contribution)
Peter Cock
Sergei Lebedev (first contribution)
Tiago Antao
Wayne Decatur (first contribution)
Wibowo 'Bow' Arindrarto
===================================================================
28 August 2013: Biopython 1.62 released.
This is our first release to officially support Python 3, however it is
also our final release supporting Python 2.5. Specifically this release
is supported and tested on standard Python 2.5, 2.6, 2.7 and 3.3.
It was also tested under Jython 2.5, 2.7 and PyPy 1.9, 2.0.
See the Biopython 1.62 beta release notes below for most changes. Since the
beta release we have added several minor bug fixes and test improvements.
Additional contributors since the beta:
Bertrand Néron (first contribution)
Lenna Peterson
Martin Mokrejs
Matsuyuki Shirota (first contribution)
===================================================================
15 July 2013: Biopython 1.62 beta released.
This is a beta release for testing purposes, both for new features added,
and changes to location parsing, but more importantly Biopython 1.62 will
be our first release to officially support Python 3.
Specifically we intend Biopython 1.62 to support standard Python 2.5, 2.6, 2.7
and 3.3, but the release will also be tested under Jython 2.5, 2.7 and PyPy
1.9, 2.0 as well. It will be our final release supporting Python 2.5.
The translation functions will give a warning on any partial codons (and this
will probably become an error in a future release). If you know you are dealing
with partial sequences, either pad with N to extend the sequence length to a
multiple of three, or explicitly trim the sequence.
The handling of joins and related complex features in Genbank/EMBL files has
been changed with the introduction of a CompoundLocation object. Previously
a SeqFeature for something like a multi-exon CDS would have a child SeqFeature
(under the sub_features attribute) for each exon. The sub_features property
will still be populated for now, but is deprecated and will in future be
removed. Please consult the examples in the help (docstrings) and Tutorial.
Thanks to the efforts of Ben Morris, the Phylo module now supports the file
formats NeXML and CDAO. The Newick parser is also significantly faster, and can
now optionally extract bootstrap values from the Newick comment field (like
Molphy and Archaeopteryx do). Nate Sutton added a wrapper for FastTree to
Bio.Phylo.Applications.
New module Bio.UniProt adds parsers for the GAF, GPA and GPI formats from
UniProt-GOA.
The BioSQL module is now supported in Jython. MySQL and PostgreSQL databases
can be used. The relevant JDBC driver should be available in the CLASSPATH.
Feature labels on circular GenomeDiagram figures now support the label_position
argument (start, middle or end) in addition to the current default placement,
and in a change to prior releases these labels are outside the features which
is now consistent with the linear diagrams.
The code for parsing 3D structures in mmCIF files was updated to use the
Python standard library's shlex module instead of C code using flex.
The Bio.Sequencing.Applications module now includes a BWA command line wrapper.
Bio.motifs supports JASPAR format files with multiple position-frequence
matrices.
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:
Alexander Campbell (first contribution)
Andrea Rizzi (first contribution)
Anthony Mathelier (first contribution)
Ben Morris (first contribution)
Brad Chapman
Christian Brueffer
David Arenillas (first contribution)
David Martin (first contribution)
Eric Talevich
Iddo Friedberg
Jian-Long Huang (first contribution)
Joao Rodrigues
Kai Blin
Michiel de Hoon
Nate Sutton (first contribution)
Peter Cock
Petra Kubincová (first contribution)
Phillip Garland
Saket Choudhary (first contribution)
Tiago Antao
Wibowo 'Bow' Arindrarto
Xabier Bello (first contribution)
===================================================================
5 February 2013: Biopython 1.61 released.
GenomeDiagram has three new sigils (shapes to illustrate features). OCTO shows
an octagonal shape, like the existing BOX sigil but with the corners cut off.
JAGGY shows a box with jagged edges at the start and end, intended for things
like NNNNN regions in draft genomes. Finally BIGARROW is like the existing
ARROW sigil but is drawn straddling the axis. This is useful for drawing
vertically compact figures where you do not have overlapping genes.
New module Bio.Graphics.ColorSpiral can generate colors along a spiral path
through HSV color space. This can be used to make arbitrary 'rainbow' scales,
for example to color features or cross-links on a GenomeDiagram figure.
The Bio.SeqIO module now supports reading sequences from PDB files in two
different ways. The "pdb-atom" format determines the sequence as it appears in
the structure based on the atom coordinate section of the file (via Bio.PDB,
so NumPy is currently required for this). Alternatively, you can use the
"pdb-seqres" format to read the complete protein sequence as it is listed in
the PDB header, if available.
The Bio.SeqUtils module how has a seq1 function to turn a sequence using three
letter amino acid codes into one using the more common one letter codes. This
acts as the inverse of the existing seq3 function.
The multiple-sequence-alignment object used by Bio.AlignIO etc now supports
an annotation dictionary. Additional support for per-column annotation is
planned, with addition and splicing to work like that for the SeqRecord
per-letter annotation.
A new warning, Bio.BiopythonExperimentalWarning, has been introduced. This
marks any experimental code included in the otherwise stable release. Such
'beta' level code is ready for wider testing, but still likely to change and
should only be tried by early adopters to give feedback via the biopython-dev
mailing list. We'd expect such experimental code to reach stable status in
one or two releases time, at which point our normal policies about trying to
preserve backwards compatibility would apply. See also the README file.
This release also includes Bow's Google Summer of Code work writing a unified
parsing framework for NCBI BLAST (assorted formats including tabular and XML),
HMMER, BLAT, and other sequence searching tools. This is currently available
with the new BiopythonExperimentalWarning to indicate that this is still
somewhat experimental. We're bundling it with the main release to get more
public feedback, but with the big warning that the API is likely to change.
In fact, even the current name of Bio.SearchIO may change since unless you
are familiar with BioPerl its purpose isn't immediately clear.
The Bio.Motif module has been updated and reorganized. To allow for a clean
deprecation of the old code, the new motif code is stored in a new module
Bio.motifs, and a PendingDeprecationWarning was added to Bio.Motif.
Additionally there have been other minor bug fixes and more unit tests.
Finally, we are phasing out support for Python 2.5. We will continue support
for at least one further release (Biopython 1.62). This could be extended
given feedback from our users (or if the Jython 2.7 release is delayed, since
the current stable release Jython 2.5 implemented Python 2.5 only). Focusing
on Python 2.6 and 2.7 only will make writing Python 3 compatible code easier.
Many thanks to the Biopython developers and community for making this release
possible, especially the following contributors:
Brandon Invergo
Bryan Lunt (first contribution)
Christian Brueffer (first contribution)
David Cain
Eric Talevich
Grace Yeo (first contribution)
Jeffrey Chang
Jingping Li (first contribution)
Kai Blin (first contribution)
Leighton Pritchard
Lenna Peterson
Lucas Sinclair (first contribution)
Michiel de Hoon
Nick Semenkovich (first contribution)
Peter Cock
Robert Ernst (first contribution)
Tiago Antao
Wibowo 'Bow' Arindrarto
===================================================================
25 June 2012: Biopython 1.60 released.
New module 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. 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.
The GenBank/EMBL parser will now give a warning on unrecognised feature
locations and continue parsing (leaving the feature's location as None).
Previously it would abort with an exception, which was often unhelpful.
The 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
===================================================================
24 February 2012: Biopython 1.59 released.
Please note that this release will *not* work on Python 2.4 (while the recent
releases have worked despite us not officially supporting this).
The position objects used in Bio.SeqFeature now act almost like integers,
making dealing with fuzzy locations in EMBL/GenBank files much easier. Note as
part of this work, the arguments to create fuzzy positions OneOfPosition and
WithinPosition have changed in a non-backwards compatible way.
The SeqFeature's strand and any database reference are now properties of the
FeatureLocation object (a more logical placement), with proxy methods for
backwards compatibility. As part of this change, if you print a location
object it will now display any strand and database reference information.
The installation setup.py now supports 'install_requires' when setuptools
is installed. This avoids the manual dialog when installing Biopython via
easy_install or pip and numpy is not installed. It also allows user libraries
that require Biopython to include it in their install_requires and get
automatical installation of dependencies.
Bio.Graphics.BasicChromosome has been extended to allow simple sub-features to
be drawn on chromosome segments, suitable to show the position of genes, SNPs
or other loci. Note Bio.Graphics requires the ReportLab library.
Bio.Graphics.GenomeDiagram has been extended to allow cross-links between
tracks, and track specific start/end positions for showing regions. This can
be used to imitate the output from the Artemis Comparison Tool (ACT).
Also, a new attribute circle_core makes it easier to have an empty space in
the middle of a circular diagram (see tutorial).
Bio.Align.Applications now includes a wrapper for command line tool Clustal
Omega for protein multiple sequence alignment.
Bio.AlignIO now supports sequential PHYLIP files (as well as interlaced
PHYLIP files) as a separate format variant.
New module Bio.TogoWS offers a wrapper for the TogoWS REST API, a web service
based in Japan offering access to KEGG, DDBJ, PDBj, CBRC plus access to some
NCBI, EBI resources including PubMed, GenBank and UniProt. This is much easier
to use than the NCBI Entrez API, but should be especially useful for Biopython
users based in Asia.
Bio.Entrez function efetch has been updated to handle the NCBI's stricter
handling of multiple ID arguments in EFetch 2.0, however the NCBI have also
changed the retmode default argument so you may need to make this explicit.
e.g. retmode="text"
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:
Andreas Wilm (first contribution)
Alessio Papini (first contribution)
Brad Chapman
Brandon Invergo
Connor McCoy
Eric Talevich
João Rodrigues
Konrad Förstner (first contribution)
Michiel de Hoon
Matej Repič (first contribution)
Leighton Pritchard
Peter Cock
===================================================================
18 August 2011: Biopython 1.58 released.
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, http://dx.doi.org/10.1093/bib/bbr025
Bio.SeqIO now includes read support for ABI files ("Sanger" capillary
sequencing trace files, containing called sequence with PHRED qualities).
The Bio.AlignIO "fasta-m10" parser was updated to cope with the >>><<< lines
as used in Bill Pearson's FASTA version 3.36, without this fix the parser
would only return alignments for the first query sequence.
The Bio.AlignIO "phylip" parser and writer now treat a dot/period in the
sequence as an error, in line with the official PHYLIP specification. Older
versions of our code didn't do anything special with this character. Also,
support for "phylip-relaxed" has been added which allows longer record names
as used in RAxML and PHYML.
Of potential interest to anyone subclassing Biopython objects, any remaining
"old style" Python classes have been switched to "new style" classes. This
allows things like defining properties.
Bio.HMM's Viterbi algorithm now expects the initial probabilities explicitly.
Many thanks to the Biopython developers and community for making this release
possible, especially the following contributors:
Aaron Gallagher (first contribution)
Bartek Wilczynski
Bogdan T. (first contribution)
Brandon Invergo (first contribution)
Connor McCoy (first contribution)
David Cain (first contribution)
Eric Talevich
Fábio Madeira (first contribution)
Hongbo Zhu
Joao Rodrigues
Michiel de Hoon
Peter Cock
Thomas Schmitt (first contribution)
Tiago Antao
Walter Gillett
Wibowo Arindrarto (first contribution)
===================================================================
2 April 2011: Biopython 1.57 released.
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 output 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.
The SeqRecord object now has a reverse_complement method (similar to that of
the Seq object). This is most useful to reversing per-letter-annotation (such
as quality scores from FASTQ) or features (such as annotation from GenBank).
Bio.SeqIO.write's QUAL output has been sped up, and Bio.SeqIO.convert now
uses an optimised routine for FASTQ to QUAL making this much faster.
Biopython can now be installed with pip. Thanks to David Koppstein and
James Casbon for reporting the problem.
Bio.SeqIO.write now uses lower case for the sequence for GenBank, EMBL and
IMGT output.
The Bio.PDB module received several fixes and improvements, including starting
to merge João's work from GSoC 2010; consequently Atom objects now know
their element type and IUPAC mass. (The new features that use these
attributes won't be included in Biopython until the next release, though, so
stay tuned.)
The nodetype hierarchy in the Bio.SCOP.Cla.Record class is now a dictionary
(previously it was a list of key,value tuples) to better match the standard.
Many thanks to the Biopython developers and community for making this release
possible, especially the following contributors:
Brad Chapman
Eric Talevich
Erick Matsen (first contribution)
Hongbo Zhu
Jeffrey Finkelstein (first contribution)
Joanna & Dominik Kasprzak (first contribution)
Joao Rodrigues
Kristian Rother
Leighton Pritchard
Michiel de Hoon
Peter Cock
Peter Thorpe (first contribution)
Phillip Garland
Walter Gillett (first contribution)
===================================================================
26 November 2010: Biopython 1.56 released.
This is planned to be our last release to support Python 2.4, however this
could be delayed given immediate feedback from our users (e.g. if this proves
to be a problem in combination with other libraries or a popular Linux
distribution).
Bio.SeqIO can now read and index UniProt XML files (under format name
"uniprot-xml", which was agreed with EMBOSS and BioPerl for when/if they
support it too).
Bio.SeqIO can now read, write and index IMGT files. These are a variant of
the EMBL sequence text file format with longer feature indentation.
Bio.SeqIO now supports protein EMBL files (used in the EMBL patents database
file epo_prt.dat) - previously we only expected nucleotide EMBL files.
The Bio.Seq translation methods and function will now accept an arbitrary
CodonTable object (for those of you working on very unusual organisms).
The SeqFeature object now supports len(feature) giving the length consistent
with the existing extract method. Also, it now supports iteration giving the
coordinate (with respect to the parent sequence) of each letter within the
feature (in frame aware order), and "in" which allows you to check if a
(parent based) coordinate is within the feature location.
Bio.Entrez will now try to download any missing NCBI DTD files and cache them
in the user's home directory.
The provisional database schema for BioSQL support on SQLite which Biopython
has been using since Release 1.53 has now been added to BioSQL, and updated
slightly.
Bio.PopGen.FDist now supports the DFDist command line tool as well as FDist2.
Bio.Motif now has a chapter in the Tutorial.
(At least) 13 people have contributed to this release, including 6 new people:
Andrea Pierleoni (first contribution)
Bart de Koning (first contribution)
Bartek Wilczynski
Bartosz Telenczuk (first contribution)
Cymon Cox
Eric Talevich
Frank Kauff
Michiel de Hoon
Peter Cock
Phillip Garland (first contribution)
Siong Kong (first contribution)
Tiago Antao
Uri Laserson (first contribution)
===================================================================
31 August 2010: Biopython 1.55 released.
See the notes below for the Biopython 1.55 beta release for changes since
Biopython 1.54 was released. Since the beta release we have marked a few
modules as obsolete or deprecated, and removed some deprecated code. There
have also been a few bug fixes, extra unit tests, and documentation
improvements.
(At least) 12 people have contributed to this release, including 6 new people:
Andres Colubri (first contribution)
Carlos Rios Vera (first contribution)
Claude Paroz (first contribution)
Cymon Cox
Eric Talevich
Frank Kauff
Joao Rodrigues (first contribution)
Konstantin Okonechnikov (first contribution)
Michiel de Hoon
Nathan Edwards (first contribution)
Peter Cock
Tiago Antao
===================================================================
18 August 2010: Biopython 1.55 beta released.
This is a beta release for testing purposes, both for new features added,
and more importantly updates to avoid code deprecated in Python 2.7 or in
Python 3. This is an important step towards Python 3 support.
We are phasing out support for Python 2.4. We will continue to support it
for at least one further release (Biopython 1.56). This could be delayed
given feedback from our users (e.g. if this proves to be a problem in
combination with other libraries or a popular Linux distribution).
The SeqRecord object now has upper and lower methods (like the Seq object and
Python strings), which return a new SeqRecord with the sequence in upper or
lower case and a copy of all the annotation unchanged.
Several small issues with Bio.PDB have been resolved, which includes better
handling of model numbers, and files missing the element column.
Feature location parsing for GenBank and EMBL files has been rewritten,
making the parser much faster.
Ace parsing by SeqIO now uses zero rather than None for the quality score of
any gaps (insertions) in the contig sequence.
The BioSQL classes DBServer and BioSeqDatabase now act more like Python
dictionaries, making it easier to count, delete, iterate over, or check for
membership of namespaces and records.
The command line tool application wrapper classes are now executable, so you
can use them to call the tool (using the subprocess module internally) and
capture the output and any error messages as strings (stdout and stderr).
This avoids having to worry about the details of how best to use subprocess.
(At least) 10 people have contributed to this release, including 5 new people:
Andres Colubri (first contribution)
Carlos Rios Vera (first contribution)
Claude Paroz (first contribution)
Eric Talevich
Frank Kauff
Joao Rodrigues (first contribution)
Konstantin Okonechnikov (first contribution)
Michiel de Hoon
Peter Cock
Tiago Antao
===================================================================
May 20, 2010: Biopython 1.54 released.
See the notes below for the Biopython 1.54 beta release for changes since
Biopython 1.53 was released. Since then there have been some changes to
the new Bio.Phylo module, more documentation, and a number of smaller
bug fixes.
===================================================================
April 2, 2010: Biopython 1.54 beta released.
We are phasing out support for Python 2.4. We will continue to support it
for at least two further releases, and at least one year (whichever takes
longer), before dropping support for Python 2.4. This could be delayed
given feedback from our users (e.g. if this proves to be a problem in
combination with other libraries or a popular Linux distribution).
New module Bio.Phylo includes support for reading, writing and working with
phylogenetic trees from Newick, Nexus and phyloXML files. This was work by
Eric Talevich on a Google Summer of Code 2009 project, under The National
Evolutionary Synthesis Center (NESCent), mentored by Brad Chapman and
Christian Zmasek.
Bio.Entrez includes some more DTD files, in particular eLink_090910.dtd,
needed for our NCBI Entrez Utilities XML parser.
The parse, read and write functions in Bio.SeqIO and Bio.AlignIO will now
accept filenames as well as handles. This follows a general shift from
other Python libraries, and does make usage a little simpler. Also
the write functions will now accept a single SeqRecord or alignment.
Bio.SeqIO now supports writing EMBL files (DNA and RNA sequences only).
The dictionary-like objects from Bio.SeqIO.index() now support a get_raw
method for most file formats, giving you the original unparsed data from the
file as a string. This is useful for selecting a subset of records from a
file where Bio.SeqIO.write() does not support the file format (e.g. the
"swiss" format) or where you need to exactly preserve the original layout.
Based on code from Jose Blanca (author of sff_extract), Bio.SeqIO now
supports reading, indexing and writing Standard Flowgram Format (SFF)
files which are used by 454 Life Sciences (Roche) sequencers. This means
you can use SeqIO to convert from SFF to FASTQ, FASTA and QUAL (as
trimmed or untrimmed reads).
An improved multiple sequence alignment object has been introduced,
and is used by Bio.AlignIO for input. This is a little stricter than the
old class but should otherwise be backwards compatible.
(At least) 11 people contributed to this release, including 5 new people:
Anne Pajon (first contribution)
Brad Chapman
Christian Zmasek
Diana Jaunzeikare (first contribution)
Eric Talevich
Jose Blanca (first contribution)
Kevin Jacobs (first contribution)
Leighton Pritchard
Michiel de Hoon
Peter Cock
Thomas Holder (first contribution)
===================================================================
December 15, 2009: Biopython 1.53 released.
Biopython is now using git for source code control, currently on github. Our
old CVS repository will remain on the OBF servers in the short/medium term
as a backup, but will not be updated in future.
The Bio.Blast.Applications wrappers now covers the new NCBI BLAST C++ tools
(where blastall is replaced by blastp, blastn, etc, and the command line
switches have all been renamed). These will be replacing the old wrappers in
Bio.Blast.NCBIStandalone which are now obsolete, and will be deprecated in
our next release.
The plain text BLAST parser has been updated, and should cope with recent
versions of NCBI BLAST, including the new C++ based version. Nevertheless,
we (and the NCBI) still recommend using the XML output for parsing.
The Seq (and related UnknownSeq) objects gained upper and lower methods,
like the string methods of the same name but alphabet aware. The Seq object
also gained a new ungap method for removing gap characters in an alphabet
aware manner.
The SeqFeature object now has an extract method, used with the parent
sequence (as a string or Seq object) to get the region of that sequence
described by the feature's location information (including the strand and
any sub-features for a join). As an example, this is useful to get the
nucleotide sequence for features in GenBank or EMBL files.
SeqRecord objects now support addition, giving a new SeqRecord with the
combined sequence, all the SeqFeatures, and any common annotation.
Bio.Entrez includes the new (Jan 2010) DTD files from the NCBI for parsing
MedLine/PubMed data.
The NCBI codon tables have been updated from version 3.4 to 3.9, which adds
a few extra start codons, and a few new tables (Tables 16, 21, 22 and 23).
Note that Table 14 which used to be called "Flatworm Mitochondrial" is now
called "Alternative Flatworm Mitochondrial", and "Flatworm Mitochondrial" is
now an alias for Table 9 ("Echinoderm Mitochondrial").
The restriction enzyme list in Bio.Restriction has been updated to the
Nov 2009 release of REBASE.
The Bio.PDB parser and output code has been updated to understand the
element column in ATOM and HETATM lines (based on patches contributed by
Hongbo Zhu and Frederik Gwinner). Bio.PDB.PDBList has also been updated
for recent changes to the PDB FTP site (Paul T. Bathen).
SQLite support was added for BioSQL databases (Brad Chapman), allowing access
to BioSQL through a lightweight embedded SQL engine. Python 2.5+ includes
support for SQLite built in, but on Python 2.4 the optional sqlite3 library
must be installed to use this. We currently use a draft BioSQL on SQLite
schema, which will be merged with the main BioSQL release for use in other
projects.
Support for running Biopython under Jython (using the Java Virtual Machine)
has been much improved thanks to input from Kyle Ellrott. Note that Jython
does not support C code - this means NumPy isn't available, and nor are a
selection of Biopython modules (including Bio.Cluster, Bio.PDB and BioSQL).
Also, currently Jython does not parse DTD files, which means the XML parser
in Bio.Entrez won't work. However, most of the Biopython modules seem fine
from testing Jython 2.5.0 and 2.5.1.
(At least) 12 people contributed to this release, including 3 first timers:
Bartek Wilczynski
Brad Chapman
Chris Lasher
Cymon Cox
Frank Kauff
Frederik Gwinner (first contribution)
Hongbo Zhu (first contribution)
Kyle Ellrott
Leighton Pritchard
Michiel de Hoon
Paul Bathen (first contribution)
Peter Cock
===================================================================
September 22, 2009: Biopython 1.52 released.
The Population Genetics module now allows the calculation of several tests,
and statistical estimators via a wrapper to GenePop. Supported are tests for
Hardy-Weinberg equilibrium, linkage disequilibrium and estimates for various
F statistics (Cockerham and Wier Fst and Fis, Robertson and Hill Fis, etc),
null allele frequencies and number of migrants among many others. Isolation
By Distance (IBD) functionality is also supported.
New helper functions Bio.SeqIO.convert() and Bio.AlignIO.convert() allow an
easier way to use Biopython for simple file format conversions. Additionally,
these new functions allow Biopython to offer important file format specific
optimisations (e.g. FASTQ to FASTA, and interconverting FASTQ variants).
New function Bio.SeqIO.index() allows indexing of most sequence file formats
(but not alignment file formats), allowing dictionary like random access to
all the entries in the file as SeqRecord objects, keyed on the record id.
This is especially useful for very large sequencing files, where all the
records cannot be held in memory at once. This supplements the more flexible
but memory demanding Bio.SeqIO.to_dict() function.
Bio.SeqIO can now write "phd" format files (used by PHRED, PHRAD and CONSED),
allowing interconversion with FASTQ files, or FASTA+QUAL files.
Bio.Emboss.Applications now includes wrappers for the "new" PHYLIP EMBASSY
package (e.g. fneighbor) which replace the "old" PHYLIP EMBASSY package (e.g.
eneighbor) whose Biopython wrappers are now obsolete.
See also the DEPRECATED file, as several old deprecated modules have finally
been removed (e.g. Bio.EUtils which had been replaced by Bio.Entrez).
On a technical note, this will be the last release using CVS for source code
control. Biopython is moving from CVS to git.
===================================================================
August 17, 2009: Biopython 1.51 released.
FASTQ support in Bio.SeqIO has been improved, extended and sped up since
Biopython 1.50. Support for Illumina 1.3+ style FASTQ files was added in the
1.51 beta release. Furthermore, we now follow the interpretation agreed on
the OBF mailing lists with EMBOSS, BioPerl, BioJava and BioRuby for inter-
conversion and the valid score range for each FASTQ variant. This means
Solexa FASTQ scores can be from -5 to 62 (format name "fastq-solexa" in
Bio.SeqIO), Illumina 1.3+ FASTQ files have PHRED scores from 0 to 62 (format
name "fastq-illumina"), and Sanger FASTQ files have PHRED scores from 0 to