Skip to content

Commit

Permalink
Deprecated Bio.Motif as discussed on the mailing list
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjc committed Jul 15, 2013
1 parent 45c28fa commit 74fe3dd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Bio/Motif/__init__.py
Expand Up @@ -2,26 +2,26 @@
# 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.
"""Tools for sequence motif analysis (OBSOLETE, see Bio.motifs instead).
"""Tools for sequence motif analysis (DEPRECATED, see Bio.motifs instead).
This module (Bio.Motif) is now obsolete, and will be deprecated and
removed in a future release of release of Biopython. Please use the
new module Bio.motifs instead.
This module (Bio.Motif) has been deprecated and will be removed in a
future release of release of Biopython. Please use the new module
Bio.motifs instead.
This contains the core Motif class containing various I/O methods as
well as methods for motif comparisons and motif searching in sequences.
It also inlcudes functionality for parsing AlignACE and MEME programs.
"""

import warnings
warnings.warn("The module Bio.Motif is now obsolete, and will be"
"deprecated and removed in a future release of"
"release of Biopython. As a replacement for Bio.Motif,"
"please use the new module Bio.motifs instead. Please"
"be aware that though the functionality of Bio.Motif"
"is retained (and extended) in Bio.motifs, usage may"
from Bio import BiopythonDeprecationWarning
warnings.warn("The module Bio.Motif has been depreacted and will be "
"removed in a future release of Biopython. Instead "
"please use the new module Bio.motifs instead. Please "
"be aware that though the functionality of Bio.Motif "
"is retained (and extended) in Bio.motifs, usage may "
"be different.",
PendingDeprecationWarning)
BiopythonDeprecationWarning)


from Bio.Motif._Motif import Motif
Expand Down
5 changes: 5 additions & 0 deletions DEPRECATED
Expand Up @@ -33,6 +33,11 @@ Bio.SeqFeature
With the introduction of the CompoundLocation in Release 1.62, the SeqFeature
attribute sub_features was deprecated.

Bio.Motif
=========
Declared obsolete with a PendingDeprecationWarning in Release 1.61, formerly
deprecated in Release 1.62. Please use the newer Bio.motifs module instead.

AlignAceCommandline and CompareAceCommandline
=============================================
Deprecated in release 1.62. An up to date version of the software cannot
Expand Down

0 comments on commit 74fe3dd

Please sign in to comment.