1
2
3
4
5 """DNA utilities for Bio.Restriction (DEPRECATED).
6
7 DNAUtils was written in C and therefore would not be available on Jython etc.
8 It offered three string based functions:
9 - complement, duplicating the functionality of the Seq object
10 - antiparallel, duplicating the functionality of the Seq object and
11 the reverse_complement function in Bio.Seq
12 - check_bases, a very odd validation routine unlikely to be of general use.
13 """
14
15 import warnings
16 warnings.warn("Bio.Restriction.DNAUtils is deprecated, and will be "
17 "removed in a future release of Biopython.")
18 del warnings
19
20
21 from Bio.Seq import reverse_complement as antiparallel
22
23
25 return antiparallel(seq_string)[::-1]
26
27
28 from Bio.Restriction.Restriction import _check_bases as check_bases
29