[BioPython] More string methods for the Seq object

Martin MOKREJŠ mmokrejs at ribosome.natur.cuni.cz
Fri Sep 26 16:34:01 UTC 2008


Hi Peter,
  
Peter wrote:
> Dear Biopythoneers,
> 
> On bugzilla I've put forward a couple of suggested string-like methods
> which I would like to add to the Seq object.
> 
> Bug 2351 comment 15 - adding a split method
> http://bugzilla.open-bio.org/show_bug.cgi?id=2351#c15
> Here I have suggested the separator be non-optional (for strings this
> defaults to white space)

  please apologize my ignorance but what is this useful for?


> Bug 2596 - adding strip, rstrip and lstrip
> http://bugzilla.open-bio.org/show_bug.cgi?id=2596
> Here I have suggested these default to stripping gap characters (for
> strings these default to stripping white space)

  Again, what is this useful for? Aren't there checks for quality
of the sequence when one tries to instantiate the object?

M.



More information about the Biopython mailing list