[Biopython-dev] [BioPython] about the SeqRecord slicing

Sebastian Bassi sbassi at clubdelarazon.org
Fri Mar 27 13:31:01 UTC 2009


On Fri, Mar 27, 2009 at 7:29 AM, Peter <biopython at maubp.freeserve.co.uk> wrote:
....
> - id/name - debatable.  Currently kept.
> - description - debatable.  Consider a description which says "whole genome",
>  that doesn't really apply to a partial sequence.  On the other hand, it may.
>  Currently kept for the sub-record.

I think is up to the user to keep updated the id/name/descripption
field when slicing a sequence.

.....
> I would be OK with dropping the contents of the annotations dictionary and
> description is order to avoid ambiguity, but this would prevent certain tasks.

Another option is to make this behavior optional (I mean, select to
keep or to drop the annotations, but default I would drop them).



More information about the Biopython-dev mailing list