| Trees | Indices | Help |
|---|
|
|
ParserSupport.AbstractConsumer --+
|
_BaseGenBankConsumer
Abstract GenBank consumer providing useful general functions.
This just helps to eliminate some duplication in things that most GenBank consumers want to do.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
remove_space_keys =
|
|||
|
|||
Clean whitespace out of a location string. The location parser isn't a fan of whitespace, so we clean it out before feeding it into the parser. |
Convert a start and end range to python notation. In GenBank, starts and ends are defined in "biological" coordinates, where 1 is the first base and [i, j] means to include both i and j. In python, 0 is the first base and [i, j] means to include i, but not j. So, to convert "biological" to python coordinates, we need to subtract 1 from the start, and leave the end and things should be converted happily. |
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Sun May 3 17:14:19 2009 | http://epydoc.sourceforge.net |