Package csb :: Package bio :: Package io :: Module wwpdb :: Class SeqResID
[frames] | no frames]

Class SeqResID

source code

object --+    
         |    
   EntryID --+
             |
            SeqResID

Same as a StandardID, but contains an additional underscore between te accession number and the chain identifier.

Nested Classes

Inherited from EntryID: __metaclass__

Instance Methods
str
format(self)
Returns: the identifier in its original format
source code
tuple of str
parse(self, id)
Split id into accession number and chain ID.
source code

Inherited from EntryID: __init__, __str__

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

Static Methods

Inherited from EntryID: create

Class Variables
  __abstractmethods__ = frozenset([])
Properties

Inherited from EntryID: accession, chain, entry_id

Inherited from object: __class__

Method Details

format(self)

source code 
Returns: str
the identifier in its original format
Overrides: EntryID.format
(inherited documentation)

parse(self, id)

source code 

Split id into accession number and chain ID.

Parameters:
  • id - PDB identifier
Returns: tuple of str
(accession, chain)
Raises:
Overrides: EntryID.parse
(inherited documentation)