biopython v1.71.0 Bio.Restriction.Restriction.OneCut
Implement the methods for enzymes that cut the DNA only once.
Correspond to ncuts values of 2 in emboss_e.
Internal use only. Not meant to be instantiated.
Link to this section Summary
Functions
Return a generator that moves the cutting position by 1 (PRIVATE)
Return a generator that moves the cutting position by 1 (PRIVATE)
Return a list of the enzyme’s characteristics as tuple
Return if the cutting pattern has one cut
Return if the cutting pattern has two cuts
Link to this section Functions
Return a generator that moves the cutting position by 1 (PRIVATE).
For internal use only.
location is an integer corresponding to the location of the match for the enzyme pattern in the sequence. _modify returns the real place where the enzyme will cut.
Example::
EcoRI pattern : GAATTC
EcoRI will cut after the G.
so in the sequence:
______
GAATACACGGAATTCGA
|
10
dna.finditer(GAATTC, 6) will return 10 as G is the 10th base
EcoRI cut after the G so:
EcoRI._modify(10) -> 11.
if the enzyme cut twice _modify will returns two integer corresponding to each cutting site.
Return a generator that moves the cutting position by 1 (PRIVATE).
For internal use only.
As _modify for site situated on the antiparallel strand when the enzyme is not palindromic
Return a list of the enzyme’s characteristics as tuple.
The tuple contains the attributes:
- fst5 -> first 5’ cut ((current strand) or None
- fst3 -> first 3’ cut (complementary strand) or None
- scd5 -> second 5’ cut (current strand) or None
- scd5 -> second 3’ cut (complementary strand) or None
- site -> recognition site.
Return if the cutting pattern has one cut.
True if the enzyme cut the sequence one time on each strand.
Return if the cutting pattern has two cuts.
True if the enzyme cut the sequence twice on each strand.