Trees | Index | Help |
---|
Package Bio :: Package EUtils :: Module Datatypes :: Class DBIds |
|
Store a list of identifiers for a database
This is used as input for the '*_using_dbids' functions.
Constructed with the database name and list of identifier strings.Method Summary | |
---|---|
db, ids | |
does this DBIds equal the other? | |
get an identifier or a subset of the DBIds | |
Iterate over the list of identifiers | |
number of identifers | |
check if this isn't equal to the other DBIds | |
__repr__(self)
| |
DBIds of the identifiers in this set which aren't in the other | |
Get a DBIds containing the item at position i |
Method Details |
---|
__init__(self,
db,
ids)
|
__eq__(self,
other)
|
__getitem__(self,
i)
get an identifier or a subset of the DBIds
|
__iter__(self)Iterate over the list of identifiers |
__len__(self)
number of identifers
|
__ne__(self, other)check if this isn't equal to the other DBIds |
__sub__(self,
other)
DBIds of the identifiers in this set which aren't in the other
|
item(self, i)Get a DBIds containing the item at position i Can't use dbids[i] since that returns only the identifier. This returns a DBIds, which can be used for another request. |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Thu Mar 31 20:15:50 2005 | http://epydoc.sf.net |