[Biopython-dev] about the SeqRecord and SeqFeature classes
Jose Blanca
jblanca at btc.upv.es
Thu Sep 25 10:49:34 EDT 2008
Hi:
On Tuesday 23 September 2008 16:37:29 Peter wrote:
> > SeqRecord still doesn't have a __getitem__ method.
>
> What do you think of the __getitem__ method proposed in attachment 942
> on Bug 2507?
> http://bugzilla.open-bio.org/show_bug.cgi?id=2507
I've been looking at the path and is just what I need.
Using a SeqRecord with that __getitem__ method is almost trivial. Attach to
this email inside mySeqRecord.py is a possible implementation. What do you
think?
For the qualities a tuple of ints would do.
For implementing some details new style classes would be better. Are you
planning to move Seq and SeqRecord to the new style?
Best regards,
--
Jose M. Blanca Postigo
Instituto Universitario de Conservacion y
Mejora de la Agrodiversidad Valenciana (COMAV)
Universidad Politecnica de Valencia (UPV)
Edificio CPI (Ciudad Politecnica de la Innovacion), 8E
46022 Valencia (SPAIN)
Tlf.:+34-96-3877000 (ext 88473)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mySeqRecord.py
Type: application/x-python
Size: 10949 bytes
Desc: not available
URL: <http://lists.open-bio.org/pipermail/biopython-dev/attachments/20080925/c7d3ac65/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: seqrecordtest.py
Type: application/x-python
Size: 4587 bytes
Desc: not available
URL: <http://lists.open-bio.org/pipermail/biopython-dev/attachments/20080925/c7d3ac65/attachment-0001.bin>
More information about the Biopython-dev
mailing list