slicing functionality for strings / Python suitability for bioinformatics

Sebastian Bassi sbassi at gmail.com
Tue Sep 20 04:57:24 CEST 2005


On 19 Sep 2005 12:25:16 -0700, jbperez808 at yahoo.com
<jbperez808 at yahoo.com> wrote:
> >>> rs='AUGCUAGACGUGGAGUAG'
> >>> rs[12:15]='GAG'
> Traceback (most recent call last):
>   File "<pyshell#119>", line 1, in ?
>     rs[12:15]='GAG'
> TypeError: object doesn't support slice assignment

You should try Biopython (www.biopython.org). There is a sequence
method you could try.





-- 
<a href="http://www.spreadfirefox.com/?q=affiliates&id=24672&t=1">La
web sin popups ni spyware: Usa Firefox en lugar de Internet
Explorer</a>



More information about the Python-list mailing list