Package Bio :: Package EUtils :: Module Datatypes :: Class LinkSetDb
[hide private]
[frames] | no frames]

Class LinkSetDb

source code

object --+
         |
        LinkSetDb

Used in eLink with cmd == neighbor

Attributes are:
  dbto -- the links are TO this database name
  linkname -- the name for this set (eg, "pubmed_protein")
  links -- list of Links, one per matching record (includes score)
     List order is the sames as the XML, which is ordered from
     most likely to least.  The identifer is from 'dbto'
  info -- ignored; this is only used as a warning when there is
     an empty list

You can also use
  dbids -- get a DBIds of dbto and the identifiers in each Link

Instance Methods [hide private]
 
__init__(self, dbto, linkname, links=None, info=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_get_dbids(self) source code
 
__eq__(self, other) source code
 
__ne__(self, other) source code
 
__repr__(self)
repr(x)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  dbids

Inherited from object: __class__

Method Details [hide private]

__init__(self, dbto, linkname, links=None, info=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Property Details [hide private]

dbids

Get Method:
_get_dbids(self)