[BioPython] installing biopython

Peter biopython at maubp.freeserve.co.uk
Sat Oct 21 14:39:38 UTC 2006


Thenaturenook1 at aol.com wrote:
>>>> from Bio import Translate
>>>> translator = Translate.umambiguous_dna_by_name["Standard"]
>  
> Traceback (most recent call last):
> File "<pyshell#5>", line  1, in <module>
> translator =  Translate.umambiguous_dna_by_name["Standard"]
> AttributeError: 'module' object  has no attribute 'umambiguous_dna_by_name'
> 
> Can anyone help?

You have a typing error there, uMambiguous rather than uNambiguous. 
Also try dir(Translate) to see what else is on offer.

i.e. Try this:

translator =  Translate.unambiguous_dna_by_name["Standard"]

Peter




More information about the Biopython mailing list