Ann: CoreBio 0.4

2006-09-11 Thread GavinCrooks
Announcing CoreBio 0.4 CoreBio home page: http://code.google.com/p/corebio/ Download: http://corebio.googlecode.com/svn/dist/CoreBio-0.4.1.tar.gz CoreBio is an open source python library for bioinformatics and computational biology, designed to be fast, compact,

Re: Ann: CoreBio 0.4

2006-09-11 Thread GavinCrooks
km wrote: > Hi, > why are u reinventing the wheel when Biopython[1] is already existing ? is > there any specific reason u wanted to develop this CoreBio ? why dont u just > extend the existing BioPython package itself ? > regards, > KM > [1]http://biopython.org > <[EMAIL PROTECTED]> wrote: Biop

Extended slices and indices

2006-09-23 Thread GavinCrooks
The indices method of slice doesn't seem to work quite how I would expect when reversing a sequence. For example : >>> s = '01234' >>> s[::-1] '43210' >>> s[slice(None,None,-1) ] '43210' So a slice with a negative step (and nothing else) reverses the sequence. But what are the corresponding indi

Re: Extended slices and indices

2006-09-23 Thread GavinCrooks
Robert Kern wrote: > I'd say bug in the .indices() method. The meaning of [4:-1:-1] is unavoidable > different than [::-1] since the index -1 points to the last element, not the > imaginary element before the first element. Unfortunately, there *is* no > concrete (start, stop, step) tuple that wil