Skip to content

HTTPS clone URL

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/__init__.py
  2. +4 −0 DEPRECATED
View
13 Bio/NBRF/__init__.py
@@ -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).
-http://www.psc.edu/general/software/packages/seq-intro/nbrffile.html
-"""
+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
View
4 DEPRECATED
@@ -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
+Bio.NBRF
+========
+Deprecated as of Release 1.48 in favor of the "pir" format in Bio.SeqIO
+
Bio.IntelliGenetics
===================
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.