[Biopython-dev] [BioPython] about the SeqRecord slicing
Sebastian Bassi
sbassi at clubdelarazon.org
Fri Mar 27 10:17:55 EDT 2009
On Fri, Mar 27, 2009 at 10:57 AM, Peter <biopython at maubp.freeserve.co.uk> wrote:
> How would you make it optional? As an extra non-standard argument
> to __getitem__? e.g.something like my_record[10:50, annotation=False]?
> That seems nasty.
Yes it is nasty this way, I never meant to do it in __getitem__.
Anyway I can't think a nice and intuitive way to do it.
> If we did drop the annotations and dbxrefs when slicing, the user can
> manually choose to explicitly copy them from the parent object if the
> do want them.
Yes, that is OK.
More information about the Biopython-dev
mailing list