biopython v1.71.0 Bio.Restriction.Restriction.Ambiguous

Implement methods for enzymes that produce variable overhangs.

Typical example : BstXI -> CCAN_NNNN^NTGG

              The overhang can be any sequence of 4 bases.

Notes:

Blunt enzymes are always defined. Even if their site is GGATCCNNN^_N
Their overhang is always the same : blunt!

Internal use only. Not meant to be instantiated.

Link to this section Summary

Functions

Remove cuts that are outsite of the sequence (PRIVATE)

Test if other enzyme produces compatible ends for enzyme (PRIVATE)

Return a string representing the recognition site and cuttings

Return if recognition sequence and cut may be ambiguous

Return if recognition sequence and cut are defined

Return if recognition sequence is unknown

Link to this section Functions

Remove cuts that are outsite of the sequence (PRIVATE).

For internal use only.

Drop the site that are situated outside the sequence in linear sequence. Modify the index for site in circular sequences.

Test if other enzyme produces compatible ends for enzyme (PRIVATE).

For internal use only.

Test for the compatibility of restriction ending of RE and other.

Return a string representing the recognition site and cuttings.

Return a representation of the site with the cut on the (+) strand represented as ‘^’ and the cut on the (-) strand as ‘_’. ie:

 >>> EcoRI.elucidate()   
 'G^AATT_C'
 >>> KpnI.elucidate()    
 'G_GTAC^C'
 >>> EcoRV.elucidate()   
 'GAT^_ATC'
 >>> SnaI.elucidate()     
 '? GTATAC ?'
 >>>

Return if recognition sequence and cut may be ambiguous.

True if the sequence recognised and cut is ambiguous, i.e. the recognition site is degenerated AND/OR the enzyme cut outside the site.

Related methods:

  • RE.is_defined()
  • RE.is_unknown()

Return if recognition sequence and cut are defined.

True if the sequence recognised and cut is constant, i.e. the recognition site is not degenerated AND the enzyme cut inside the site.

Related methods:

  • RE.is_ambiguous()
  • RE.is_unknown()

Return if recognition sequence is unknown.

True if the sequence is unknown, i.e. the recognition site has not been characterised yet.

Related methods:

  • RE.is_defined()
  • RE.is_ambiguous()