Permalink
Browse files

Remove deprecated SeqUtils reverse function

  • Loading branch information...
1 parent 4804f1b commit 31783119799a6f73ab8adc75d601862d3729bac7 @peterjc peterjc committed Aug 11, 2011
Showing with 3 additions and 20 deletions.
  1. +0 −17 Bio/SeqUtils/__init__.py
  2. +3 −3 DEPRECATED
View
17 Bio/SeqUtils/__init__.py
@@ -22,23 +22,6 @@
######################
# {{{
-def reverse(seq):
- """Reverse the sequence. Works on string sequences (DEPRECATED).
-
- This function is now deprecated, instead use the string's built in slice
- method with a step of minus one:
-
- >>> "ACGGT"[::-1]
- 'TGGCA'
- """
- import warnings
- import Bio
- warnings.warn("Bio.SeqUtils.reverse() is deprecated, use the string's "
- "slice method with a step of minus one instead.",
- Bio.BiopythonDeprecationWarning)
- r = list(seq)
- r.reverse()
- return ''.join(r)
def GC(seq):
"""Calculates G+C content, returns the percentage (float between 0 and 100).
View
6 DEPRECATED
@@ -379,13 +379,13 @@ Function makeTableX and classes ProteinX and MissingTable were deprecated
in Release 1.54, and removed in Release 1.58. These were remnants of the
removed translate function, and no longer served any useful purpose.
-Function 'reverse' in Bio.SeqUtils was deprecated in Release 1.54, instead
-just use the string's slice method with a step of minus one.
+Function 'reverse' in Bio.SeqUtils was deprecated in Release 1.54, and
+removed in Release 1.58. Instead just use the string's slice method with
+a step of minus one.
Funtions GC_Frame, fasta_uniqids, apply_on_multi_fasta, and
quicker_apply_on_multi_fasta were deprecated in Release 1.55 final.
-
Bio.GFF (for accessing a MySQL database created with BioPerl, etc)
=======
The functions 'forward_complement' and 'antiparallel' in Bio.GFF.easy have

0 comments on commit 3178311

Please sign in to comment.