Trees | Indices | Help |
---|
|
|
|||
|
|||
|
|||
|
|||
|
|||
translation table |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Return a translation table for use with complement() and reverse_complement(). Compatible with lower case and upper case sequences. alphabet is a dictionary as implement in Data.IUPACData For internal use only.
|
Returns the full sequence as a python string. Note that Biopython 1.44 and earlier would give a truncated version of repr(my_seq) for str(my_seq). If you are writing code which need to be backwards compatible with old Biopython, you should continue to use my_seq.tostring() rather than str(my_seq) |
Returns the complement sequence. New Seq object. |
Count method, like that of a python string. Return an integer, the number of occurrences of substring argument sub in the (sub)sequence given by [start:end]. Optional arguments start and end are interpreted as in slice notation. sub - a string or another Seq object to look for start - optional integer, slice start end - optional integer, slice end e.g. from Bio.Seq import Seq my_seq = Seq("AAAATGA") print my_seq.count("A") print my_seq.count("ATG") print my_seq.count(Seq("AT")) print my_seq.count("AT", 2, -1) |
Returns the reverse complement sequence. New Seq object. |
Returns the full sequence as a python string. Although not formally deprecated, you are now encouraged to use str(my_seq) instead of my_seq.tostring(). |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Sep 15 09:25:01 2008 | http://epydoc.sourceforge.net |