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

Jan Kosinski kosa at genesilico.pl
Sat Jul 28 16:53:04 UTC 2007


Hi,

I just do not see what [A:B:C,X:Y:Z] adds to [A:B,X:Y] in case of 
alignments. Ins't [A:B,X:Y] sufficient?

Janek


Michiel de Hoon wrote:
> 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