[Biopython-dev] Seq object ungap method

Peter biopython at maubp.freeserve.co.uk
Fri Nov 6 19:00:08 UTC 2009

Hi all,

Something we discussed last year was adding an ungap method
to the Seq object. See for example this thread:


I've (finally) taken the time to actually implement this, and have
posted it on a github branch for comment:


The code includes a selection of examples in the docstring
which double as doctests. You can read this online here:



[At some point we may want to move some of the assorted
private functions in Bio.Alphabet into (private) methods of
the alphabet objects or something... we'll see.]

More information about the Biopython-dev mailing list