Trees | Indices | Help |
---|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
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). |
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 MutableSeq my_mseq = MutableSeq("AAAATGA") print my_mseq.count("A") print my_mseq.count("ATG") print my_mseq.count(Seq("AT")) print my_mseq.count("AT", 2, -1) |
Modify the MutableSequence to reverse itself. No return value |
Modify the MutableSequence to take on its complement. No return value |
Modify the MutableSequence to take on its reverse complement. No return value |
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:26:38 2008 | http://epydoc.sourceforge.net |