<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10px"><div id="yui_3_16_0_ym19_1_1495501943768_10128">Dear all,<br></div><div id="yui_3_16_0_ym19_1_1495501943768_10129"><br></div><div id="yui_3_16_0_ym19_1_1495501943768_10140">Ten years ago we talked about subclassing Seq objects from a string:</div><div id="yui_3_16_0_ym19_1_1495501943768_10141"><br></div><div id="yui_3_16_0_ym19_1_1495501943768_10016" dir="ltr"><a id="yui_3_16_0_ym19_1_1495501943768_10015" class="enhancr2_bc7c3527-d291-256c-0378-74fbaeccd654" href="http://lists.open-bio.org/pipermail/biopython/2007-August/009867.html">[BioPython] Making the Seq object act more like a string</a><br></div><div id="yui_3_16_0_ym19_1_1495501943768_10208"><br></div><div id="enhancr2_bc7c3527-d291-256c-0378-74fbaeccd654" class="yahoo-link-enhancr-card yahoo-link-enhancr-not-allow-cover ymail-preserve-class ymail-preserve-style" style="max-width:400px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;" data-url="http://lists.open-bio.org/pipermail/biopython/2007-August/009867.html" data-type="yenhancr" data-category="article" data-embed-url="" data-size="medium" dir="ltr" contenteditable="false"> <a id="yui_3_16_0_ym19_1_1495501943768_10032" href="http://lists.open-bio.org/pipermail/biopython/2007-August/009867.html" style="text-decoration:none !important; color: #000 !important" class="yahoo-enhancr-cardlink" target="_blank" rel="noreferrer"> <table id="yui_3_16_0_ym19_1_1495501943768_10031" class="card-wrapper yahoo-compose-table-card" style="max-width:400px;" border="0" cellpadding="0" cellspacing="0"> <tbody id="yui_3_16_0_ym19_1_1495501943768_10030"><tr id="yui_3_16_0_ym19_1_1495501943768_10029"> <td id="yui_3_16_0_ym19_1_1495501943768_10028" width="400"> <table id="yui_3_16_0_ym19_1_1495501943768_10027" class="card-info yahoo-compose-table-card" style="background:#fff;max-width:400px;border:1px solid #e0e4e9;border-bottom:3px solid #000000;" border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody id="yui_3_16_0_ym19_1_1495501943768_10026"><tr id="yui_3_16_0_ym19_1_1495501943768_10025"> <td style="vertical-align:top;padding:16px 0 16px 12px;">  </td> <td id="yui_3_16_0_ym19_1_1495501943768_10024" style="vertical-align:middle;padding:16px 12px;width:99%;"> <h2 id="yui_3_16_0_ym19_1_1495501943768_10023" class="card-title" style="margin:0 0 4px 0;font-size:16px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;word-break:break-word;">[BioPython] Making the Seq object act more like a string</h2>  <div class="card-description" style="font-size:11px;line-height:15px;color:#999;word-break:break-word;"></div> </td> <td class="card-share-container"></td> </tr> </tbody></table> </td> </tr> </tbody></table> </a></div><div id="yui_3_16_0_ym19_1_1495501943768_11861"><br></div><div id="yui_3_16_0_ym19_1_1495501943768_11919"><br></div><div id="yui_3_16_0_ym19_1_1495501943768_11886">Can we move forward?</div><div id="yui_3_16_0_ym19_1_1495501943768_11920" dir="ltr">As the Seq documentation says, a Seq object is <span id="yui_3_16_0_ym19_1_1495501943768_11924">essentially a string with an alphabet.</span></div><div id="yui_3_16_0_ym19_1_1495501943768_13583" dir="ltr"><span id="yui_3_16_0_ym19_1_1495501943768_11924">Then, following the object oriented programming paradigm, Seq objects should inherit from a string object.</span></div><div dir="ltr"><br><span id="yui_3_16_0_ym19_1_1495501943768_11924"></span></div><div id="yui_3_16_0_ym19_1_1495501943768_13623" dir="ltr"><span id="yui_3_16_0_ym19_1_1495501943768_11924">This would help with C extensions that take Seq or string objects as arguments (as both can then be treated as strings).</span></div><div dir="ltr"><br><span id="yui_3_16_0_ym19_1_1495501943768_11924"></span></div><div dir="ltr"><span id="yui_3_16_0_ym19_1_1495501943768_11924">Best,</span></div><div dir="ltr"><span id="yui_3_16_0_ym19_1_1495501943768_11924">-Michiel<br></span></div></div></body></html>