[Biopython-dev] syntax of indices for future Alignment object

Michiel de Hoon mdehoon at c2b2.columbia.edu
Sat Jul 28 02:57:05 UTC 2007


Jan Kosinski wrote:
> Hi,
> 
> Ok, I agree that [A:B][X:Y] syntax is not possible here. [A:B,X:Y] is 
> fine. However, I would recommend not using [A:B:C,X:Y:Z] since it is not 
> clear while the [A:B][X:Y] syntax is clear and sufficient.

Python lists, tuples, and strings support [A:B:C], and Numerical Python 
2D arrays support [A:B:C,X:Y:Z]. I don't see why the Alignment should 
not support this format.

--Michiel.



More information about the Biopython-dev mailing list