[Biopython] Where is alphebet of Bio.Seq documented
Peter
biopython at maubp.freeserve.co.uk
Wed Jul 28 06:51:26 EDT 2010
On Wed, Jul 28, 2010 at 5:08 AM, Peng Yu <pengyu.ut at gmail.com> wrote:
> Hi,
>
> Seq class has a member alphabet if I'm correct about the terminology.
> But I don't see it in help(Bio.Seq). Is it documented in python
> help()?
>
> from Bio.Seq import Seq
> my_seq = Seq("AGTACACTGGT")
> print my_seq
> print my_seq.alphabet
Hi Peng,
The main tutorial does explain this, but you are right that the Seq docstrings
should describe the alphabet property/attribute of the Seq objects. It is just
an Alphabet object as defined in the Bio.Alphabet module.
Peter
More information about the Biopython
mailing list