Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Deprecating Bio.NBRF in favour of the 'pir' format in Bio.SeqIO

  • Loading branch information...
commit ad465215cf53613556d98c5ad0ef0ee09a06b7c5 1 parent e042449
@peterjc peterjc authored
Showing with 14 additions and 3 deletions.
  1. +10 −3 Bio/NBRF/
  2. +4 −0 DEPRECATED
13 Bio/NBRF/
@@ -2,10 +2,17 @@
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.
-"""Parser for the NBRF/PIR file format.
+"""Parser for the NBRF/PIR file format (DEPRECATED).
+Please use Bio.SeqIO with the "pir" format instead."""
+import warnings
+warnings.warn("Bio.NBRF is deprecated." \
+ + " We hope the new 'pir' format support in Bio.SeqIO will be" \
+ + " suitable for most users. Please get in touch on the " \
+ + " mailing lists if this (or its removal) causes any problems "\
+ + "for you.",
+ DeprecationWarning)
# standard library
import string
@@ -27,6 +27,10 @@ Bio.Saf
Deprecated as of Release 1.48, as it appears to have no users, and relies
on Martel which doesn't work properly with mxTextTools 3.0
+Deprecated as of Release 1.48 in favor of the "pir" format in Bio.SeqIO
Deprecated as of Release 1.48 in favor of the "ig" format in Bio.SeqIO
Please sign in to comment.
Something went wrong with that request. Please try again.