[Biopython] define circular DNA (?)

Peter Cock p.j.a.cock at googlemail.com
Tue Mar 8 08:45:31 UTC 2011


On Tue, Mar 8, 2011 at 2:42 AM, Peter Cherepanov wrote:
> is there an easy way to define a circular DNA sequence in BioPython?
>
> It would be useful to have something like:
>
> my_seq = Seq('ATGCATGC...ATGC', circular_dna)
>
> am I missing something obvious??
>
> Peter

No, but how would you expect it to act? We've talked
about such an object before... I'd have to go though my
old emails but I recall there being some annoying corner
cases to consider with the slice method (__getitem__).

Peter



More information about the Biopython mailing list